原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Anki MCP

作者:arielbk版本 0.3.2i★ –i在你的电脑上运行
注册名称io.github.arielbk/anki-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for integrating with Anki flashcards through conversational AI

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

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

在终端中运行这条命令

claude mcp add anki -- npx -y @arielbk/anki-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

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

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

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

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 arielbk 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18436 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18436 个服务器的 0% 更新
  • 基础检查结果等于或优于此分类中其他 18436 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Anki MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.2)于14个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Tethered Trust

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 2113天前更新
安装

Tethered Trust

作者:tetheredtrust.com

Fit, compatibility and recall checks for AI agents before they buy: verdicts, evidence, receipts.

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

🧠 Anki MCP

Transform your Anki flashcard experience with AI! This MCP (Model Context Protocol) server bridges your Anki flashcard collection with AI assistants like Claude, enabling natural conversations about your study materials.

🚀 What Can You Do?

Imagine having an AI tutor that knows your entire flashcard collection and can:

📚 Interactive Learning
  • _"Quiz me on Japanese vocabulary I haven't seen in 3 days"_
  • _"Test me on challenging cards from my medical deck"_
  • _"Show me cards I've been struggling with recently"_
✨ Smart Content Creation
  • _"Create flashcards about photosynthesis with diagrams"_
  • _"Turn this PDF chapter into spaced repetition cards"_
  • _"Generate cloze deletion cards from my lecture notes"_
🔍 Powerful Analytics
  • _"Which topics am I struggling with most?"_
  • _"Show me my study patterns for the last month"_
  • _"What's my retention rate for different card types?"_
🎯 Bulk Operations
  • _"Tag all my chemistry cards with 'exam-prep'"_
  • _"Move cards with low retention to an intensive review deck"_
  • _"Find and fix duplicate cards across my decks"_

🎯 Features

  • 🎯 Smart Tool Design: Intuitive, high-level tools designed specifically for AI agents
  • 💬 Natural Conversations: Talk to Claude about your flashcards like you would a study buddy
  • ⚡ Lightning Fast: Efficient operations that don't bog down your AI assistant
  • 📦 Bulk Operations: Update thousands of cards at once with simple commands
  • 📊 Study Insights: Deep analytics on your learning progress and patterns
  • 🎨 Rich Media: Full support for images, audio, and other media in your cards
  • 🔍 Powerful Search: Leverage Anki's advanced search syntax through natural language
  • 🔒 Rock Solid: Fully typed TypeScript with comprehensive error handling

