NA

nietus/anki-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

44 stars 13 forks Качество 84 Тренд 8MIT

nietus/anki-mcp - кандидат на сервер MCP, импортированный из https://github.com/nietus/anki-mcp.

Обзор

nietus/anki-mcp - кандидат на сервер MCP, импортированный из https://github.com/nietus/anki-mcp.

Обзор (машинный перевод)

Изучайте и управляйте своей коллекцией Anki, общаясь с Клодом (или любым клиентом MCP). 35 инструментов по сравнению с AnkiConnect: проверьте в чате, посмотрите, что нужно и как происходит удержание, найдите карты, которые вы постоянно забываете, создайте и очистите заметки оптом, и приостановите целые группы карт, пока не захотите их вернуть.

Что вы можете спросить

  • “Что мне сегодня изучать?” → должные подсчеты на колоду, полосу, отзывы на этой неделе. «Вызовите меня по 10 карточкам из моей испанской колоды». → один вопрос за раз, оцененный и записанный в Анки со следующим интервалом.
  • Какие карты я продолжаю ошибаться? Помогите мне исправить их». → Пиявки, их обзорная история, и переписывайте вы одобряете.
  • “Приостановите все помеченные HSK5 до моего экзамена, и сделайте так, чтобы было легко вернуть”. - Названа пауза, которая восстанавливает именно те карты, планируя неповрежденными.
  • “Переверните эту статью в карточки в моей биологической колоде.” → дублированный проверенный объем добавить. “Добавьте аудио на каждую карту в этой колоде, у которой его нет”. Azure TTS оптом.
  • “Переместите карты, помеченные grammar, в новую подпалубу” / “переименуйте тег todo в review” / “распространите мое отставание в течение следующих двух недель”.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

anki-mcp

Study and manage your Anki collection by talking to Claude (or any MCP client). 35 tools over AnkiConnect: get quizzed in chat, see what is due and how your retention is going, find the cards you keep forgetting, create and clean up notes in bulk, and pause whole groups of cards until you want them back.

What you can ask

  • “What do I have to study today?” → due counts per deck, streak, reviews this week.
  • “Quiz me on 10 due cards from my Spanish deck.” → one question at a time, graded, and recorded in Anki with the next interval.
  • “Which cards do I keep getting wrong? Help me fix them.” → leeches, their review history, and rewrites you approve.
  • “Suspend everything tagged HSK5 until my exam, and make it easy to bring back.” → named pause that restores exactly those cards, scheduling intact.
  • “Turn this article into cloze cards in my Biology deck.” → duplicate-checked bulk add.
  • “Add audio to every card in this deck that doesn’t have it.” → Azure TTS in bulk.
  • “Move the cards tagged grammar to a new subdeck” / “rename the tag todo to review” / “spread my backlog over the next two weeks”.

Bulk changes can be previewed with a dry run, deleting always needs a confirmation step, and when Anki is closed the assistant is told to ask you to open it instead of failing silently.

Install

You need Node.js 18+, Anki running, and the AnkiConnect add-on (code 2055492159).

Claude Desktop

Download anki-mcp.mcpb from the latest release and drag it into Settings → Extensions. That’s it.

Claude Code

claude mcp add anki --scope user -- npx -y github:nietus/anki-mcp

Cursor and other MCP clients

Add this to the client’s MCP configuration:

{
  "mcpServers": {
    "anki": {
      "command": "npx",
      "args": ["-y", "github:nietus/anki-mcp"]
    }
  }
}

On Windows, if the client cannot start npx directly, use "command": "cmd" with "args": ["/c", "npx", "-y", "github:nietus/anki-mcp"].

From source

git clone https://github.com/nietus/anki-mcp
cd anki-mcp
npm install
npm run build

Then point your client at node /path/to/anki-mcp/build/client.js. To build the Claude Desktop bundle yourself, run npm run pack:mcpb (output in dist/anki-mcp.mcpb).

Configuration

All environment variables are optional. Put them in a .env file in the project folder or pass them through your MCP client.

Variable Default Purpose
Открыть полный README на GitHub

Установка

npx -y github:nietus/anki-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "anki": { "command": "npx", "args": ["-y", "github:nietus/anki-mcp"] } } }