MCP server · Audited from source
Anki MCP server
by nietus/anki-mcpMIT licenceAudited 8 Oct 2026 · source e42d94ee2f18
Is it safe? With care — CAUTION, grade B (89/100). It exposes 41 tools: 21 read, 17 write and 3 destructive. The audit recorded 6 findings (0 critical, 0 high, 3 medium, 2 low). Maintainer's description: MCP server for Anki: get quizzed, track retention, find leeches and manage your flashcards from Claude and other MCP clients (via AnkiConnect)
Cite
Cite this page
ModelsAtlas. “Anki MCP server (nietus/anki-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/nietus/anki-8
5 MCP servers are called Anki. You are viewing nietus/anki-mcp. Compare all 5 →
- ankimcp/anki-mcp-server Org-owned★ 499!CAUTION
- scorzeth/anki-mcp-server★ 184✓SAFE
- camdenclark/anki-mcp-server★ 81✓SAFE
- nietus/anki-mcp★ 39!CAUTION
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
6 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared4 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | WARN 4 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
nietusUser accountAccount type recorded when we read the repository. - PackagePublished on npm
anki-mcpat version 0.2.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push2 days agoActivity of the repository when we read it.
- Source commit reade42d94ee2f18The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory41 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (6)
Sorted by severity
MEDIUMNetwork egressnet.raw_ip · build/anki.js:5
host: process.env.ANKI_CONNECT_HOST || "http://127.0.0.1",
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · src/anki.ts:6
host: process.env.ANKI_CONNECT_HOST || "http://127.0.0.1",
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
delete_notes, edit_note_type_field, reschedule_cards
- Why
- 3 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWNetwork egressnet.raw_ip · README.md:72
| `ANKI_CONNECT_HOST` | `http://127.0.0.1` | AnkiConnect host. |
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, dotenv, yanki-connect, @anthropic-ai/mcpb, @types/node, typescript, vitest
- Why
- 7 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · public/0521.mp4
public/0521.mp4
- Why
- 20369441 bytes not read
- Fix
- —
Tools it exposes
41 declared in source · 3 destructive
3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
delete_notes | destructive | Permanently delete notes (and all their cards). Two steps: call without confirmToken to preview and get a token, show the preview to the user, then call again with the token after they confirm. |
edit_note_type_field | destructive | Add, remove, rename or reposition a field of a note type. |
reschedule_cards | destructive | Change card scheduling: set a due date (e.g. vacation backlog), forget (reset to new) or relearn. Reversible only via undo, so preview with dryRun on broad filters. |
add_bulk | write | Create many new notes in one call. Duplicates and invalid notes are skipped and reported with the reason. Use dryRun to check before adding. |
add_card | write | Create ONE new note. For several notes use add_bulk; to change existing notes use update_note_fields. |
add_card_with_audio | write | Create ONE new note with Azure TTS audio generated from one of its fields. |
add_cloze_cards | write | Create cloze notes from text. Either pass |
add_image | write | Attach an image to a note field from a URL, a local file path, or base64 data. The image is stored in Anki |
bulk_update_notes | write | Update fields of many existing notes in one call. |
create_deck | write | Create a deck (use |
create_model | write | Create a new note type. |
move_cards | write | Move cards to another deck (created automatically if it doesn |
quiz_me | write | Run a study session: quiz due cards one at a time and record the answers in Anki. |
suspend_cards | write | Deactivate (suspend) cards so they stop appearing in reviews until unsuspend_cards is called. Scheduling (interval, ease, due date) is kept intact. Pass a label when the user will want to resume this exact group later. |
sync | write | Sync the collection with AnkiWeb (user must be logged in inside Anki). |
undo | write | Undo the most recent action in Anki (a review, a field edit, a suspend...). One action per call. |
update_card_with_audio | write | Generate audio for ONE existing note from one of its fields. |
update_note_fields | write | Update fields of ONE existing note. For many notes use bulk_update_notes. |
update_note_type_styling | write | Replace the CSS of a note type. |
update_note_type_templates | write | Replace the Front/Back HTML of card templates of a note type. |
answer_cards | read | Record the user |
bulk_generate_audio | read | Generate audio for many notes at once (e.g. a whole deck). By default only notes whose audio field is empty are processed. |
count | read | How many cards (optional, default 10). |
deck | read | Deck to study (optional, default: all decks). |
find_and_replace | read | Find and replace text across notes (plain text or regex), optionally only in some fields. Returns before/after samples; use dryRun to preview. |
find_cards | read | Search cards with an Anki query and return a page of results. Choose the sections you need to keep output small; use |
find_leeches | read | Find the user |
get_card_history | read | Full review log of specific cards (date, button, interval change, time spent), to explain why a card keeps being forgotten. |
get_deck_model_info | read | Which note types a deck uses. Call before adding cards to an existing deck to pick the right modelName and fields. |
get_deck_names | read | List all deck names. |
get_due_cards | read | Get cards due for review now (learning cards first, then oldest due). Each card includes the interval every button would give (nextIntervals). |
get_model_details | read | Fields, card templates and CSS of a note type. |
get_model_names | read | List all note type (model) names. |
get_new_cards | read | Get new, never-studied cards (suspended cards excluded). |
get_retention_stats | read | Learning analytics for a deck (subdecks included) over the last N days: true retention (young/mature), reviews per day, average seconds per review. |
get_study_overview | read | Today |
leech_review | read | Find the cards I keep forgetting and help fix them. |
make_cards | read | Turn a text, article or notes into good flashcards. |
manage_tags | read | Tag management: list tags (with a deck/filter it returns tag counts for those notes), add/remove tags on notes, rename a tag, or clear unused tags. |
text | read | The material to turn into cards. |
unsuspend_cards | read | Reactivate (unsuspend) cards with their original scheduling. With a label, resumes exactly the cards paused under it (cards suspended for other reasons stay suspended); list groups with manage_tags { action: |
Install
Package version 0.2.0 · audited commit e42d94e
Read the findings first. The most severe is Network egress (medium) at build/anki.js.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.2.0. The audit covers commit e42d94e only.
claude mcp add anki-mcp --env ANKI_CONNECT_KEY=${ANKI_CONNECT_KEY} --env AZURE_API_KEY=${AZURE_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"anki-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ANKI_CONNECT_KEY": "${ANKI_CONNECT_KEY}",
"AZURE_API_KEY": "${AZURE_API_KEY}"
}
}
}
}The command pins the package version recorded in the source (0.2.0); the audit covers commit e42d94ee2f18. Transport: stdio. Reads these environment variables: ANKI_CONNECT_KEY, AZURE_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
e42d94ee2f18
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/nietus/anki-8/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Anki MCP server
What is the Anki MCP server?
What tools does Anki expose?
Is Anki safe to connect to an agent?
What credentials does Anki need?
How does Anki run?
How current is this page?
Which Anki MCP server is the right one?
Sources
- nietus/anki-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit e42d94ee2f18Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Anki MCP server?
- What tools does Anki expose?
- Is Anki safe to connect to an agent?