AN ANKI DESKTOP ADD-ON

Markdown cards.
Right inside Anki.

Write with Markdown, render math and code, and review everything in Anki.

✳ Built for Anki Desktop · your notes stay yours.

EXAMPLE CARDLIVE PREVIEW · DARK MODE

01 THE TOOLKIT

Write in Markdown.
See it in Anki.

Explore Markdown, math, code, and cloze cards.

01 / 10

Basic card

EXAMPLE

WHAT YOU WRITEMARKDOWN
HOW IT READSLIVE PREVIEW · DARK MODE

02 THE WORKFLOW

Familiar input.
Thoughtful output.

Keep writing in Anki. The add-on takes care of the presentation.

01 ↘
✎

Write your note

Choose a Better Markdown note type. Add a question, answer, and any useful context.

02 ↘
{ }

Use your syntax

Mix Markdown with code fences, KaTeX math, tables, and cloze deletions.

03 ↗
✳

Review in context

Preview the result in the editor, then review the rendered card in Anki.

TWO NOTE TYPESPick the shape that fits.
01BasicFront · Back · Extra
02ClozeText · Back Extra

03 GET SET UP

Set up the add-on.

Start with the add-on. Connect an AI assistant only if you need one.

01 / INSTALL↗

Add it to Anki

In Anki Desktop, open Tools → Add-ons → Get Add-ons, enter the code, and restart Anki.

2100166052

Alternatively, install a .ankiaddon file via Tools → Add-ons → Install from file. The add-on creates the Better Markdown note types when Anki starts.

View add-on on AnkiWeb ↗
02 / OPTIONAL✳

Connect an AI assistant

Connect Codex or Claude Code while your Anki profile is open.

  1. In Anki, select Tools → Better Anki Markdown: Connect Codex.
  2. Restart Codex and open a new chat.

The local server starts with your Anki profile. This action saves the connection in your Codex config. Your collection is not synced automatically.

For Claude Code, choose Tools → Better Anki Markdown: Connect Claude in Anki, or run:

CLAUDE CODE
claude mcp add --transport http --scope user better-markdown-anki http://127.0.0.1:19176/mcp

Start a new Claude Code session after setup. This configures Claude Code; the Claude Desktop chat app uses separate settings.

Connect another MCP client

Open an Anki profile, then add a Streamable HTTP server at http://127.0.0.1:19176/mcp.

For Copilot CLI, run:

COPILOT CLI
copilot mcp add --transport http better-markdown-anki http://127.0.0.1:19176/mcp

In Antigravity, open the agent panel menu → MCP Servers → Manage MCP Servers → View raw config, and add the URL as a serverUrl entry.

Local by default. The server listens only on 127.0.0.1. While enabled, local programs can read and change the open collection. Don’t expose the port publicly.
✳

HTML walkthroughs are experimental. Use trusted, self-contained files and test playback and media sync on your devices.

Anki media guide ↗