🛠 Technical Stack

  • [Node.js](https://nodejs.org/): Runtime environment (18+ required)
  • [TypeScript](https://www.typescriptlang.org/): Type safety and developer experience
  • [MCP SDK](https://github.com/modelcontextprotocol/typescript-sdk): Model Context Protocol implementation
  • [yanki-connect](https://www.npmjs.com/package/yanki-connect): 🙏 _Fully-typed, isomorphic AnkiConnect API client_
  • [tsup](https://github.com/egoist/tsup): Fast TypeScript bundler
  • [PNPM](https://pnpm.io/): Efficient package manager

_Special thanks to the yanki-connect library for providing the robust AnkiConnect interface that powers this integration!_

📋 Prerequisites

1. Install Anki

Download and install Anki if you haven't already.

2. Install AnkiConnect Plugin
  1. Open Anki
  2. Go to Tools → Add-ons
  3. Click Get Add-ons...
  4. Enter code: 2055492159
  5. Restart Anki

📋 Version Requirements: This server requires AnkiConnect version 25.2.25.0 or newer (released 2025-02-25) for full compatibility. Most features work with older versions, but we recommend updating for the best experience.

3. Configure AnkiConnect (Optional)

AnkiConnect works out of the box, but you can customize settings:

  1. Go to Tools → Add-ons
  2. Select AnkiConnect and click Config
  3. Default settings should work fine for most users

🚀 Quick Start

Option 1: Use with Claude Desktop (Recommended)
  1. Install the package
   npm install -g @arielbk/anki-mcp
  1. Configure Claude Desktop

Edit your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Add this configuration:

   {

"mcpServers": { "anki": { "command": "anki-mcp", "args": [] } } }

  1. Restart Claude Desktop
  1. Start using it!
  • Make sure Anki is running with AnkiConnect enabled
  • Ask Claude: _"Show me my Anki decks"_ or _"Quiz me with 5 cards"_

💡 Pro Tip: You can test your setup by asking Claude simple questions like _"How many Anki decks do I have?"_ or _"What's in my largest deck?"_

Option 2: Development Setup
  1. Clone the repository
   git clone https://github.com/arielbk/anki-mcp.git

cd anki-mcp

  1. Install dependencies
   pnpm install
  1. Build the project
   pnpm build
  1. Test the server
   # Use the MCP inspector to test functionality

pnpm inspect

Option 3: Use with Other MCP Clients

This server works with any MCP-compatible client. You can also use it with:

  • [MCP Inspector](https://github.com/modelcontextprotocol/inspector): Interactive debugging tool
  • [Cline](https://github.com/clinebot/cline): VS Code extension for AI coding
  • Custom MCP clients: Build your own using the MCP SDK

For stdio transport, run:

node dist/index.js

For localhost HTTP (Streamable HTTP) transport, run:

node dist/index.js --http --host=127.0.0.1 --port=3000

The MCP endpoint will be at http://127.0.0.1:3000/mcp

Clients that support Streamable HTTP can connect directly. Legacy SSE clients may still work via client-side fallback.

🎮 Usage Examples

Once configured with Claude Desktop, you can have natural conversations like:

📖 Study Sessions
You: "I have a Japanese exam tomorrow. Can you quiz me on Hiragana cards I haven't reviewed in a week?"

Claude: I'll find your Hiragana cards that need review and start a quiz session...

📝 Content Creation
You: "Create flashcards for the major battles of World War II with dates and significance"

Claude: I'll create comprehensive flashcards covering the key WWII battles...

📊 Study Analytics
You: "How am I doing with my medical terminology deck? Show me my weak areas."

Claude: Let me analyze your performance on the medical terminology deck...

🏷️ Organization
You: "Tag all cards about cardiovascular system with 'cardiology' and move them to my MCAT prep deck"

Claude: I'll help you organize those cards...

🔧 Available Tools

The server provides 7 intuitive tools that cover everything you need:

📝 Manage Flashcards

Create, update, delete, and search your flashcards. Perfect for content creation, bulk updates, and organization.

🎯 Study Sessions

Run interactive quiz sessions, manage card scheduling, and track which cards need review.

📚 Manage Decks

Create and organize decks, move cards around, and configure deck settings.

📊 Get Analytics

Dive into your study statistics, review history, and learning patterns.

🎨 Manage Models

Customize note types, add fields, modify templates, and style your cards.

🔧 Anki Operations

Handle sync, media files, imports/exports, and other utility operations.

🖼️ Get Media File

Retrieve media files (images, audio, etc.) from your Anki collection. AI assistants can analyze images directly (though they won't display in the UI).

💡 Pro Tip: Many operations support pagination to prevent overwhelming your context window. Use limit and offset parameters when working with large result sets.

🛠 Development

# Run in development mode with auto-reloading

pnpm dev

Lint the code

pnpm lint

Format the code

pnpm format

Test with MCP inspector

pnpm inspect

🔧 Configuration

AnkiConnect Settings

The server connects to AnkiConnect on localhost:8765 by default. If you've customized your AnkiConnect configuration, you may need to adjust the connection settings.

Important: Make sure Anki is running and AnkiConnect is installed before using the MCP server. The server will fail to connect if AnkiConnect is not accessible.

💡 Note: The underlying yanki-connect library supports auto-launching Anki on macOS, but this feature is not currently exposed in the MCP server configuration. You'll need to start Anki manually.

Claude Desktop Advanced Configuration

For advanced users, you can pass additional parameters:

{

"mcpServers": { "anki": { "command": "anki-mcp", "args": ["--verbose"], "env": { "ANKI_CONNECT_HOST": "localhost", "ANKI_CONNECT_PORT": "8765" } } } }

Troubleshooting

Common Issues:

  • "Failed to connect to AnkiConnect": Ensure Anki is running and AnkiConnect plugin is installed
  • "No decks found": Make sure you have at least one deck in Anki
  • Claude doesn't respond: Restart Claude Desktop after configuration changes
  • Permission errors: Check that the global npm install worked correctly with npm list -g @arielbk/anki-mcp

🤝 Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

📜 License

MIT - see LICENSE file for details.

🙏 Acknowledgments

  • [yanki-connect](https://github.com/kitschpatrol/yanki-connect) - Excellent TypeScript client for AnkiConnect
  • [AnkiConnect](https://github.com/FooSoft/anki-connect) - The plugin that makes Anki automation possible
  • [Model Context Protocol](https://modelcontextprotocol.io) - Enabling seamless AI integrations

_Transform your flashcard experience with AI-powered conversations! 🚀_

问 PopNx