Skip to main content
Glama

Anki MCP Server

by scorzeth

Anki MCP 서버

로컬로 실행 중인 Anki에 연결하여 카드 검토 및 생성 기능을 제공하는 MCP 서버 구현입니다.

이 서버는 Anki 데스크톱 앱Anki-Connect 애드온과 함께 작동하도록 설계되었습니다.

사용하기 전에 애드온이 설치되어 있는지 확인하세요.

자원

  • anki://search/deckcurrent
    • 현재 덱의 모든 카드를 반환합니다.
    • Anki에서 deck:current 와 동일함
  • anki://search/isdue
    • 검토 및 학습 중인 카드를 반환하여 공부를 기다립니다.
    • Anki에서 is:due 동일합니다.
  • anki://search/isnew
    • 보이지 않는 모든 카드를 반환합니다
    • Anki에서 is:new 와 동일합니다.

도구

  • 업데이트_카드
    • 주어진 카드 ID가 있는 카드를 답변으로 표시하고 1(다시)에서 4(쉬움) 사이의 쉬움 점수를 부여합니다.
    • 입력:
      • answers (배열): cardId (숫자) 및 ease (숫자) 필드가 있는 객체 배열
  • 카드 추가
    • 기본 Anki 덱에 새 카드를 만듭니다.
    • 입력:
      • front (문자열): 카드 앞면
      • back (문자열): 카드 뒷면
  • 카드_만기_지불_카드
    • 현재 검토 예정인 n개의 카드를 반환합니다.
    • 입력:
      • num (숫자): 카드의 개수
  • 새 카드를 받으세요
    • 새로운 카드에서 n개의 카드를 반환합니다.
    • 입력:
      • num (숫자): 카드의 개수

개발

종속성 설치:

지엑스피1

서버를 빌드하세요:

npm run build

자동 재빌드를 사용한 개발의 경우:

npm run watch

구성

Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.

MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "anki-mcp-server": { "command": "/path/to/anki-mcp-server/build/index.js" } } }

디버깅

MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. 패키지 스크립트로 제공되는 MCP Inspector를 사용하는 것이 좋습니다.

npm run inspector

검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

로컬에서 실행 중인 Anki에 연결하여 모델 컨텍스트 프로토콜을 통해 카드 검토 및 생성을 가능하게 하는 서버 구현입니다.

  1. 자원
    1. 도구
      1. 개발
        1. 구성
          1. 디버깅

        Related MCP Servers

        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol server that enables LLMs to interact with Anki flashcard software through AnkiConnect, allowing for creation and management of flashcards, decks, and note types.
          Last updated -
          10
          206
          30
          TypeScript
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that provides tools for interacting with Trello boards, enabling seamless management of cards, lists, and activities while handling rate limiting and type safety.
          Last updated -
          10
          3
          JavaScript
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          A TypeScript-based server that integrates with Anki via the AnkiConnect plugin, allowing you to manage flashcard decks, note models, and create Anki notes using natural language.
          Last updated -
          22
          JavaScript
          MIT License
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server providing utility tools for development and testing, offering functionalities like personalized greetings, random card drawing, and datetime formatting with an extensible architecture.
          Last updated -
          19
          464
          2
          TypeScript
          MIT License
          • Apple
          • Linux

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/scorzeth/anki-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server