Skip to main content
Glama

Clanki - Claude의 Anki 통합

Claude와 같은 AI 도우미가 Model Context Protocol(MCP)을 통해 Anki 플래시카드 덱과 상호 작용할 수 있도록 하는 MCP 서버입니다.

특징

  • Anki 데크를 만들고 관리하세요

  • 앞면/뒷면 내용이 있는 기본 플래시카드 만들기

  • 빈칸 삭제 카드 만들기

  • 기존 카드 업데이트 및 삭제된 내용 삭제

  • 태그 추가 및 관리

  • 덱 내용 및 카드 정보 보기

  • AnkiConnect와의 완벽한 통합

Related MCP server: Anki MCP Server

필수 조건

  • Anki 설치 및 실행

  • Anki에 AnkiConnect 플러그인이 설치되었습니다.

  • Node.js 16 이상

설치

  1. 이 저장소를 복제하세요:

지엑스피1

  1. 종속성 설치:

npm install
  1. 프로젝트를 빌드하세요:

npm run build

설정

  1. Anki가 실행 중이고 AnkiConnect 플러그인이 설치되어 활성화되어 있는지 확인하세요.

  2. claude_desktop_config.json 편집하여 Claude for Desktop이 서버를 사용하도록 구성합니다.

{
  "mcpServers": {
    "clanki": {
      "command": "node",
      "args": ["/absolute/path/to/clanki/build/index.js"]
    }
  }
}

/absolute/path/to/clanki Clanki 설치 경로로 바꾸세요.

사용 가능한 도구

덱 만들기

새로운 Anki 덱을 만듭니다

  • 매개변수:

    • name : 새로운 덱의 이름

카드 생성

지정된 덱에 새로운 기본 플래시카드를 만듭니다.

  • 매개변수:

    • deckName : 카드를 추가할 덱의 이름

    • front : 카드의 앞면 내용

    • back : 카드 뒷면 내용

    • tags : (선택 사항) 카드에 대한 태그 배열

클로즈카드 만들기

지정된 덱에 새로운 빈칸 삭제 카드를 만듭니다.

  • 매개변수:

    • deckName : 카드를 추가할 덱의 이름

    • text : {{c1::text}} 구문을 사용하여 빈칸 삭제가 포함된 텍스트

    • backExtra : (선택 사항) 카드 뒷면에 표시할 추가 정보

    • tags : (선택 사항) 카드에 대한 태그 배열

업데이트 카드

기존 기본 플래시카드를 업데이트합니다

  • 매개변수:

    • noteId : 업데이트할 노트의 ID

    • front : (선택 사항) 새로운 앞면 콘텐츠

    • back : (선택 사항) 새로운 뒷면 콘텐츠

    • tags : (선택 사항) 카드에 대한 새 태그

업데이트-클로즈-카드

기존 빈칸 삭제 카드를 업데이트합니다.

  • 매개변수:

    • noteId : 업데이트할 노트의 ID

    • text : (선택 사항) 빈칸 삭제를 포함한 새 텍스트

    • backExtra : (선택 사항) 뒷면에 대한 새로운 추가 정보

    • tags : (선택 사항) 카드에 대한 새 태그

개발

서버를 수정하거나 확장하려면:

  1. src/index.ts 를 변경하세요

  2. npm run build 로 다시 빌드하세요

  3. npx @modelcontextprotocol/inspector node build/index.js 로 디버깅

Available Tools

9 tools
create-cardB

Create a new note in a specified deck. Supports HTML formatting in text fields. You can attach multiple images and audio files from URLs - they will be automatically downloaded and embedded in the note.

Inputs: back (required), front (required), deckName (required), tags, +4 more.

create-cards-bulkA

Create multiple basic notes in a single call. Use this instead of calling create-card repeatedly — it sends one request to Anki regardless of how many notes are in the batch. Does not support images or audio: use create-card for notes that need media.

Inputs: cards (required), deckName (required).

create-cloze-cardB

Create a new cloze note in a specified deck. Use {{c1::text}} syntax for cloze deletions (e.g., {{c1::Paris}} is the capital of France). Supports HTML formatting and can attach multiple images and audio files from URLs - they will be automatically downloaded and embedded.

Inputs: text (required), deckName (required), tags, backAudio, +4 more.

create-cloze-cards-bulkA

Create multiple cloze notes in a single call. Use this instead of calling create-cloze-card repeatedly — it sends one request to Anki regardless of how many notes are in the batch. Does not support images or audio: use create-cloze-card for notes that need media.

Inputs: cards (required), deckName (required).

create-deckA

Create a new Anki deck

Inputs: name (required).

delete-cardA

PERMANENTLY deletes notes. This cannot be undone and there is no trash to recover them from — the notes and every card generated from them are gone. Only delete notes the user has asked you to delete. Use find-cards first to obtain the note IDs and to confirm you have the right notes; there is no delete-by-query, and IDs must be listed explicitly. Deleting one cloze note removes every card generated from it.

Inputs: confirm (required), noteIds (required).

find-cardsA

Search for notes using Anki's search syntax and return their note IDs, note type, tags, and a short excerpt of each field. Use this to get the noteId needed by update-card, update-cloze-card or delete-card. Field content is truncated and the number of results is capped, so narrow the query if the note you want is not listed. Examples: 'deck:Spanish', 'tag:vocab', 'front:hello', 'deck:Spanish tag:verbs'.

Inputs: query (required).

update-cardC

Update an existing note

Inputs: noteId (required), back, tags, front.

update-cloze-cardC

Update an existing cloze note

Inputs: noteId (required), tags, text, backExtra.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct action and note type: deck creation, card creation/update for basic and cloze types, bulk variants, search, and deletion. The bulk tools are explicitly separated from single-card tools, and find-cards is clearly the retrieval path. No two tools appear to do the same thing.

    Naming Consistency5/5

    All tool names follow a consistent hyphenated lowercase verb-noun pattern: create-deck, create-card, update-card, create-cloze-card, update-cloze-card, create-cards-bulk, create-cloze-cards-bulk, find-cards, delete-card. The pattern is uniform and predictable.

    Tool Count5/5

    With 9 tools, the server is well-scoped for Anki card management. It covers core lifecycle operations (create, update, find, delete) with separate handling for basic vs. cloze notes and bulk operations, without excessive redundancy.

    Completeness4/5

    The card lifecycle is well covered: create (single/bulk, basic/cloze), update, find, delete. Deck management is limited to creation only, with no update or delete deck tools, but this is a minor gap since decks are simple containers and find-cards can search by deck name.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      An MCP server that enables AI assistants to interact with the Anki flashcard application for studying, deck management, and note creation. It supports natural language interaction for reviewing cards, searching content, and managing media files across local and remote environments.
      993 npm
      582
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables AI assistants to seamlessly manage Anki flashcards, decks, and templates through the AnkiConnect API. It supports intelligent querying, batch note creation, and detailed study progress analysis using natural language.
      4
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      An MCP server that enables Claude Code to create, manage, and search Anki flashcards directly from the terminal. It supports batch card creation, deck statistics retrieval, and synchronization with AnkiWeb for cross-platform review.
      8
      -