
scorzeth/anki-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
scorzeth/anki-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요
scorzeth/anki-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
로컬 실행 중인 Anki에 연결되는 MCP 서버 구현으로, 카드 검토와 생성을 제공합니다.
이 서버는 Anki 데스크톱 앱과 Anki-Connect 애드온과 연동되도록 설계되었습니다.
사용 전에 애드온을 반드시 설치했는지 확인하세요.
자료
- anki://search/deckcurrent
- 현재 덱의 모든 카드를 반환합니다.
- Anki에서
deck:current에 해당하는 - anki://search/isdue
- 복습 및 학습 중인 반환 카드
- Anki의
is:due에 해당하는 - anki://search/isnew
- 보이지 않은 모든 카드를 반환합니다
- Anki의
is:new에 해당하는
도구
-
update_cards
-
답변한 카드 ID가 표시된 카드를 표시하고, 1(다시)에서 4(쉬움) 사이의 이즈 점수를 부여합니다.
-
입력:
-
answers(배열):cardId(숫자)와ease(숫자) 필드를 가진 객체 배열입니다 -
add_card
-
기본 Anki 덱에 새 카드를 생성합니다
-
입력:
-
front(줄): 카드 앞면 -
back(끈): 카드 뒷면 -
get_due_cards
-
반환 n 현재 검토 대상 카드 수
-
입력:
-
num(숫자): 카드 수에 대해 -
get_new_cards
-
새 카드에서 n장 반환
-
입력:
-
num(숫자): 카드 수에 대해
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
Anki MCP Server
An MCP server implementation that connects to a locally running Anki, providing card review and creation.
This server is designed to work with the Anki desktop app and the Anki-Connect add-on.
Make sure you have the add-on installed before using.
Resources
- anki://search/deckcurrent
- Returns all cards from current deck
- Equivalent of
deck:currentin Anki
- anki://search/isdue
- Returns cards in review and learning waiting to be studied
- Equivalent of
is:duein Anki
- anki://search/isnew
- Returns all unseen cards
- Equivalent of
is:newin Anki
Tools
-
update_cards
- Marks cards with given card IDs as answered and gives them an ease score between 1 (Again) and 4 (Easy)
- Inputs:
answers(array): Array of objects withcardId(number) andease(number) fields
-
add_card
- Creates a new card in the Default Anki deck
- Inputs:
front(string): Front of cardback(string): Back of card
-
get_due_cards
- Returns n number of cards currently due for review
- Inputs:
num(number): Number of cards
-
get_new_cards
- Returns n number of cards from new
- Inputs:
num(number): Number of cards
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Configuration
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"anki-mcp-server": {
"command": "/path/to/anki-mcp-server/build/index.js"
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"anki-mcp-server": {
"command": "/path/to/anki-mcp-server/build/index.js"
}
}
}