drio
Open app

Anki Mcp Server

Source

An MCP server for Anki

Catalog onlyCatalog onlySTDIO

Overview

Anki-MCP Server is a TypeScript-based server that implements a simple notes system tailored for Anki users, utilizing the Model Context Protocol (MCP) to enhance note management functionalities.

To use the Anki-MCP Server, install the necessary dependencies, build the server, and configure it with Claude Desktop according to the provided installation instructions.

  • Resource structure for managing notes with URIs and associated metadata. - Tools for creating new notes with specified titles and content. - A summarization prompt that aggregates the contents of notes for easy review.
  1. Creating and organizing text notes for study or reference.
  2. Easily generating summaries of multiple notes for revision purposes.
  3. Integrating with other applications via the MCP for enhanced productivity.

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": {
    "anki-mcp-server-scorzeth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anki-mcp-server-scorzeth"
      ]
    }
  }
}

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": {
    "anki-mcp-server-scorzeth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anki-mcp-server-scorzeth"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "anki-mcp-server-scorzeth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anki-mcp-server-scorzeth"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "anki-mcp-server-scorzeth": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anki-mcp-server-scorzeth"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "anki-mcp-server-scorzeth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anki-mcp-server-scorzeth"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "anki-mcp-server-scorzeth": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-anki-mcp-server-scorzeth"
      ]
    }
  }
}

FAQ

Can I run Anki-MCP Server on both Windows and MacOS?

Yes, the server can be configured on both operating systems as described in the installation section.

What technologies is Anki-MCP Server built on?

The server is built using TypeScript and follows the Model Context Protocol structures.

Is there support for debugging the server?

Yes, the MCP Inspector tool can be used for debugging, providing a user-friendly interface for tracking server communications.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":263,"uuid":"f6b9d18b-60b1-43c3-b922-b258bb36bf0b","name":"anki-mcp-server","title":"Anki Mcp Server","description":"An MCP server for Anki","avatar_url":"https://avatars.githubusercontent.com/u/1350160?v=4","created_at":"2024-12-13T10:44:12.289Z","updated_at":"2024-12-13T12:28:11.613Z","status":"created","author_name":"scorzeth","author_avatar_url":"https://avatars.githubusercontent.com/u/1350160?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/scorzeth/anki-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":"ac5d938f-eafd-4a8c-a236-c6b106ddd07d","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":"/path/to/anki-mcp-server/build/index.js","server_params":"{}","server_config":"","allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]