get_user
Get the authenticated WaniKani user profile and subscription state
无需输入参数。

io.github.Alexxanddr由 GitHub 账号 Alexxanddr 发布v0.1.4更新于 Oct 29, 2026
Read-only access to WaniKani progress and study data through MCP.
只读 MCP 服务器,让助手查询用户的 WaniKani 学习进度、复习统计以及汉字、部首和词汇等参考数据。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
A small, read-only Model Context Protocol server that gives MCP clients access to a user's WaniKani progress and WaniKani reference data through the official API v2.
It can answer questions such as:
The server runs locally over stdio. It does not store data, expose an HTTP service, or modify WaniKani.
Keep the token secret. It grants access to account and study data.
The simplest MCP configuration runs the published package directly with npx:
Alternatively, install the executable globally:
Restart the MCP client after changing its configuration. Prefer the client's secure secret facility, when available, over writing a token into a JSON file.
To configure an MCP client against a source checkout, replace the path and token:
The process communicates via MCP on stdin/stdout, so an empty terminal after startup is normal.
Collection tools return one API page. Use page_after_id or page_before_id from the WaniKani collection pagination data to continue. Arrays are sent as the comma-delimited filters expected by the API.
Example prompts:
See MCP contracts for exact inputs and outputs.
Changing the base URL sends the bearer token to that host. Remote overrides must use HTTPS; localhost HTTP is accepted for tests and local development.
npm run dev: run TypeScript directly over stdionpm test: run unit and MCP contract testsnpm run type-check: check TypeScript without emitting filesnpm run build: create the bundled executable in dist/Read CONTRIBUTING.md, architecture, and testing before changing public tools.
WANIKANI_API_TOKEN is required: pass the variable in the MCP client's env block or start Node with --env-file=.env.npm run build, and confirm Node 18+ is on the client's PATH.This project is available under the MIT License and is packaged for the public npm registry as kani-mcp-server. GitHub releases publish matching package versions through npm Trusted Publishing; see publishing for the one-time setup and release procedure.
WaniKani is a trademark of Tofugu LLC. This independent project is not affiliated with, endorsed by, or sponsored by WaniKani or Tofugu.
来源:README.md,提交 c16d993
Get the authenticated WaniKani user profile and subscription state
无需输入参数。
Get lesson and review availability for the next 24 hours
无需输入参数。
List level progression history
idspage_after_idupdated_afterpage_before_idList account reset history
idspage_after_idupdated_afterpage_before_idList completed reviews
idspage_after_idupdated_afterpage_before_idList spaced repetition system definitions
idspage_after_idupdated_afterpage_before_idList user notes and synonyms
idspage_after_idupdated_afterpage_before_idList pronunciation voice actors
idspage_after_idupdated_afterpage_before_idList assignments with optional subject, level, SRS, and availability filters
idsburnedhiddenlevelspassedstartedunlockedsrs_stagessubject_idspage_after_idsubject_typesupdated_after另有 5 个List accuracy statistics for studied subjects
idssubject_idspage_after_idsubject_typesupdated_afterpage_before_idpercentages_less_thanpercentages_greater_thanList radicals, kanji, and vocabulary with optional level, type, or slug filters
idsslugstypeshiddenlevelspage_after_idupdated_afterpage_before_idGet one WaniKani resource by type and numeric ID
id必填resource必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
{ "mcpServers": { "wanikani": { "command": "npx", "args": ["-y", "kani-mcp-server@latest"], "env": { "WANIKANI_API_TOKEN": "your-read-only-token" } } }}npm install --global kani-mcp-serverkani-mcp-servergit clone https://github.com/Alexxanddr/kani-mcp-server.gitcd kani-mcp-servernpm cicp .env.example .env# Edit .env and set WANIKANI_API_TOKEN.npm run buildnode --env-file=.env dist/index.js{ "mcpServers": { "wanikani": { "command": "node", "args": ["/absolute/path/to/kani-mcp-server/dist/index.js"], "env": { "WANIKANI_API_TOKEN": "your-read-only-token" } } }}Show my WaniKani level and the reviews due in the next 24 hours.List my level 10 kanji assignments and explain their current SRS stages.Find review statistics below 70%, then fetch the matching subjects.npm cinpm run checknpm pack --dry-run