Kani MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kani MCP Server What reviews and lessons are coming up today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kani MCP Server
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:
What reviews and lessons are coming up today?
Which kanji are assigned at a given level?
Which subjects have the lowest review accuracy?
What notes or synonyms have I saved?
The server runs locally over stdio. It does not store data, expose an HTTP service, or modify WaniKani.
Requirements
Node.js 18 or newer
A WaniKani personal access token with read-only permissions, created in WaniKani API Tokens
Keep the token secret. It grants access to account and study data.
Related MCP server: bunpro-mcp
Install
The simplest MCP configuration runs the published package directly with npx:
{
"mcpServers": {
"wanikani": {
"command": "npx",
"args": ["-y", "kani-mcp-server@latest"],
"env": {
"WANIKANI_API_TOKEN": "your-read-only-token"
}
}
}
}Alternatively, install the executable globally:
npm install --global kani-mcp-server
kani-mcp-serverRestart the MCP client after changing its configuration. Prefer the client's secure secret facility, when available, over writing a token into a JSON file.
Run from source
git clone https://github.com/Alexxanddr/kani-mcp-server.git
cd kani-mcp-server
npm ci
cp .env.example .env
# Edit .env and set WANIKANI_API_TOKEN.
npm run build
node --env-file=.env dist/index.jsTo configure an MCP client against a source checkout, replace the path and token:
{
"mcpServers": {
"wanikani": {
"command": "node",
"args": ["/absolute/path/to/kani-mcp-server/dist/index.js"],
"env": {
"WANIKANI_API_TOKEN": "your-read-only-token"
}
}
}
}The process communicates via MCP on stdin/stdout, so an empty terminal after startup is normal.
Tools
Tool | Purpose |
| User profile, level, preferences, and subscription state |
| Lessons and reviews available during the next 24 hours |
| Assignments filtered by subjects, levels, SRS stages, or state |
| Radicals, kanji, vocabulary, and kana vocabulary |
| Accuracy and incorrect-answer totals by subject |
| Completed review history |
| Personal notes and meaning/reading synonyms |
| Level progression history |
| Account reset history |
| SRS stage definitions |
| Pronunciation voice actor metadata |
| One supported resource by type and numeric ID |
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:
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.See MCP contracts for exact inputs and outputs.
Configuration
Variable | Required | Meaning |
| Yes | Personal WaniKani API v2 bearer token |
| No | API root; defaults to |
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.
Development
npm ci
npm run check
npm pack --dry-runnpm 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 indist/
Read CONTRIBUTING.md, architecture, and testing before changing public tools.
Troubleshooting
WANIKANI_API_TOKEN is required: pass the variable in the MCP client'senvblock or start Node with--env-file=.env.401 Unauthorized: verify the token and recreate it if it may have been exposed.
429 Too Many Requests: wait for WaniKani's rate-limit reset and request narrower collections.
Large responses: add filters and paginate rather than requesting broad subject or review histories.
Client shows disconnected: use an absolute script path, run
npm run build, and confirm Node 18+ is on the client's PATH.
Limitations
Read-only: starting assignments, submitting reviews, changing user settings, and editing study materials are intentionally absent.
No automatic multi-page aggregation, caching, resources, or prompts.
API response objects are passed through unchanged, so upstream additions appear without a package release.
License and distribution
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.
Available Tools
12 toolsget_resourceARead-onlyIdempotent
Get one WaniKani resource by type and numeric ID
Inputs: id (required), resource (required).
get_summaryARead-onlyIdempotent
Get lesson and review availability for the next 24 hours
Inputs: no named parameters.
get_userARead-onlyIdempotent
Get the authenticated WaniKani user profile and subscription state
Inputs: no named parameters.
list_assignmentsCRead-onlyIdempotent
List assignments with optional subject, level, SRS, and availability filters
Inputs: ids, burned, hidden, levels, +13 more.
list_level_progressionsCRead-onlyIdempotent
List level progression history
Inputs: ids, page_after_id, updated_after, page_before_id.
list_resetsCRead-onlyIdempotent
List account reset history
Inputs: ids, page_after_id, updated_after, page_before_id.
list_reviewsCRead-onlyIdempotent
List completed reviews
Inputs: ids, page_after_id, updated_after, page_before_id.
list_review_statisticsCRead-onlyIdempotent
List accuracy statistics for studied subjects
Inputs: ids, subject_ids, page_after_id, subject_types, +4 more.
list_spaced_repetition_systemsCRead-onlyIdempotent
List spaced repetition system definitions
Inputs: ids, page_after_id, updated_after, page_before_id.
list_study_materialsCRead-onlyIdempotent
List user notes and synonyms
Inputs: ids, page_after_id, updated_after, page_before_id.
list_subjectsBRead-onlyIdempotent
List radicals, kanji, and vocabulary with optional level, type, or slug filters
Inputs: ids, slugs, types, hidden, +4 more.
list_voice_actorsCRead-onlyIdempotent
List pronunciation voice actors
Inputs: ids, page_after_id, updated_after, page_before_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools target a clearly distinct resource (user, summary, resets, voice actors, subjects, assignments, study materials). The main soft spots are the cluster of review-related tools (list_reviews vs list_review_statistics vs list_assignments with availability filters) and get_resource, which is a generic fetch that overlaps conceptually with every list_* and get_user.
Every tool follows a strict snake_case verb_noun pattern using only get_ and list_ prefixes, matching the read-only nature of the surface. No camelCase mixing or vague verb-only names.
12 tools is squarely in the well-scoped range and each one maps to a distinct WaniKani endpoint family. Nothing feels padded or redundant given the breadth of the WaniKani API.
Coverage is solid for reading (profile, availability, subjects, assignments, reviews, stats, SRS, study materials), but the surface is entirely read-only: there is no way to create a review, start an assignment, or create/update study materials, which are core lifecycle operations in this domain. Agents can explore but cannot act.
Maintenance
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Read-only MCP server for the WebAssembly spec: instructions, types, sections, search, proposals.
KnowMan MCP server: search, ask, save and read your Knowledge Base from any MCP client.
Read-only MCP server exposing a user ORANO library to their own AI agent.
Related MCP Servers
- AlicenseAqualityDmaintenanceA read-only MCP server that provides access to Maimemo study data, including vocabulary progress, word lists, and notepads. It supports both stdio and HTTP transports with authentication and rate limiting for secure data access.620 npmMIT
- AlicenseAqualityDmaintenanceAn unofficial MCP server for Bunpro that exposes its review queue, search, statistics, and SRS management as tools, enabling an LLM agent to read study data and add grammar points or vocabulary to reviews.232 npmMIT
- FlicenseNot gradedqualityDmaintenanceA read-only MCP server that lets ChatGPT inspect your LingQ progress without exposing your password. It exposes tools for listing languages, checking progress capabilities, and retrieving progress summaries and charts.-
- FlicenseAqualityCmaintenanceA local MCP server that helps you maintain a personal Japanese learning knowledge base, including vocabulary, confusion relations, mistakes, and spaced-repetition reviews. It provides tools and prompts for managing and reviewing your Japanese learning data without calling external LLM APIs.6-