mogottsch/anki-mcp-server
If you are the rightful owner of anki-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
Anki MCP Server is a minimal Python server designed to integrate with Anki using the AnkiConnect plugin and FastMCP.
Anki MCP Server
A minimal Python MCP server for integrating with Anki via the AnkiConnect plugin using FastMCP.
Usage
Prerequisites
- Anki with the AnkiConnect plugin installed
- Python 3.12+
Installation
git clone <repository-url>
cd anki-mcp-server
uv sync
Configuration
Copy .env.example to .env and adjust values as needed to configure the server environment.
Start the Server
uv run anki-mcp-server
The server will start on http://127.0.0.1:8629/mcp by default.
Windows + WSL
If you run the server in WSL and want a Windows process (e.g. VS Code on Windows) to reach it, bind to all interfaces:
MCP_HOST=0.0.0.0 uv run anki-mcp-server
Then use http://localhost:8629/mcp from Windows (or the WSL VM IP if localhost forwarding is unavailable).
Development
For development with hot reload using Uvicorn:
uv run uvicorn anki_mcp_server.server:http_app --reload --host 127.0.0.1 --port 8629
MIT License