# anki-mcp-server

> A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

- **URL**: https://www.freshcrate.ai/projects/anki-mcp-server
- **Author**: ankimcp
- **Category**: MCP Servers
- **Latest version**: `v0.19.2` (2026-06-04)
- **License**: NOASSERTION
- **Source**: https://github.com/ankimcp/anki-mcp-server
- **Homepage**: https://ankimcp.ai
- **Language**: TypeScript
- **GitHub**: 236 stars, 9 forks
- **Registry**: github
- **Tags**: `ai`, `ai-learning-tool`, `ai-tutor`, `anki`, `anki-addon`, `anki-flashcards`, `typescript`

## Description

A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v0.19.2` | 2026-06-04 | High | Tunnel client hardening — aligns the CLI's tunnel client with the tunnel relay (the source of truth) so remote MCP clients see one consistent contract, and polishes the reconnect experience.  ## 🔧 Changes - **Consistent error contract** — tunnel handler errors now return the relay's JSON-RPC envelope `{"jsonrpc":"2.0","id":null,"error":{"code","message"}}` with the relay's status/code mapping: timeout → 504/-32004, connection unavailable → 503/-32005, otherwise 500/-32006 (previously a bare `{e |
| `v0.18.5` | 2026-04-24 | High | **Full Changelog**: https://github.com/ankimcp/anki-mcp-server/compare/v0.18.4...v0.18.5 |
| `v0.18.4` | 2026-04-23 | High | **Full Changelog**: https://github.com/ankimcp/anki-mcp-server/compare/v0.18.3...v0.18.4 |
| `v0.15.1` | 2026-04-09 | High | ## Security  Add layered security validation for media operations, addressing a path traversal vulnerability that could allow arbitrary file reads via the `storeMediaFile` path parameter, and SSRF risks via URL parameters.  Reported by [Hideaki Takahashi](https://github.com/Koukyosyumei).  ### What's fixed  - **MIME type allowlist on file paths** — Only media files (images, audio, video) are accepted. Non-media files like SSH keys, credentials, and environment files are blocked. - **SSRF prevent |
| `v0.15.0-tunnel.4` | 2026-04-07 | Medium | **Full Changelog**: https://github.com/ankimcp/anki-mcp-server/compare/v0.15.0-tunnel.3...v0.15.0-tunnel.4 |
| `v0.15.0-tunnel.3` | 2026-04-06 | Medium | **Full Changelog**: https://github.com/ankimcp/anki-mcp-server/compare/v0.15.0-tunnel.2...v0.15.0-tunnel.3 |
| `v0.15.0-tunnel.2` | 2026-04-05 | Medium | **Full Changelog**: https://github.com/ankimcp/anki-mcp-server/compare/v0.15.0-tunnel.1...v0.15.0-tunnel.2 |
| `v0.15.0-tunnel.1` | 2026-04-02 | Medium | **Full Changelog**: https://github.com/ankimcp/anki-mcp-server/compare/v0.15.0...v0.15.0-tunnel.1 |
| `v0.15.0` | 2026-03-28 | Medium | ## Highlights  ### MCP Tool Annotations & Output Schemas All 33 tools now include structured MCP metadata: - **`annotations`**: `readOnlyHint`, `destructiveHint`, `idempotentHint` on every tool — clients can now programmatically identify safe vs destructive operations - **`outputSchema`**: Zod-based return type schemas on every tool — clients know the exact response structure via the MCP protocol, with runtime validation  ### Parameter Constraints - Added `.max(20)` to unbounded bucket arrays in |
| `v0.14.0` | 2026-02-17 | Low | ## What's New  ### Bulk Note Creation (`addNotes`)  New `addNotes` tool for creating up to 100 notes in a single batch. Resolves #21.  - **Shared configuration**: Set `deckName`, `modelName`, and `tags` once for the entire batch - **Per-note customization**: Each note can have its own additional tags (merged with shared tags, deduplicated) - **Partial success**: Individual note failures don't block others — each note reports `created`, `skipped`, or `failed` - **Duplicate detection**: Duplicates |

## Dependency audit

- **Score**: 98/100
- **Total deps**: 55
- **Resolved**: 55
- **Unresolved**: 0
- **License conflicts**: 0
- **Warnings**: 1
- **Scanned**: 2026-05-18

## Citation

- HTML: https://www.freshcrate.ai/projects/anki-mcp-server
- Markdown: https://www.freshcrate.ai/projects/anki-mcp-server.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/anki-mcp-server/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
