Enables the generation of populated Anki flashcard fields using Yomitan templates for vocabulary and kanji entries.
Click on "Install 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., "@Yomitan MCP Serverlook up the meaning and readings for the word 雰囲気"
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.
Yomitan MCP Server
A Model Context Protocol (MCP) server that provides AI agents with direct access to your local Yomitan dictionary databases.
Overview
This MCP server connects to the Yomitan browser extension's existing Native Messaging HTTP API (typically running on localhost:19633). It allows any MCP-compatible client (like OpenClaw, Claude Desktop, or Cursor) to perform rich dictionary lookups instantly, completely offline, and without any browser automation.
Features (MCP Tools)
The server exposes 5 tools:
lookup— Search for a vocabulary word and return definitions, readings, and tags.kanji— Search for detailed information about a single Kanji character.tokenize— Parse a Japanese sentence into tokens and dictionary entries (using Yomitan's internal parser or MeCab).anki_fields— Generate populated Anki flashcard fields based on your Yomitan templates.status— Check the connection status and version of your Yomitan backend.
Prerequisites
Yomitan Browser Extension installed in Chrome/Firefox.
Native Messaging enabled in Yomitan.
Yomitan API enabled in Yomitan Settings:
Go to Yomitan Settings -> Advanced.
Enable "Yomitan API" (Ensure the server URL is
http://127.0.0.1:19633).
Node.js (v18+) installed.
Usage
You can run this MCP server directly using npx (no installation required):
npx yomitan-mcp-serverUsage with MCP Clients (Claude Desktop, Cursor, OpenClaw, etc.)
Add the following configuration to your MCP client's configuration file (e.g., mcp_config.json, claude_desktop_config.json):
{
"mcpServers": {
"yomitan-mcp": {
"command": "npx",
"args": [
"-y",
"yomitan-mcp-server@latest"
]
}
}
}Security & Privacy
All lookups are performed entirely locally on your machine.
No data is sent to external servers by this MCP server.
The default HTTP API operates strictly on
localhost.
Troubleshooting
Connection Refused (: Ensure the browser with Yomitan is running. Check that "Enable Yomitan API" is turned on in the extension's Advanced Settings.
Insufficient Permissions: Ensure the Native Messaging component is correctly installed for your browser. You can test this within the Yomitan Settings page under "API".
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.