# anki-mcp-server-integration

anki-mcp-server-integration connects your AI agent to desktop Anki via Model Context Protocol to review spaced repetition cards, create notes in batches, and manage decks.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 180 installs · ★ 9 repo stars
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/anki-mcp-server-integration/SKILL.md
- Updated: 2026-10-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/anki-mcp-server-integration

## What it does

This skill turns your assistant into a spaced repetition partner. The agent interacts with `@ankimcp/anki-mcp-server` to fetch scheduled cards using `get_due_cards`, presents prompts, and records retention ratings on a scale from 1 to 4. It also supports batch note creation for up to 100 entries at once and attaches media to card fields.

The setup routes traffic to AnkiConnect at `http://localhost:8765`. If you want to prevent accidental modifications to your decks, enable the `--read-only` flag or define `READ_ONLY=true`.

The server fails immediately if the Anki desktop application is not running with the AnkiConnect add-on active. Node.js version 20.19.0 or higher is strictly required.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill anki-mcp-server-integration -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/anki-mcp-server-integration/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/anki-mcp-server-integration/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill anki-mcp-server-integration -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/anki-mcp-server-integration/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill anki-mcp-server-integration -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/anki-mcp-server-integration/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/mcp-skills skills/anki-mcp-server-integration
```

2. **Manually: put the files in place**
- File: `.github/skills/anki-mcp-server-integration/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill anki-mcp-server-integration -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/anki-mcp-server-integration
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/anki-mcp-server-integration/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill anki-mcp-server-integration -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/anki-mcp-server-integration/SKILL.md

## When to use it
- run interactive flashcard review sessions directly inside the AI chat
- generate and import study notes in batches up to 100 items
- attach local or remote image files to existing card fields
- inspect deck statistics and create nested study decks

## Example prompts
- Help me review my due cards from the Spanish deck
- Create 10 vocabulary cards for my Arabic::Vocabulary deck
- Check deck statistics across all my Anki decks

## Similar
- [anki](https://affpapa.org/en/nevibecode/skills/anki.md) — skill · 534 installs
- [Anki MCP Server](https://affpapa.org/en/nevibecode/mcp/anki-mcp-server.md) — MCP server · ★ 572 repo stars
- [anki-connect](https://affpapa.org/en/nevibecode/skills/anki-connect.md) — skill · 930 installs
- [flashcards](https://affpapa.org/en/nevibecode/skills/flashcards.md) — skill · 826 installs
- [anki-mcp](https://affpapa.org/en/nevibecode/mcp/anki-mcp.md) — MCP server · ★ 11 repo stars
- [study-habits](https://affpapa.org/en/nevibecode/skills/study-habits.md) — skill · 366 installs

From the same set: [reason-machines/mcp-skills](https://affpapa.org/en/nevibecode/by/reason-machines/mcp-skills.md) — 98 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
