create-deckLABSCO SUMMARY
Cards land in Anki as you make them, not after.
It covers the two card types most decks are made of, basic and cloze, and can go back and edit a note by ID rather than only adding. Everything runs through AnkiConnect against your local Anki, which is why the app has to be open — and also why the cards appear in the deck you are already looking at.
What it is
A Node server that talks to a running Anki through the AnkiConnect add-on: creating decks, basic cards and cloze deletions, and editing notes that are already there.
What you get
- New decks created by name
- Basic front/back cards written into a named deck, with optional tags
- Cloze deletion cards using {{c1::text}} syntax, with optional extra text on the back
- Existing basic cards updated by note ID — front, back or tags
- Existing cloze cards updated the same way
Requirements
Anki installed and running with the AnkiConnect add-on enabled — everything goes through it, so nothing works while Anki is closed. Node.js 16 or higher; clone, npm install, npm run build, then point the client at the built build/index.js by absolute path.
Setup effort
Build from source — git clone https://github.com/jasperket/clanki.git
USE CASES
Turning a study session into cards
Create the deck, then write basic front/back cards into it with tags as you go.
Making cloze cards out of a passage
Mark the deletions with {{c1::text}} and the card goes in, with optional extra text on the back.
Fixing a card you got wrong
Update the note by its ID and change the front, back or tags without touching the rest of the deck.
Reworking a cloze you over-blanked
Update the cloze note by ID and change its text or its extra field.
Keeping a subject's cards findable
Tag cards at creation time so a deck of hundreds stays searchable later.
5 tools
Listed in project docs. Your client may show a different list.
create-cardcreate-cloze-cardupdate-cardupdate-cloze-cardBEFORE YOU INSTALL
What to know first
Tools you get
5 tools named in the project's documentation.
Requires
Node.js 16 or later
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone and build this one yourself.
Server setup
git clone https://github.com/jasperket/clanki.git
cd clanki
npm install
npm run buildMCP Clients
Claude Desktop
{
"mcpServers": {
"clanki": {
"command": "node",
"args": [
"<YOUR_PATH_TO_CLANKI>/build/index.js"
]
}
}
}