Skip to main content
Glama

Clanki - Claude 的 Anki 集成

MCP 服务器使 Claude 等 AI 助手能够通过模型上下文协议 (MCP) 与 Anki 抽认卡组进行交互。

特征

  • 创建和管理 Anki 卡组

  • 创建包含正面/背面内容的基本抽认卡

  • 创建完形填空卡

  • 更新现有卡片并完成填空

  • 添加和管理标签

  • 查看卡组内容和卡牌信息

  • 与 AnkiConnect 完全集成

Related MCP server: Anki MCP Server

先决条件

  • Anki安装并运行

  • 在 Anki 中安装AnkiConnect插件

  • Node.js 16 或更高版本

安装

  1. 克隆此存储库:

git clone https://github.com/yourusername/clanki.git
cd clanki
  1. 安装依赖项:

npm install
  1. 构建项目:

npm run build

设置

  1. 确保 Anki 正在运行并且 AnkiConnect 插件已安装并启用

  2. 通过编辑claude_desktop_config.json配置 Claude for Desktop 以使用服务器:

{
  "mcpServers": {
    "clanki": {
      "command": "node",
      "args": ["/absolute/path/to/clanki/build/index.js"]
    }
  }
}

/absolute/path/to/clanki替换为 clanki 安装的实际路径。

可用工具

创建甲板

创建一个新的 Anki 卡组

  • 参数:

    • name :新卡组的名称

创建卡片

在指定的卡组中创建新的基本抽认卡

  • 参数:

    • deckName :要添加卡片的牌组的名称

    • front :卡片正面的内容

    • back :卡片背面的内容

    • tags :(可选)卡片的标签数组

创建完形填空卡片

在指定的牌组中创建新的完形填空删除卡

  • 参数:

    • deckName :要添加卡片的牌组的名称

    • text :使用 {{c1::text}} 语法包含完形填空的文本

    • backExtra :(可选)卡片背面显示的额外信息

    • tags :(可选)卡片的标签数组

更新卡

更新现有的基本抽认卡

  • 参数:

    • noteId :要更新的注释的 ID

    • front :(可选)新的正面内容

    • back :(可选)新的背面内容

    • tags :(可选)卡片的新标签

更新完形填空卡片

更新现有的完形填空删除卡

  • 参数:

    • noteId :要更新的注释的 ID

    • text :(可选)带有完形填空删除的新文本

    • backExtra :(可选)背面的新附加信息

    • tags :(可选)卡片的新标签

发展

要修改或扩展服务器:

  1. 修改src/index.ts

  2. 使用npm run build重建

  3. 使用npx @modelcontextprotocol/inspector node build/index.js进行调试

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server that enables AI assistants to interact with the Anki flashcard application for studying, deck management, and note creation. It supports natural language interaction for reviewing cards, searching content, and managing media files across local and remote environments.
    1,759
    447
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI assistants to seamlessly manage Anki flashcards, decks, and templates through the AnkiConnect API. It supports intelligent querying, batch note creation, and detailed study progress analysis using natural language.
    4
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    An MCP server that enables Claude Code to create, manage, and search Anki flashcards directly from the terminal. It supports batch card creation, deck statistics retrieval, and synchronization with AnkiWeb for cross-platform review.
    8

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jasperket/clanki'

If you have feedback or need assistance with the MCP directory API, please join our Discord server