Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Anki MCP server

by nietus/anki-mcpMIT licenceAudited 8 Oct 2026 · source e42d94ee2f18

npm anki-mcp 0.2.0stdio★ 39
!CAUTIONGrade B · 89/100 · 8 Oct 2026 · e42d94e
39GitHub stars

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)

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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 →

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high3 medium2 low1 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 4 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmanki-mcp at 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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
host: process.env.ANKI_CONNECT_HOST || "http://127.0.0.1",
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
F-04 Network egressCWE-200 · CWE-319Layer L1
| `ANKI_CONNECT_HOST` | `http://127.0.0.1` | AnkiConnect host. |
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-13 Inventory / provenanceCWE-1104Layer L0
public/0521.mp4
Why
20369441 bytes not read
Fix
—

Tools it exposes

41 declared in source · 3 destructive

21 read17 write3 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.

ToolRiskWhat it does
delete_notesdestructivePermanently 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_fielddestructiveAdd, remove, rename or reposition a field of a note type.
reschedule_cardsdestructiveChange 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_bulkwriteCreate many new notes in one call. Duplicates and invalid notes are skipped and reported with the reason. Use dryRun to check before adding.
add_cardwriteCreate ONE new note. For several notes use add_bulk; to change existing notes use update_note_fields.
add_card_with_audiowriteCreate ONE new note with Azure TTS audio generated from one of its fields.
add_cloze_cardswriteCreate cloze notes from text. Either pass
add_imagewriteAttach an image to a note field from a URL, a local file path, or base64 data. The image is stored in Anki
bulk_update_noteswriteUpdate fields of many existing notes in one call.
create_deckwriteCreate a deck (use
create_modelwriteCreate a new note type.
move_cardswriteMove cards to another deck (created automatically if it doesn
quiz_mewriteRun a study session: quiz due cards one at a time and record the answers in Anki.
suspend_cardswriteDeactivate (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.
syncwriteSync the collection with AnkiWeb (user must be logged in inside Anki).
undowriteUndo the most recent action in Anki (a review, a field edit, a suspend...). One action per call.
update_card_with_audiowriteGenerate audio for ONE existing note from one of its fields.
update_note_fieldswriteUpdate fields of ONE existing note. For many notes use bulk_update_notes.
update_note_type_stylingwriteReplace the CSS of a note type.
update_note_type_templateswriteReplace the Front/Back HTML of card templates of a note type.
answer_cardsreadRecord the user
bulk_generate_audioreadGenerate audio for many notes at once (e.g. a whole deck). By default only notes whose audio field is empty are processed.
countreadHow many cards (optional, default 10).
deckreadDeck to study (optional, default: all decks).
find_and_replacereadFind and replace text across notes (plain text or regex), optionally only in some fields. Returns before/after samples; use dryRun to preview.
find_cardsreadSearch cards with an Anki query and return a page of results. Choose the sections you need to keep output small; use
find_leechesreadFind the user
get_card_historyreadFull review log of specific cards (date, button, interval change, time spent), to explain why a card keeps being forgotten.
get_deck_model_inforeadWhich note types a deck uses. Call before adding cards to an existing deck to pick the right modelName and fields.
get_deck_namesreadList all deck names.
get_due_cardsreadGet cards due for review now (learning cards first, then oldest due). Each card includes the interval every button would give (nextIntervals).
get_model_detailsreadFields, card templates and CSS of a note type.
get_model_namesreadList all note type (model) names.
get_new_cardsreadGet new, never-studied cards (suspended cards excluded).
get_retention_statsreadLearning analytics for a deck (subdecks included) over the last N days: true retention (young/mature), reviews per day, average seconds per review.
get_study_overviewreadToday
leech_reviewreadFind the cards I keep forgetting and help fix them.
make_cardsreadTurn a text, article or notes into good flashcards.
manage_tagsreadTag 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.
textreadThe material to turn into cards.
unsuspend_cardsreadReactivate (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]

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

  1. !CAUTION B 89 / 100

    First audit · e42d94ee2f18

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/nietus/anki-8/badge.svg)](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?
MCP server for Anki: get quizzed, track retention, find leeches and manage your flashcards from Claude and other MCP clients (via AnkiConnect)
What tools does Anki expose?
41 in total: 21 read-only, 17 that write, and 3 that can delete or overwrite (delete_notes, edit_note_type_field, reschedule_cards). Every one is listed on this page with its risk.
Is Anki safe to connect to an agent?
With care. The audit graded it B (89/100) and found 6 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 3 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Anki need?
It reads ANKI_CONNECT_KEY and AZURE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Anki run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as anki-mcp at 0.2.0.
How current is this page?
The grade is for one exact copy of the source (e42d94ee2f18), read on 2026-10-08. The repository is watched and re-audited when it changes.
Which Anki MCP server is the right one?
ankimcp/anki-mcp-server. 5 servers share the name; see the side-by-side comparison.

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.