MCP server · Org-owned · Audited from source
Anki MCP server
by ankimcp/anki-mcp-serverMIT licenceAudited 1 Oct 2026 · source fd98695f3978
Is it safe? With care — CAUTION, grade C (79/100). It exposes 51 tools: 31 read, 14 write and 6 destructive. The audit recorded 34 findings (0 critical, 0 high, 2 medium, 32 low). Maintainer's description: A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.
Cite
Cite this page
ModelsAtlas. “Anki MCP server (ankimcp/anki-mcp-server)”. Retrieved 1 Oct 2026. https://modelsatlas.com/mcp/ankimcp/anki-15
5 MCP servers are called Anki. This is the one we pick. Compare all 5 →
- ankimcp/anki-mcp-server Org-owned★ 499!CAUTION
- scorzeth/anki-mcp-server★ 184✓SAFE
- camdenclark/anki-mcp-server★ 81✓SAFE
- nailuogg/anki-mcp-server★ 253!CAUTION
Trust audit
Audit 0.4.1 · full source read 1 Oct 2026
34 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
- FilesystemDeclared2 observations
- NetworkDeclared2 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 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 21 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
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
ankimcpOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@ankimcp/anki-mcp-serverat version 0.26.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push12 days agoActivity of the repository when we read it.
- Source commit readfd98695f3978The audit covers exactly this commit, read on 1 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory51 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 (34)
Sorted by severity · the 25 most severe of 34 are listed
MEDIUMNetwork egressnet.raw_ip · scripts/e2e-full.sh:68
if ! curl -s http://127.0.0.1:3000 > /dev/null 2>&1; then
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
clearUnusedTags, deleteMediaFile, deleteNotes, forgetCards, removeModelField, removeTags
- Why
- 6 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.binary · docs/MCP Reviewer Demo.apkg
MCP Reviewer Demo.apkg
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWFilesystem / pathfs.credential_store · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:161
it("should reject non-media file paths (e.g., .ssh/id_rsa)", async () => {- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:164
path: "/home/user/.ssh/id_rsa",
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/mcp/utils/__tests__/media-validation.utils.spec.ts:81
"/home/user/.ssh/id_rsa",
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/mcp/utils/__tests__/media-validation.utils.spec.ts:101
expect(() => validateMediaFilePath("/some/path/id_rsa")).toThrow(- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/mcp/utils/__tests__/media-validation.utils.spec.ts:133
validateMediaFilePath("/photos/image\0.ssh/id_rsa.jpg"),- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/cli.spec.ts:347
const packageJsonPath = path.join(__dirname, "../../package.json");
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/cli.spec.ts:373
const packageJsonPath = path.join(__dirname, "../../package.json");
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/cli/args.ts:56
readFileSync(join(__dirname, "../../package.json"), "utf-8"),
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/http/guards/__tests__/dns-rebinding.integration.spec.ts:5
import { AppModule } from "../../../app.module";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/http/guards/__tests__/dns-rebinding.integration.spec.ts:6
import { createMcpHttpServer } from "../../mcp-http.factory";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:385
it("blocks cloud metadata endpoint (169.254.169.254)", async () => {- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:387
{ address: "169.254.169.254", family: 4 },- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:392
url: "http://169.254.169.254/latest/meta-data/",
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/utils/__tests__/media-validation.utils.spec.ts:312
["169.254.169.254", "link-local (cloud metadata)"],
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/utils/__tests__/media-validation.utils.spec.ts:608
["64:ff9b::169.254.169.254", "rfc6052 / NAT64 wrapping cloud metadata"],
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:472
| `ALLOWED_ORIGINS` | HTTP mode: comma-separated allowlist of browser `Origin`/`Referer` patterns (wildcards supported, e.g. `https://*.ngrok.io`). | `http://localhost:*,http://127.0.0.1:*,https://loc
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:619
- **MCP endpoint**: `http://127.0.0.1:3000/` (root path)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:644
- `ALLOWED_ORIGINS` - Comma-separated allowlist of browser `Origin`/`Referer` patterns; wildcards supported (e.g. `https://*.ngrok.io`). Default: `http://localhost:*,http://127.0.0.1:*,https://localho
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/__tests__/app-config.service.spec.ts:17
"http://127.0.0.1:*",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@nestjs/common, @nestjs/config, @nestjs/core, @nestjs/microservices, @nestjs/platform-express, @rekog/mcp-nest, async-mutex, commander
- Why
- 51 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · CLAUDE.md:120
**Environment Configuration**: Config `process.env.*` reads go through `buildConfigInput()` in `src/config/config.factory.ts`. CLI args override env vars in memory (no `process.env` mutation). Service
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
51 declared in source · 6 destructive
6 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 |
|---|---|---|
clearUnusedTags | destructive | Remove orphaned tags that are not used by any notes in the collection. CRITICAL: This is destructive and permanent - only run when the user explicitly asks to clean up tags. |
deleteMediaFile | destructive | Remove a media file from Anki |
deleteNotes | destructive | Delete notes by their IDs. This will permanently remove the notes and ALL associated cards. |
forgetCards | destructive | Reset cards to the new queue, discarding their current scheduling (interval, due date, and ease factor). |
removeModelField | destructive | Remove a field from an existing Anki note type (model). |
removeTags | destructive | Remove tags from specified notes. Tags is a space-separated string (e.g., |
addModelField | write | Add a new field to an existing Anki note type (model). |
addTags | write | Add tags to specified notes. Tags is a space-separated string (e.g., |
changeDeck | write | Move cards to a different deck. Target deck will be created if it doesn |
createDeck | write | Create a new empty Anki deck. Use |
createModel | write | Create a new note type (model) in Anki with custom fields, card templates, and styling. |
guiAddCards | write | Open Anki Add Cards dialog with preset note details (deck, model, fields, tags). Returns potential note ID. |
rate_card | write | Submit a rating for a card to update Anki |
renameModelField | write | Rename a field in an existing Anki note type (model). |
replaceTags | write | Rename a tag across specified notes (e.g., |
storeMediaFile | write | Upload a media file to Anki |
sync | write | Synchronize local Anki collection with AnkiWeb. IMPORTANT: Always sync at the START of a review session (before getting cards) and at the END when user indicates they are done. This ensures data consistency across devices. |
updateModelStyling | write | Update the CSS styling for an existing note type (model). |
updateModelTemplates | write | Update the card templates (Front and Back HTML) for an existing note type (model). |
updateNoteFields | write | Update the fields of an existing note. Supports HTML content in fields and preserves CSS styling. |
anki_review | read | Guidelines for conducting Anki spaced repetition review sessions |
areSuspended | read | Check whether cards are suspended, without changing anything. Card IDs (not note IDs) — |
collection_stats | read | Get aggregated statistics across all decks in the collection including card counts, ease factor distribution, and interval distribution. |
deckStats | read | Get comprehensive statistics for a single deck including card counts, ease and interval distributions. Pass a deck name (e.g., |
findNotes | read | Search for notes using Anki query syntax. Returns an array of note IDs matching the query. |
getMediaFilesNames | read | List media files in Anki |
getTags | read | Get all tags in the Anki collection. Use this to discover existing tags before creating notes to maintain consistency and prevent tag duplication (e.g., avoiding |
guiBrowse | read | Open Anki Card Browser and search for cards using Anki query syntax. Returns array of card IDs found. |
guiCurrentCard | read | Get information about the current card displayed in review mode. Returns card details (question, answer, deck, model, etc.) or null if not in review. |
guiDeckBrowser | read | Open Anki Deck Browser dialog showing all decks. |
guiDeckOverview | read | Open Anki Deck Overview dialog for a specific deck. Shows deck statistics and study options. Returns true if succeeded. |
guiEditNote | read | Open Anki note editor dialog for a specific note ID. Allows manual editing of note fields, tags, and cards in the GUI. |
guiSelectCard | read | Select a specific card in an open Card Browser window. Returns true if browser is open and card was selected, false if browser is not open. |
guiSelectedNotes | read | Get the IDs of notes currently selected in the Card Browser. Returns array of note IDs (empty if no selection). |
guiShowAnswer | read | Show the answer side of the current card in review mode. Returns true if in review mode, false otherwise. |
guiShowQuestion | read | Show the question side of the current card in review mode. Returns true if in review mode, false otherwise. |
guiUndo | read | Undo the last action or card in Anki. Returns true if undo succeeded, false otherwise. |
listDecks | read | List all Anki decks, optionally with per-deck study-queue statistics. |
modelFieldNames | read | Get the field names for a specific note type (model). Use this to know what fields are required when creating notes of this type. |
modelNames | read | Get a list of all available note type (model) names in Anki. Use this to see what note types are available before creating notes. |
modelStyling | read | Get the CSS styling for a specific note type (model). This CSS is used when rendering cards of this type. |
modelTemplates | read | Get the card templates (Front and Back HTML) for a specific note type (model). |
notesInfo | read | Get detailed information about specific notes including all fields, tags, model info, and CSS styling. |
present_card | read | Retrieve a card\ |
repositionModelField | read | Change the position of a field within an Anki note type (model). |
retrieveMediaFile | read | Download a media file from Anki |
review_stats | read | Get review history analysis including temporal patterns, retention metrics, and study streak information. |
setDueDate | read | Reschedule cards to become due in a given number of days, without recording a review. |
suspend | read | Suspend cards so they |
system-info | read | Current system information and environment |
unsuspend | read | Unsuspend cards so they return to normal review. Card IDs (not note IDs) — use get_cards, |
Install
Package version 0.26.0 · audited commit fd98695
Read the findings first. The most severe is Network egress (medium) at scripts/e2e-full.sh.
claude mcp add anki-mcp-server -- npx -y @ankimcp/[email protected]
The command pins the package version recorded in the source (0.26.0); the audit covers commit fd98695f3978. Transport: stdio · streamable-http. Reads these environment variables: ANKI_CONNECT_API_KEY, TUNNEL_AUTH_CLIENT_ID. Give it the narrowest token it needs.
Audit history
- !CAUTION C 79 / 100
First audit ·
fd98695f3978
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/ankimcp/anki-15/)
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
- ankimcp/anki-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 1 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit fd98695f3978Observed · 1 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?