
Connect Claude conversations with AnkiConnect via MCP to make spaced repetition as easy as "Let's go
Connect Claude conversations with AnkiConnect via MCP to make spaced repetition as easy as "Let's go through today's flashcards" or "Make flashcards for this"
·
Connect Claude conversations with AnkiConnect via MCP to make spaced repetition as easy as "Let's go through today's flashcards" or "Make flashcards for this"
The server implements the following tools:
num_cards_due_today: Get the number of cards due today
deck argument to filter by specific deckget_due_cards: Get cards that are due for review
limit argument (default: 5) to control number of cardsdeck argument to filter by specific decktoday_only argument (default: true) to show only today's cardssubmit_reviews: Submit answers for reviewed cards
reviews with card_id and ratingsearch_notes: Find notes by AnkiConnect query. Returns IDs + a short Front preview by default (cheap); pass return_card_content=true to receive cleaned field content inline.
inspect_cards: View per-card state for given card IDs or note IDs. Sparse-fieldset selection via the properties list: any of identity, state, scheduling, timestamps, history, fields, or all (default: ["identity", "state", "scheduling"]). The legacy include_history=true flag is still accepted as an alias.
update_note_fields: Modify the text content of one note's fields. Uses the same MathJax/code conversions as add_note.
update_note_tags: Add and/or remove tags on one or more notes.
set_suspended: Suspend or unsuspend one or more cards.
change_deck: Move cards (by card ID) into a different deck.
reschedule_cards: Set due date, forget, or relearn one or more cards.
defaults write net.ankiweb.dtop NSAppSleepDisabled -bool true
defaults write net.ichi2.anki NSAppSleepDisabled -bool true
defaults write org.qt-project.Qt.QtWebEngineCore NSAppSleepDisabled -bool trueInstall the AnkiConnect plugin in Anki:
2055492159Configure Claude Desktop:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"mcp-ankiconnect": {
"command": "uv",
"args": ["run", "--with", "mcp-ankiconnect", "mcp-ankiconnect"]
}
}
}Restart Anki and Claude desktop
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector. First, clone the repository and install the dependencies:
git clone https://github.com/samefarrar/mcp-ankiconnect.git
cd mcp-ankiconnect
uv syncYou can launch the MCP Inspector via the mcp CLI:
uv run mcp dev mcp_ankiconnect/server.pyUpon launching, the Inspector will display a URL you can access in your browser to begin debugging.
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add mcp-ankiconnect -- uv run --with mcp-ankiconnect mcp-ankiconnect{
"mcpServers": {
"mcp-ankiconnect": {
"args": [
"run",
"--with",
"mcp-ankiconnect",
"mcp-ankiconnect"
],
"command": "uv"
}
}
}code --add-mcp '{"name":"mcp-ankiconnect","args":["run","--with","mcp-ankiconnect","mcp-ankiconnect"],"command":"uv"}'[mcp_servers.mcp-ankiconnect]
command = "uv"
args = ["run", "--with", "mcp-ankiconnect", "mcp-ankiconnect"]Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/mcp-ankiconnect-mcp-server to learn what the "mcp-ankiconnect MCP server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
This server runs locally, so we can't read its tool list over the web yet.
We could not run this server: it ships no npx package for our sandbox and no public endpoint. The four checks that need a live server are left out, and the grade tops out at B until one exists.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/mcp-ankiconnect-mcp-server)Nothing comparable is listed yet.
v0.7.0v0.7.0 — Token-efficient tool outputsRelease notesv0.6.0Release notesv0.5.0Release notesv0.4.2Release notesv0.4.1Release notesv0.3.2v0.3.2-betaRelease notesv0.3.1v0.3.1-betaRelease notesConnect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "mcp-ankiconnect-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.