TalkToAnki MCP Server

一个优化的 MCP (Model Context Protocol) 工具,通过 AnkiConnect 与 Anki 无缝集成,为AI助手提供强大的 Anki 操作能力。

Local serverstdioPython

What is the TalkToAnki MCP Server?

一个优化的 MCP (Model Context Protocol) 工具,通过 AnkiConnect 与 Anki 无缝集成,为AI助手提供强大的 Anki 操作能力。

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
anki_get_deck_names获取所有卡组列表
anki_create_deck创建新卡组
anki_get_deck_stats获取卡组统计信息
anki_add_note添加新卡片
anki_find_notes查询卡片
anki_get_note_info获取卡片详细信息
anki_sync同步Anki数据库
anki_get_server_info获取服务器状态和配置信息
anki_update_note更新现有卡片内容和标签
anki_delete_notes批量删除卡片
anki_move_notes将卡片移动到指定卡组
anki_suspend_notes暂停或恢复卡片学习
anki_get_due_cards获取到期需要复习的卡片信息

How to install the TalkToAnki MCP Server

{
  "mcpServers": {
    "anki": {
      "command": "python",
      "args": [
        "/path/to/your/project/TalkToAnki/talktoanki_server.py"
      ],
      "env": {
        "ANKI_CONNECT_URL": "http://localhost:8765",
        "ANKI_CONNECT_VERSION": "6",
        "LOG_LEVEL": "INFO"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
ANKI_CONNECT_URLDeclared in the maintainer’s client configuration.Check documentation
ANKI_CONNECT_VERSIONDeclared in the maintainer’s client configuration.Check documentation
LOG_LEVELDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use TalkToAnki to Anki.”
  • “Use TalkToAnki to anki get deck names.”
  • “Use TalkToAnki to anki create deck.”

Frequently asked questions

一个优化的 MCP (Model Context Protocol) 工具,通过 AnkiConnect 与 Anki 无缝集成,为AI助手提供强大的 Anki 操作能力。 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.