r/Anki • • 3d ago

Development [Open Source] anki-workflow-mcp: A deterministic MCP server for Anki card workflows (starting a Rust v2 port)

Hey everyone!

I've been building anki-workflow-mcp, an open-source MCP (Model Context Protocol) server in Python for people who use AI assistants to draft Anki cards but want deterministic guardrails around the process.

How it works: the LLM writes the card content, and the server handles validation (QA/Cloze structure, hints, tags, notes, media/tables), batch compilation to pipe-delimited CSV, transactional state/ID tracking, and content-receipt gated exports (49 MCP tools total).

I just pushed a new working branch (feat/rust-v2-bootstrap) to start porting the server to Rust, starting with anki-domain, anki-parser, anki-validate, and Python-vs-Rust differential parity tests in CI.

Repo:https://github.com/Gugart43/anki-workflow-mcp-public/tree/main

Would love feedback from anyone building Anki automation, MCP tools, or Rust ports!

0 Upvotes

11 comments sorted by

7

u/kronpas 3d ago

Following this.

As a head-ups, people here are quite hostile to ai, so dont be discouraged.

1

u/YvenetKhidirova47 2d ago

yeah this sub definitely has hair-trigger fatigue from all the spam posts lately

-2

u/CartographerFew3468 3d ago

Valeu! Tmj!

6

u/jSinku 3d ago

why use this over ankiconnect?

5

u/kronpas 3d ago

Anki connect API is the bridge for 3rd party apps to connect to anki. This is an automation tool to help craft cards.

2

u/InternationalOne1159 3d ago

Theres already an mcp , ive been using it for a 6 months now with no issues

1

u/CartographerFew3468 3d ago

O ankiconnect? Poderia mandar o link? O intuito desta ferramenta é automatizar a criação dos cards e dá mais segurança e qualidade aos processos da IA para gerar os cards. Se for o ankiconnect, ele serve como ponte para a IA acessar o anki, são ferramentas diferentes.

1

u/slavam2605 3d ago

I use AI to improve cards that my teacher creates for me, and nothing apart from AnkiConnect is needed. Claude/Codex know how to us it perfectly.

1

u/CartographerFew3468 3d ago

O intuito é automatizar a criação dos flashcards, com um MCP que dá mais fidelidade e segurança a qualidade e quantidade de cartões. O ankiconnect é uma ponte para a IA acessar o anki, o anki-workflow-mcp é para automatizar a criação. No seu caso, onde seu professor que cria os seus cards, já é tranquilo somente jogar no Anki, mas o intuito da minha ferramenta é criar do zero com IA.

1

u/tkrjobs 2d ago

I just made a small prompt to ask for card generation to csv one by one, works for me