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