Anki MCP Server logo

Anki MCP Server

未认领

作者:ankimcp

A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.

aiai-learning-toolai-tutorankianki-addonanki-flashcards

01 / 选择客户端

02 / 连接前的准备

认证方式尚未指定。连接前请查看项目说明。

安装项目所需的运行环境,并确保客户端能够使用它。

项目说明

输入项目说明中的变量名,用逗号分隔。只输入名称,不要输入密钥值。

03 / 添加配置

来源:根据公开安装说明生成

claude mcp add --transport stdio 'ankimcp-anki-mcp-server' -- 'npx' '-y' '@ankimcp/anki-mcp-server'

替换占位符后在终端中运行。

04 / 在客户端中确认

打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。

更多AI & ML服务器

浏览完整目录

未认领列表

这个 MCP 服务器是你的吗?

此列表根据公开信息自动生成。认领后,你可以编辑页面、设置兼容性并解锁增长工具。全程不超两分钟。

认领此服务器

安全概况

已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理

40 个工具中显示 40 个

文档中列出的工具 (40)

内容来自项目文档。服务器握手不会验证每个工具的说明或行为。

addModelField

Add a new field to an existing note type (appended at the end or inserted at a specific position)

addNote

Create a single note with specified fields and tags

addNotes

Batch-create up to 100 notes sharing a deck and model (partial success supported)

addTags

Add space-separated tags to specified notes

changeDeck

Move cards to a different deck (created if it doesn't exist)

clearUnusedTags

Remove orphaned tags not used by any notes (destructive)

collection_stats

Aggregated statistics across all decks with per-deck breakdown and collection-wide card-state counts

createDeck

Create a new empty deck (supports Parent::Child, max 2 levels)

createModel

Create a new note type with custom fields, card templates, and CSS (e.g., RTL models)

deckStats

Get comprehensive statistics for a single deck (study queue, true card-state counts, ease/interval distributions)

deleteMediaFile

Remove a media file from collection.media (destructive)

deleteNotes

Delete notes and all associated cards (destructive, requires confirmation)

findNotes

Search for notes using Anki query syntax (deck:, tag:, is:due, etc.)

get_cards

Get cards with flexible filtering by state (due, new, learning, suspended, buried) and deck

get_due_cards

Get cards that are due for review, optionally filtered by deck

getMediaFilesNames

List media files in collection.media, optionally filtered by pattern

getTags

Get all tags in the collection (use first to avoid duplication)

guiBrowse

Open the Card Browser and search for cards

guiSelectCard

Select a specific card in the Card Browser

guiSelectedNotes

Get IDs of notes currently selected in the Card Browser

listDecks

List all decks, optionally with per-deck study-queue statistics

modelFieldNames

Get field names for a specific note type

modelNames

List all available note types/models

modelStyling

Get CSS styling information for a note type

modelTemplates

Get the card templates (Front and Back HTML) for a note type

notesInfo

Get detailed information about notes (fields, tags, CSS styling)

present_card

Show a card for review with its question/front side

rate_card

Rate card performance (Again, Hard, Good, Easy) and schedule the next review

removeModelField

Remove a field from an existing note type (deletes its content from all notes; requires explicit confirmation)

removeTags

Remove space-separated tags from specified notes

renameModelField

Rename a field in an existing note type (card templates referencing the old name must be updated separately)

replaceTags

Rename a tag across specified notes

repositionModelField

Change the position of a field within an existing note type

retrieveMediaFile

Download a media file as base64 content

review_stats

Review history analysis (temporal patterns, retention metrics, study streaks)

storeMediaFile

Upload media from base64 data, an absolute file path, or a URL

sync

Sync with AnkiWeb to pull latest data and push changes

updateModelStyling

Update the CSS styling for an existing note type (applies to all its cards)

updateModelTemplates

Update the card templates (Front and Back HTML) for an existing note type (applies to all its cards)

updateNoteFields

Update existing note fields (CSS-aware, supports HTML content)

工具变更历史

比较相同配置的完整检查。只列出工具,未调用工具。此处不测量输入结构的变化。

尚无完整工具检查。