NA

nailuogg/anki-mcp-server

Developer tools

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

252 stars 38 forks Качество 77 Тренд 38

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

Обзор

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

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

Сервер Model Context Protocol (MCP), который позволяет LLM взаимодействовать с программным обеспечением для флеш-карт Anki через AnkiConnect.

Особенности

Инструменты

  • anki_check_connection - Проверьте, доступен ли AnkiConnect
  • anki_list_decks - Перечислить все доступные колоды Anki, по желанию с идентификаторами колоды
  • anki_create_deck - Создать новую колоду Anki
  • anki_list_tags - Список всех тегов, используемых в коллекции
  • anki_add_note_tags - Добавить теги к одной или нескольким заметкам
  • anki_remove_note_tags - Удаление тегов с одной или нескольких нот
  • anki_create_note - Создать новую ноту
  • anki_batch_create_notes - Создавать несколько нот одновременно
  • anki_search_notes - Поиск заметок с использованием синтаксиса запросов Anki
  • anki_get_note_info - Получить подробную информацию о записке
  • anki_update_note - Обновление полей и/или тегов существующей заметки
  • anki_delete_note - Удалить одну или несколько нот
  • anki_list_note_types - Перечислить все доступные типы нот
  • anki_create_note_type - Создать новый тип нот
  • anki_get_note_type_info - Получить подробную структуру типа ноты
  • anki_sync - Триггер синхронизации AnkiWeb; требуется {"confirm": true}, поскольку полная синхронизация может объединять или перезаписывать локальные и удалённые коллекции.

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

README

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

Anki MCP Server

A Model Context Protocol (MCP) server that enables LLMs to interact with Anki flashcard software through AnkiConnect.

Features

Tools

  • anki_check_connection - Check whether AnkiConnect is reachable
  • anki_list_decks - List all available Anki decks, optionally with deck IDs
  • anki_create_deck - Create a new Anki deck
  • anki_list_tags - List all tags currently used in the collection
  • anki_add_note_tags - Add tags to one or more notes
  • anki_remove_note_tags - Remove tags from one or more notes
  • anki_create_note - Create a new note
  • anki_batch_create_notes - Create multiple notes at once
  • anki_search_notes - Search for notes using Anki query syntax
  • anki_get_note_info - Get detailed information about a note
  • anki_update_note - Update an existing note’s fields and/or tags
  • anki_delete_note - Delete one or multiple notes
  • anki_list_note_types - List all available note types
  • anki_create_note_type - Create a new note type
  • anki_get_note_type_info - Get detailed structure of a note type
  • anki_sync - Trigger AnkiWeb sync; requires {"confirm": true} because a full sync can merge or overwrite local and remote collections. Success means Anki accepted the request, not that AnkiWeb received the data; a blocking dialog in Anki can silently keep the sync queued

Legacy unprefixed tool names such as create_note and list_decks remain callable for existing clients, but new agent integrations should use the anki_* names.

Resources

  • anki://decks/all - Complete list of available decks with deck IDs
  • anki://tags/all - Complete list of tags
  • anki://note-types/all - List of all available note types
  • anki://note-types/all-with-schemas - Detailed structure information for all note types
  • anki://note-types/{modelName} - Detailed structure information for a specific note type

Prerequisites

  1. Anki installed on your system
  2. AnkiConnect add-on installed in Anki
  3. Node.js 20.11 or newer

Configuration

Install via Desktop Extension (.mcpb)

This repository supports Anthropic Desktop Extensions (MCPB). The easiest way to use this server in Claude Desktop is by installing the packaged .mcpb bundle.

  1. Generate the .mcpb file locally using the provided script:
npm run mcpb
  1. Open Claude Desktop Settings → Extensions and drag the generated .mcpb file in, then click Install.

This validates manifest.json and outputs a .mcpb archive you can install as above. Learn more about Desktop Extensions in Anthropic’s announcement: Desktop Extensions: One-click MCP server installation for Claude Desktop.

Usage with Claude Desktop

Add the server to your claude_desktop_config.json:

{
  "mcpServers": {
    "anki": {
      "command": "npx",
Открыть полный README на GitHub

Установка

npx --yes anki-mcp-server
Новичок в MCP? Начните с руководства на mcpskill.org →

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

{ "mcpServers": { "anki": { "command": "npx", "args": ["--yes", "anki-mcp-server"] } } }