Overview
Anki MCP Server is an implementation that connects to a locally running Anki application, allowing users to review and create flashcards seamlessly.
To use the Anki MCP Server, install the server, configure it to connect with the Anki desktop app, and utilize the provided resources and tools to manage your flashcards.
- Connects to the Anki desktop app for card management. - Provides various search resources to retrieve cards based on their status (current, due, new). - Tools for updating card statuses and adding new cards directly to the Anki deck.
- Efficiently managing flashcards for study sessions.
- Creating high-quality flashcards using the provided prompts.
- Integrating with other applications for enhanced learning experiences.
Add to your AI client
Use these steps to connect Anki MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"scorzeth-anki-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-scorzeth-anki-mcp-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"scorzeth-anki-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-scorzeth-anki-mcp-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"scorzeth-anki-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-scorzeth-anki-mcp-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"scorzeth-anki-mcp-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-scorzeth-anki-mcp-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"scorzeth-anki-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-scorzeth-anki-mcp-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"scorzeth-anki-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-scorzeth-anki-mcp-server-mcp-mirror"
]
}
}
}FAQ
Can I use Anki MCP Server without the Anki desktop app?
No, the Anki MCP Server requires the Anki desktop app to function properly.
How do I install the Anki MCP Server?
You can install it by running `npm install` in the project directory.
Is there a way to debug the server?
Yes, you can use the MCP Inspector for debugging, which provides a URL to access debugging tools in your browser.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":591,"uuid":"5a1c95e4-ff45-4672-b84c-d7e477b58cc3","name":"scorzeth_anki-mcp-server","title":"Anki MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:23:38.991Z","updated_at":"2025-02-23T07:15:13.182Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"anki,mcp-server,flashcards","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/scorzeth_anki-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]