anki-mcp-server-integration

Integrates Anki flashcards with AI assistants via Model Context Protocol for deck management and review sessions.

7|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/mcp-skills --skill anki-mcp-server-integration-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: anki-mcp-server-integration
Source: https://github.com/reason-machines/mcp-skills/tree/main/skills/anki-mcp-server-integration
Command: npx skills add https://github.com/reason-machines/mcp-skills --skill anki-mcp-server-integration-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @ankimcp/anki-mcp-server.

What problem does it solve? Managing Anki flashcards manually requires switching between the Anki app and your study materials, making it hard to create cards in bulk, run interactive review sessions, or organize decks conversationally with an AI assistant. ## Core Features & Use Cases - Interactive Review Sessions: Sync with AnkiWeb, fetch due cards, present questions, and rate answers through MCP tools like get_due_cards, present_card, and rate_card. - Batch Card Creation: Create up to 100 notes at once with addNotes, including tags, custom note types, and nested decks. - Media and Tag Management: Import images or audio via file path, URL, or base64, and organize notes with tag add, remove, and rename operations. - Use Case: Ask your AI assistant to create 10 Arabic vocabulary cards with tags in a nested deck, then start a review session for your Spanish deck where the AI presents each due card and records your ease rating. ## Quick Start Install the AnkiConnect plugin in Anki, then ask your AI assistant to set up the anki-mcp server and create flashcards in your chosen deck.

Frequently Asked Questions about anki-mcp-server-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect an AI assistant to Anki?▼

Install the AnkiConnect plugin in Anki (add-on code 2055492159), keep Anki running, then configure the anki-mcp server in your MCP client such as Claude Desktop or Cursor using npx @ankimcp/anki-mcp-server with the stdio flag.

How to create flashcards in Anki with Claude?▼

Use the addNotes MCP tool to batch-create up to 100 notes at once, specifying deckName, modelName, fields, and tags. Check available note types first with modelNames and modelFieldNames to match field names correctly.

Does the Anki MCP server work with ChatGPT or web-based AI?▼

Yes, run the server in HTTP mode with the --ngrok flag to expose a public tunnel URL, then share that endpoint with ChatGPT or Claude.ai as an MCP server. STDIO mode is used for desktop clients instead.

Why is AnkiConnect not responding to the MCP server?▼

Verify Anki is running and AnkiConnect is installed under Tools then Add-ons, then test http://localhost:8765 with curl. If using HTTP mode, add your application origin to webCorsOriginList in the AnkiConnect config.

What are the limitations of Anki MCP deck creation?▼

Deck nesting supports only two levels in the Parent::Child format, so deeper hierarchies like Languages::Spanish::Verbs fail. Media uploads via base64 are slow, so file paths or URLs are recommended instead.