feat: initial implementation of anki-mcp MCP server

Implements a FastMCP server that wraps AnkiConnect (localhost:8765)
to expose Anki flashcard management as Claude MCP tools.

Tools provided:
- list_decks: list all deck names
- create_deck: create nested decks (:: separator)
- add_card: add Basic flashcard with optional tags
- get_due_cards: fetch today's due cards with optional deck filter
- update_card: edit front/back of existing note
- update_deck: rename deck (move-cards approach)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
joungmin
2026-02-28 07:42:31 +09:00
commit f0a3eaeec5
7 changed files with 318 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
.env
.venv/
__pycache__/
*.pyc
*.pyo
.pytest_cache/
*.egg-info/
dist/
build/
.DS_Store