Skip to content
Agents tracked: 502 Releases (7d): 762 Agent status: no reported issuesSince last limit reset: Claude 11d · Codex 9d For AI agents: Markdown Updated Nov 22, 2026

Anki

by ankimcp

let your AI assistant make and review flashcards.

Productivity and workspaceLocal

GitHubWebsite

1. Made by

“This is an independent community project not affiliated with Ankitects.”

It wraps the Anki app and the AnkiConnect add-on, but it is an independent community project, not made by Ankitects, the company behind Anki. The repository and ankimcp.ai belong to that project.

ankimcp.ai/

Checked against its repository at one commit, on Nov 10, 2026. Tap a verdict to see its source.How we checkedReport an error

What Anki does

Anki MCP Server lets an AI assistant work with the Anki flashcard app on your computer. It can make new cards, quiz you on cards that are due and record how well you knew each one, like a private tutor. Your cards stay in your own Anki; the server sends nothing to its makers.

What people use it for

Study a deck in conversation

Say "help me review my Spanish deck". The assistant shows each due card, checks your answer, explains mistakes and records your rating in Anki.

Make cards from what you read

Paste notes, a lecture summary or a word list and ask for cards. The assistant adds them to the deck you name, up to 100 at a time.

Language cards with right-to-left text

For Arabic or Hebrew vocabulary, the assistant can create a card style that writes right to left and then fill it with words.

Add a picture to a card

Point the assistant at an image on your computer or a web address, and it puts the picture on the front of the selected card.

Let the assistant look but not edit

Start it in read-only mode to browse decks and search notes without risk of the assistant changing or deleting cards.

A weekly study check-in Idea

Ask once a week how your reviews went, which decks fall behind and how long your study streak is, then plan the next week.

Anki popularity

567
GitHub stars, ankimcp/anki-mcp-server
1,179
downloads last week, @ankimcp/anki-mcp-server
0
public agent projects connect it
Anki: downloads per weeknpm, @ankimcp/anki-mcp-server 1,179
Anki: GitHub starsankimcp/anki-mcp-server 567

Tools it gives your agent (53)

What it sends and its license

Sends

nothing in local mode; requests go only to AnkiConnect on your computer

To AnkiConnect (default http://localhost:8765); on each tool call. Opt out: not needed.

Sends

your cards and the assistant's requests, passing through

To the AnkiMCP tunnel servers (wss://tunnel.ankimcp.ai); only in tunnel mode (--tunnel). Opt out: use the local stdio or HTTP mode.

Sends

a download request for the image or audio address you give

To the web address passed to storeMediaFile; only when a media file is added from a web address. Opt out: pass a local file path instead.

Sends

your collection, through Anki's own sync

To AnkiWeb; when the assistant calls the sync tool. Opt out: do not call sync.

The server's code is free under the MIT license, also for paid work. Running it on your own computer costs nothing; only the optional remote tunnel has paid plans.

In a paid app
Yes

The code is MIT; keep the notice when you copy it.

“"license":"MIT"” source

Pass on its files
With conditions

Copies of the code must keep the MIT copyright and permission notice.

“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” source

client-work
Yes

MIT allows any use, paid or not.

“Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction” source

Is it alive

Latest version

0.27.0 in the registry, updated Oct 4, 2026

Last release

0.27.0 on npm (2026-10-04); main is at 0.27.1, not yet released, at the pinned commit

Remote endpoint
no hosted server (runs on your computer)

Alternatives

Anki This page

567 starsLocal

ts-fsrs

Pick it if you are building your own flashcard app and need a review scheduler in code

Local

All productivity and workspace servers

Get started

Tell your AI assistant

“Connect the Anki MCP server (npx -y @ankimcp/anki-mcp-server@0.27.0 --stdio) with Anki open, list my decks, then create 10 cards in the deck I name from this text and ask me before deleting anything.”

Connect it

claude mcp add --transport stdio anki -- npx -y @ankimcp/anki-mcp-server --stdio

Needs the Anki desktop app open with the AnkiConnect add-on (code 2055492159). The makers suggest their AnkiMCP add-on for most setups; this package is for clients that start a local server (stdio) and for the Claude Desktop bundle.

Mistakes to avoid

Rating a card Again to push it back in the schedule
Use setDueDate to move the next review, or forgetCards to start the card over

Rating Again records a real lapse and permanently skews scheduling and statistics.

Uploading an image to storeMediaFile as base64 text
Pass the file path (/Users/you/image.png) or the image's web address

Base64 is very slow and uses many tokens.

deleteNotes(notes=[...]) without confirmDeletion
Show the person the notes first, then call deleteNotes with confirmDeletion true

The call is rejected unless confirmDeletion is true, and deletion removes all cards of the note.

Running the server on Node.js 18 or 20 (ERR_REQUIRE_ESM)
Install Node.js 22.12.0 or newer

The server needs Node.js 22.12.0 or newer.

Tags or decks named freely without checking what exists
Call getTags and listDecks first

The README says to list tags first to avoid duplicates.

Questions

Does it work without Anki open?

No. The Anki desktop app has to be open, because the server works on your real collection.

Does it cost money?

Not on your own computer. Only the optional tunnel for web or phone assistants has a free tier and paid plans.

Should I use this package or the AnkiMCP add-on?

The makers suggest the add-on for most setups; use this package when your client starts a local server over stdio or for the Claude Desktop bundle.

Does the server collect my data?

No. It runs on your computer, collects no usage data and only talks to the AnkiConnect address you set.