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

MCP server · Audited from source

Anki AI Tutor MCP server

by anki-mcp/anki-mcp-desktopMIT licenceAudited 8 Oct 2026 · source d18a5b34f348

npm @ankimcp/anki-mcp-server 0.27.0stdiostreamable-http★ 508
!CAUTIONGrade C · 78/100 · 8 Oct 2026 · d18a5b3
508GitHub stars

Is it safe? With care — CAUTION, grade C (78/100). It exposes 52 tools: 34 read, 12 write and 6 destructive. The audit recorded 35 findings (0 critical, 0 high, 2 medium, 33 low). Maintainer's description: A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Anki AI Tutor MCP server (anki-mcp/anki-mcp-desktop)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/anki-mcp/anki-ai-tutor

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score78/100!CAUTION C
0 critical0 high2 medium33 low0 info

35 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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 21 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
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 anki-mcpOrganizationAccount type recorded when we read the repository.
  • PackagePublished on npm@ankimcp/anki-mcp-server at version 0.27.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push4 days agoActivity of the repository when we read it.
  • Source commit readd18a5b34f348The 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 inventory52 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 (35)

Sorted by severity · the 25 most severe of 35 are listed

MEDIUMNetwork egressnet.raw_ip · scripts/e2e-full.sh:68
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
F-13 Inventory / provenanceCWE-1104Layer L0
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
LOWInventory / provenanceinv.hidden_file · .mcpbignore
F-13 Inventory / provenanceCWE-1104Layer L0
.mcpbignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.credential_store · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:151
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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:154
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"/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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
validateMediaFilePath("/photos/image\0.ssh/id_rsa.jpg"),
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.traversal · src/__tests__/cli.spec.ts:347
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const packageJsonPath = path.join(__dirname, "../../package.json");
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/cli/args.ts:56
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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:375
F-04 Network egressCWE-200 · CWE-319Layer L1
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:377
F-04 Network egressCWE-200 · CWE-319Layer L1
{ 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:382
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
["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
F-04 Network egressCWE-200 · CWE-319Layer L1
["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:494
F-04 Network egressCWE-200 · CWE-319Layer L1
| `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:641
F-04 Network egressCWE-200 · CWE-319Layer L1
- **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:666
F-04 Network egressCWE-200 · CWE-319Layer L1
- `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
F-04 Network egressCWE-200 · CWE-319Layer L1
"http://127.0.0.1:*",
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@nestjs/common, @nestjs/config, @nestjs/core, @nestjs/microservices, @nestjs/platform-express, @rekog/mcp-nest, async-mutex, commander
Why
50 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · CHANGELOG.md:14
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **Read-only errors carry a read-only hint.** A call blocked by read-only mode used to return the tool's generic hint (e.g. "Make sure Anki is running...") next to the read-only error. The hint now s
Why
asks the agent to read credentials
Fix
—

Tools it exposes

52 declared in source · 6 destructive

34 read12 write6 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.

ToolRiskWhat it does
clearUnusedTagsdestructiveRemove orphaned tags that are not used by any notes in the collection, across the whole collection at once. Removed tags disappear from Anki
deleteMediaFiledestructiveRemove a media file from Anki
deleteNotesdestructiveDelete notes by their IDs. Permanently removes the notes and ALL their cards, including the cards
forgetCardsdestructiveReset cards to the new queue, discarding their current scheduling (interval, due date, and ease factor).
removeModelFielddestructiveRemove a field from an existing Anki note type (model).
removeTagsdestructiveRemove tags from specified notes. Tags is a space-separated string (e.g.,
addModelFieldwriteAdd a new field to an existing Anki note type (model).
addTagswriteAdd tags to specified notes. Tags is a space-separated string (e.g.,
changeDeckwriteMove cards to a different deck. Target deck will be created if it doesn
createDeckwriteCreate a new empty Anki deck. Use
createModelwriteCreate a new note type (model) in Anki with custom fields, card templates, and styling.
guiAddCardswriteOpens the Add Cards dialog in the Anki desktop app on the user
renameModelFieldwriteRename a field in an existing Anki note type (model).
replaceTagswriteRename a tag across specified notes (e.g.,
storeMediaFilewriteUpload a media file to Anki
updateModelStylingwriteUpdate the CSS styling for an existing note type (model).
updateModelTemplateswriteUpdate the card templates (Front and Back HTML) for an existing note type (model).
updateNoteFieldswriteUpdate the fields of an existing note. The given fields
anki_reviewreadGuidelines for conducting Anki spaced repetition review sessions
areSuspendedreadCheck whether cards are suspended, without changing anything. Card IDs (not note IDs) —
collection_statsreadGet aggregated statistics across all decks in the collection including card counts, ease factor distribution, and interval distribution.
deckStatsreadGet comprehensive statistics for a single deck including card counts, ease and interval distributions. Pass a deck name (e.g.,
findNotesreadSearch for notes using Anki query syntax. Returns an array of note IDs matching the query.
getMediaFilesNamesreadList media files in Anki
getTagsreadGet 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
get_cardsreadRetrieve cards from Anki with flexible filtering by deck and card state. Reads the local collection as-is and does not sync with AnkiWeb, so reviews made on other devices since the last sync are not reflected. Answers are not included by default (include_answer=false), so a card
get_due_cardsreadRetrieve cards that are due for review from Anki. Reads the local collection as-is and does not sync with AnkiWeb, so reviews made on other devices since the last sync are not reflected. Answers are not included by default (include_answer=false), so a card
guiBrowsereadOpens the Card Browser window in the Anki desktop app on the user
guiCurrentCardreadReads the card currently shown in the Anki desktop app
guiDeckBrowserreadSwitches the Anki desktop app
guiDeckOverviewreadMakes the named deck Anki
guiEditNotereadOpens the note editor window in the Anki desktop app on the user
guiSelectCardreadChanges the selection in the Card Browser window open in the Anki desktop app on the user
guiSelectedNotesreadReads the IDs of the notes the user has selected in the Card Browser window of the Anki desktop app. Changes nothing on screen.
guiShowAnswerreadFlips the card on the Anki desktop app
guiShowQuestionreadFlips the card on the Anki desktop app
guiUndoreadTriggers Anki
listDecksreadList all Anki decks, optionally with per-deck study-queue statistics.
modelFieldNamesreadGet the field names for a specific note type (model). Use this to know what fields are required when creating notes of this type.
modelNamesreadGet a list of all available note type (model) names in Anki. Use this to see what note types are available before creating notes.
modelStylingreadGet the CSS styling for a specific note type (model). This CSS is used when rendering cards of this type.
modelTemplatesreadGet the card templates (Front and Back HTML) for a specific note type (model).
notesInforeadGet fields, tags, note type (model) name, card IDs and modification time for each note, by note ID (from findNotes).
present_cardreadReturns a card
rate_cardreadRecords a real review of a card in Anki
repositionModelFieldreadChange the position of a field within an Anki note type (model).
retrieveMediaFilereadDownload a media file from Anki
review_statsreadGet review history analysis including temporal patterns, retention metrics, and study streak information.
setDueDatereadReschedule cards to become due in a given number of days, without recording a review.
suspendreadSuspend cards so they
system-inforeadCurrent system information and environment
unsuspendreadUnsuspend cards so they return to normal review. Card IDs (not note IDs) — use get_cards,

Install

Package version 0.27.0 · audited commit d18a5b3

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.27.0); the audit covers commit d18a5b34f348. 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

  1. !CAUTION C 78 / 100

    First audit · d18a5b34f348

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/mcp/anki-mcp/anki-ai-tutor/badge.svg)](https://modelsatlas.com/mcp/anki-mcp/anki-ai-tutor/)

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 AI Tutor MCP server

What is the Anki AI Tutor MCP server?
A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.
What tools does Anki AI Tutor expose?
52 in total: 34 read-only, 12 that write, and 6 that can delete or overwrite (clearUnusedTags, deleteMediaFile, deleteNotes, forgetCards, removeModelField). Every one is listed on this page with its risk.
Is Anki AI Tutor safe to connect to an agent?
With care. The audit graded it C (78/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 6 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Anki AI Tutor need?
It reads ANKI_CONNECT_API_KEY and TUNNEL_AUTH_CLIENT_ID 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 AI Tutor run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @ankimcp/anki-mcp-server at 0.27.0.
How current is this page?
The grade is for one exact copy of the source (d18a5b34f348), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

  • anki-mcp/anki-mcp-desktop on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit d18a5b34f348Observed · 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.