nailuogg/anki-mcp-server/anki

Claude Code and agent skill by nailuogg/anki-mcp-server

Trust tier 2
  • community
  • ext:[{"type":"plugin","description":"Custom plugin integration"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when the user wants to create Anki flashcards, manage Anki decks, search notes, or interact with Anki via AnkiConnect. Triggers on phrases like "create flashcards", "add to Anki", "make Anki cards", "batch create notes", or "manage my Anki deck".

Install

npx vskill@latest install nailuogg/anki-mcp-server/anki

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as nailuogg/anki-mcp-server/anki.

Anki MCP Server Skill

Create and manage Anki flashcards through the anki-mcp-server MCP integration.

Prerequisites

  1. Anki desktop app is running
  2. AnkiConnect addon installed (default port 8765)
  3. MCP server configured in your MCP client:
json
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["-y", "anki-mcp-server"]
}
}
}

Quick Reference

GoalToolKey Args
Check connectionanki_check_connection—
List all decksanki_list_decks—
Create deckanki_create_deckname
List all tagsanki_list_tags—
Add note tagsanki_add_note_tagsnoteId or noteIds, tags
Remove note tagsanki_remove_note_tagsnoteId or noteIds, tags
Create one noteanki_create_notetype, deck, fields
Batch create notesanki_batch_create_notesnotes[] (10–20 per batch)
Search notesanki_search_notesquery (Anki syntax), limit, offset
Get note detailsanki_get_note_infonoteId
Update noteanki_update_noteid, fields, tags
Delete noteanki_delete_notenoteId or noteIds
List note typesanki_list_note_types—
Get field namesanki_get_note_type_infomodelName

Legacy unprefixed tool names still work, but prefer the anki_* tools for new workflows.

Core Workflows

From text/notes → Flashcards
  1. Call anki_list_decks to confirm target deck (create if needed)
  2. Call anki_get_note_type_info to confirm field names for the chosen type
  3. Extract knowledge points — one concept per card
  4. Call anki_batch_create_notes (10–20 notes per call, max 50)

Minimum information principle: Each card tests exactly one thing.

Note Types
TypeFieldsUse For
BasicFront, BackDefinitions, facts, Q&A
ClozeText with {{c1::deletion}}Fill-in-the-blank, sequences

Always call `anki_get_note_type_info` first when using custom note types — field names vary.

Batch Create Example
json
{
"notes": [
{
"type": "Basic",
"deck": "Programming::Python",
"fields": {
"Front": "What does list comprehension look like in Python?",
"Back": "[expr for item in iterable if condition]"
},
"tags": ["python", "syntax"]
},
{
"type": "Cloze",
"deck": "Programming::Python",
"fields": {
"Text": "In Python, {{c1::def}} defines a function and {{c2::return}} sends back a value."
},
"tags": ["python", "basics"]
}
],
"allowDuplicate": false,
"stopOnError": false
}
Search Syntax
deck:Python # Cards in Python deck
tag:重要 is:due # Due cards tagged "重要"
is:new # Unseen cards
note:Basic # Cards using Basic note type
"exact phrase" # Exact text match
Tags

Use anki_list_tags to inspect existing tags. For metadata-only changes, prefer anki_add_note_tags and anki_remove_note_tags; use anki_update_note only when replacing the full tag list.

Deck Naming

Use :: for hierarchy: Language::English::Vocabulary, CS::Algorithms::Sorting

Common Mistakes

MistakeFix
Not calling anki_get_note_type_info firstAlways check field names before creating notes with custom types
Batches > 50 notesSplit into multiple calls of 10–20
Anki not runningStart Anki, verify AnkiConnect is active
Wrong field namesField names are case-sensitive — use anki_get_note_type_info to verify

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
240
Repository forks
39
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nailuogg/anki-mcp-server/anki/badge)](https://verified-skill.com/skills/nailuogg/anki-mcp-server/anki)

Something wrong with this skill or its page? Tell us.