JC

jasperket/clanki

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

45 stars 21 forks 품질 85 트렌드 14MIT

jasperket/clanki는 MCP 서버 후보자는 https://github.com/jasperket/clanki.에서 수입했습니다

개요

jasperket/clanki는 MCP 서버 후보자는 https://github.com/jasperket/clanki.에서 수입했습니다

개요(AI 번역)

Claude와 같은 AI 조수를 가능하게하는 MCP 서버는 Model Context Protocol (MCP)를 통해 Anki flashcard decks와 상호 작용합니다.

특징

  • Anki decks 만들기 및 관리
  • front/back 콘텐츠로 기본 노트 만들기
  • 클로즈 노트 만들기
  • 단일 요청에 한 번에 많은 메모를 작성하십시오.
  • ** URL에서 이미지 및 오디오 ** - 자동으로 다운로드 및 임베디드
  • HTML 형식 지원
  • 기존 노트 및 복제 삭제 업데이트
  • 태그 추가 및 관리
  • Anki의 쿼리 문법과 메모 검색
  • 영구적으로 메모 삭제
  • 갑판 내용 및 참고 정보보기
  • AnkiConnect와의 통합

필수품

  • Anki 설치 및 실행
  • AnkiConnect 플러그인 설치
  • Node.js 16 이상

설치

  1. Clone 이 저장소:

  2. 의존성 설치:

  3. 프로젝트 구축:

설치

  1. Anki가 실행되고 AnkiConnect 플러그인이 설치되고 활성화됩니다.

  2. 원키 체크 아웃에서 build/index.js]에 절대 경로. 모든 것 아래 클라이언트는 그것을 필요로하고, 그들 중 아무도 상대적인 경로를 받아들입니다 — 그들은 하지 않습니다 프로젝트 디렉토리에서 실행, 그래서 ./build/index.js 해결되지 않습니다.

Windows에서이 인쇄 backslashes.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Clanki - Claude’s Anki Integration

An MCP server that enables AI assistants like Claude to interact with Anki flashcard decks through the Model Context Protocol (MCP).

Features

  • Create and manage Anki decks
  • Create basic notes with front/back content
  • Create cloze notes
  • Create many notes at once in a single request
  • Attach images and audio from URLs - automatically downloaded and embedded
  • HTML formatting support in note fields
  • Update existing notes and cloze deletions
  • Add and manage tags
  • Search for notes with Anki’s query syntax
  • Delete notes permanently
  • View deck contents and note information
  • Full integration with AnkiConnect

Prerequisites

  • Anki installed and running
  • AnkiConnect plugin installed in Anki
  • Node.js 16 or higher

Installation

  1. Clone this repository:
git clone https://github.com/yourusername/clanki.git
cd clanki
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Setup

  1. Make sure Anki is running and the AnkiConnect plugin is installed and enabled.

  2. Note the absolute path to build/index.js in your clanki checkout. Every client below needs it, and none of them accept a relative path — they do not run from your project directory, so ./build/index.js will not resolve.

    # from the clanki directory
    node -e "console.log(require('path').resolve('build/index.js'))"
    

    On Windows this prints backslashes. They are fine as-is for the two CLI commands below, but must be doubled or swapped for forward slashes if you paste the path into a JSON config — see the Claude Desktop note.

  3. Register the server with your client, using one of the sections below.

  4. Verify the server can reach Anki. With Anki running:

curl -X POST http://127.0.0.1:8765 -d "{\"action\":\"version\",\"version\":6}"

A working setup replies {"result": 6, "error": null}. If it does not, see docs/troubleshooting.md — connection failures are by far the most common problem, and AnkiConnect’s default configuration needs no changes.

Claude Desktop

Edit claude_desktop_config.json:

Platform Location
macOS ~/Library/Application Support/Claude/claude_desktop_config.json
Windows %APPDATA%\Claude\claude_desktop_config.json
Linux ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "clanki": {
      "command": "node",
      "args": ["/absolute/path/to/clanki/build/index.js"]
    }
  }
}

Replace /absolute/path/to/clanki with the actual path to your clanki

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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