mcp -anki
MCP server from cdpath/mcp-server-anki
claude mcp add --transport stdio cdpath-mcp-server-anki uvx mcp-server-anki
How to use
This MCP server integrates Anki with the MCP framework using uvx to run the mcp-server-anki helper. It relies on Anki Desktop, Anki Connect, and uv to bridge your workflow into MCP-compatible commands. The server exposes two primary ways to configure and interact with Anki:
- Cursor mode: add the anki server to your .mcp.json under mcpServers so MCP can forward commands to the uvx mcp-server-anki instance. This mode enables standard MCP cursor-based interactions, allowing you to issue updates that reflect in Anki decks and notes via the Anki Connect bridge.
- Chatwise mode: configure a UI-based integration where the MCP system runs uvx mcp-server-anki from the chat/command surface. This lets you trigger Anki-related actions through a simple chat-like interface, using the ID "Anki" and the command "uvx mcp-server-anki".
Once set up, you can perform typical tasks such as creating or updating notes, adding cards, or syncing with Anki via Anki Connect-friendly commands exposed by the mcp-server-anki implementation. The server is intended to work with an Anki Desktop installation and the Anki Connect plugin, and it should be accessible through the uvx runtime as configured above.
How to install
Prerequisites
- Anki Desktop: Install from https://apps.ankiweb.net/
- Anki Connect: Install extension from https://ankiweb.net/shared/info/2055492159
- uv (uvx): Install UV runtime (see https://docs.astral.sh/uv/getting-started/installation/)
Installation steps
- Install prerequisites
- Install Anki Desktop on your operating system.
- Install Anki Connect in Anki (via the Add-ons manager) to enable programmatic access.
- Install UV (the uv runtime) for your platform.
- Prepare the MCP server files
- Clone or download the mcp-server-anki project files into a local development directory.
- Ensure you have a Python environment available if you plan to run the Python-based server (as shown in the local development example).
- Run the MCP server via UVX
- In your environment, start the mcp-server-anki service with uvx, as described in the README usage:
uvx mcp-server-anki
- Optional: configure MCP client
- Update your .mcp.json to include the Anki MCP server configuration (see the example in the README).
- Ensure your MCP client is aware of the Anki integration and can send/receive commands through the uvx bridge.
- Validate
- Confirm Anki Desktop is running with Anki Connect available.
- Verify that commands issued through MCP reach Anki via Anki Connect and that notes/cards update as expected.
Additional notes
Tips and considerations:
- Ensure Anki Desktop and Anki Connect are running and accessible before issuing MCP commands.
- The cursor configuration uses uvx with the mcp-server-anki package name, so the working directory and PATH should allow uvx to locate the command.
- In chatwise mode, the configured command is uvx mcp-server-anki with ID "Anki". Use this through your MCP-enabled chat or UI to trigger actions.
- If you run into connection issues, verify that Anki Connect is enabled in Anki and that the port/endpoint it uses is reachable by the uvx runtime.
- This server is built to align with the Anki ecosystem; if you upgrade Anki or Anki Connect, re-check compatibility with the mcp-server-anki implementation.
- For local development, the provided example shows running server.py under a specific directory; adapt paths to your environment as needed.
Related MCP Servers
trpc-agent-go
trpc-agent-go is a powerful Go framework for building intelligent agent systems using large language models (LLMs) and tools.
station
Station is our open-source runtime that lets teams deploy agents on their own infrastructure with full control.
tiger-cli
Tiger CLI is the command-line interface for Tiger Cloud. It includes an MCP server for helping coding agents write production-level Postgres code.
gopls
MCP server for golang projects development: Expand AI Code Agent ability boundary to have a semantic understanding and determinisic information for golang projects.
kubernetes
A Model Context Protocol (MCP) server for the Kubernetes API.
gcp-cost
💰 An MCP server that enables AI assistants to estimate Google Cloud costs, powered by Cloud Billing Catalog API and built with Genkit for Go