Skip to main content
Brian Sunter

Mankey

An MCP server for Anki with 45 tools for AI-powered flashcard creation, learning analytics, and intelligent review management.

TypeScript MCP Claude Anki Spaced Repetition
Cover image for Mankey

Overview

Mankey is a Model Context Protocol server that connects Claude to Anki, the popular spaced repetition flashcard application. It provides 45 comprehensive tools for AI-powered card creation, learning analytics, and intelligent review management.

Features

  • 45 Comprehensive Tools - Full coverage of Anki operations
  • AI-Powered Card Creation - Generate cards from any text, PDF, or webpage
  • Smart Review Scheduling - Optimize intervals based on performance
  • Learning Analytics - Track progress and identify knowledge gaps
  • Bulk Operations - Tag, move, and update cards efficiently
  • Auto-Batching - Handles large operations automatically

What You Can Do

Create Learning Content

  • Generate flashcards from PDFs, articles, or any text
  • Create cloze deletions for terminology
  • Build image occlusion cards from diagrams
  • Generate cards with audio for language learning

Smart Review Management

  • Find and analyze difficult cards
  • Reschedule failed cards intelligently
  • Optimize intervals for well-known cards
  • Detect and fix duplicate cards

Generate Mnemonics & Stories

  • Create stories using due vocabulary
  • Generate mnemonics for formulas
  • Build memory palace descriptions
  • Create contextual example sentences

Learning Analytics

  • Analyze review patterns
  • Predict cards likely to be forgotten
  • Identify knowledge gaps
  • Track subject-specific progress

Tool Categories

  • Cards (15 tools) - Query, info, state, actions, queue management
  • Notes (10 tools) - CRUD operations and tag management
  • Decks (7 tools) - Create, delete, configure, and get stats
  • Models (5 tools) - Query and create card templates
  • Media (3 tools) - Store and retrieve media files
  • Stats & GUI (5 tools) - Analytics and Anki interface control

Installation

Requires Anki with the Anki-Connect add-on (code: 2055492159).

json
{
  "mcpServers": {
    "anki": {
      "command": "npx",
      "args": ["mankey"]
    }
  }
}

Technology Stack

  • TypeScript MCP server with Zod validation
  • Anki-Connect API integration
  • Smart pagination and auto-batching
  • npm/bunx distribution