Atlas / MCP servers / camdenclark / Anki

AnkiSAFE

mcp/camdenclark/anki

A model context protocol server that connects to Anki through AnkiConnect

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
5 3r · 2w · 0d
Transport
stdio
License
MIT
Stars
81
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A server to integrate with Anki via the AnkiConnect plugin

This is a TypeScript-based MCP server that integrates with Anki via the AnkiConnect plugin. It demonstrates core MCP concepts by providing:

  • Resources representing Anki decks and note models with URIs
  • Tools for creating and managing Anki notes
  • Integration with AnkiConnect API

Features

Resources

  • List and access Anki decks via anki://decks/{id} URIs
  • List and access note models via anki://models/{id} URIs
  • JSON representation of Anki objects

Tools

  • listDecks - Get names of all decks
  • listModels - Get names of all note models
  • getModel - Get details of a specific note model
  • addNote - Create a single note
  • Specify deck name, model name, fields and tags
  • addNotes - Create multiple notes in bulk
  • Create many notes with specified parameters

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
"mcpServers": {
"anki-mcp": {
"command": "node",
"args": ["d:\\anki-mcp-server\\build\\index.js"]
}
}
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Read from source at commit 82506051624aOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add anki-mcp -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "anki-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (5)

3 read · 2 write · 0 destructive.

ToolRiskDescription
addNotewriteCreate a single note
addNoteswriteCreate many notes in a deck
getModelreadGet a model, including field and template definitions, from Anki
listDecksreadGet the names of all decks from Anki
listModelsreadGet the names of all note models from Anki
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (1 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@types/node, typescript
Why it matters. 2 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 82506051624afull audit observations/trust-audit/mcp-server/camdenclark__anki.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0782506051624aSAFEB89first audit
06

Questions

What is the Anki MCP server?

A model context protocol server that connects to Anki through AnkiConnect

What tools does Anki expose?

5 in total: 3 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Anki safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Anki need?

No credential environment variables were found in its source, so it appears to need none.

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.1.0.

How current is this page?

The grade is for one exact copy of the source (82506051624a), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement