Cover image
Try Now
2025-03-20

A model context protocol server that connects to Anki through AnkiConnect

3 years

Works with Finder

2

Github Watches

3

Github Forks

34

Github Stars

anki-mcp MCP Server

A server to integrate with Anki via the AnkiConnect plugin

This is a TypeScript-based MCP server that integrates with Anki via the AnkiConnect plugin. It demonstrates core MCP concepts by providing:

  • Resources representing Anki decks and note models with URIs
  • Tools for creating and managing Anki notes
  • Integration with AnkiConnect API

Features

Resources

  • List and access Anki decks via anki://decks/{id} URIs
  • List and access note models via anki://models/{id} URIs
  • JSON representation of Anki objects

Tools

  • listDecks - Get names of all decks
  • listModels - Get names of all note models
  • getModel - Get details of a specific note model
  • addNote - Create a single note
    • Specify deck name, model name, fields and tags
  • addNotes - Create multiple notes in bulk
    • Create many notes with specified parameters

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "anki-mcp": {
      "command": "node",
      "args": ["d:\\anki-mcp-server\\build\\index.js"]
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Khalid kalib
  • Write professional emails

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • ariofarmani
  • Test repository for GitHub MCP server functionality

    Reviews

    1 (1)
    Avatar
    user_dJqYiQ0Z
    2025-04-16

    As a dedicated user of the anki-mcp-server, I must say this application is an absolute game-changer for Anki enthusiasts. Designed by CamdenClark, it effortlessly enhances productivity and organization for managing Anki decks. The seamless integration and user-friendly interface have significantly improved my study sessions. Highly recommend checking it out on GitHub!