Atlas / MCP servers / scorzeth / Anki

AnkiSAFE

mcp/scorzeth/anki-4

An MCP server for Anki

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

Overview

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

An MCP server implementation that connects to a locally running Anki, providing card review and creation.

This server is designed to work with the Anki desktop app and the Anki-Connect add-on.

Make sure you have the add-on installed before using.

Resources

  • anki://search/deckcurrent
  • Returns all cards from current deck
  • Equivalent of deck:current in Anki
  • anki://search/isdue
  • Returns cards in review and learning waiting to be studied
  • Equivalent of is:due in Anki
  • anki://search/isnew
  • Returns all unseen cards
  • Equivalent of is:new in Anki

Tools

  • update_cards
  • Marks cards with given card IDs as answered and gives them an ease score between 1 (Again) and 4 (Easy)
  • Inputs:
  • answers (array): Array of objects with cardId (number) and ease (number) fields
  • add_card
  • Creates a new card in the Default Anki deck
  • Inputs:
  • front (string): Front of card
  • back (string): Back of card
  • get_due_cards
  • Returns n number of cards currently due for review
  • Inputs:
  • num (number): Number of cards
  • get_new_cards
  • Returns n number of cards from new
  • Inputs:
  • num (number): Number of cards

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Configuration

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-server": {
"command": "/path/to/anki-mcp-server/build/index.js"
}
}
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, whic

Read from source at commit e1394e77a30bOBSERVED · 2026-10-06
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-server -- npx -y @scorzeth/[email protected]
claude-desktop
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@scorzeth/[email protected]"
      ]
    }
  }
}
03

Exposed tools (3)

2 read · 1 write · 0 destructive.

ToolRiskDescription
get_due_cardsreadReturns a given number (num) of cards due for review.
get_new_cardsreadReturns a given number (num) of new and unseen cards.
update_cardswriteAfter the user answers cards you
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
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

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

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha e1394e77a30bfull audit observations/trust-audit/mcp-server/scorzeth__anki-4.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-06e1394e77a30bSAFEB89first audit
06

Questions

What is the Anki MCP server?

An MCP server for Anki

What tools does Anki expose?

3 in total: 2 read-only, 1 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 @scorzeth/anki-mcp-server at 1.0.0.

How current is this page?

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

Advertisement