Yomitan
БесплатноНе проверенA Model Context Protocol (MCP) server that provides AI agents with direct access to your local Yomitan dictionary databases.
Описание
A Model Context Protocol (MCP) server that provides AI agents with direct access to your local Yomitan dictionary databases.
README
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.
Managed by GoRakuDo.
Features (MCP Tools)
The server exposes 6 tools:
lookup— Search for a vocabulary word and return definitions, readings, and tags. (Optimized for AI context)kanji— Search for detailed information about a single Kanji character.tokenize— Parse a Japanese sentence into tokens and dictionary entries.anki_discover— (New in v1.2.0) Auto-detect which Anki field markers (like{expression},{glossary}) are valid in your specific Yomitan setup.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-server
Usage 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"
]
}
}
}
Anki Integration
To use anki_fields effectively:
- Configure your Anki Note Type and field mappings in Yomitan Settings -> Anki -> "Configure Anki card format...".
- Use
anki_discoverfirst to see which markers (e.g.,expression,reading,glossary,single-glossary-DictionaryName) are available in your setup. - If you encounter HTTP 500 errors, ensure you are using the correct marker names found via
anki_discover.
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 (
ECONNREFUSED): Ensure the browser with Yomitan is running. Check that "Enable Yomitan API" is turned on in the extension's Advanced Settings. - HTTP 500 Errors in anki_fields: This usually means a marker name is invalid or not mapped. Run
anki_discoverto verify your available markers. - Insufficient Permissions: Ensure the Native Messaging component is correctly installed for your browser. You can test this within the Yomitan Settings page under "API".
Built by GoRakuDo. Licensed under Mozilla Public License Version 2.0.
Установка Yomitan
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/GoRakuDo/yomitan-mcpFAQ
Yomitan MCP бесплатный?
Да, Yomitan MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Yomitan?
Нет, Yomitan работает без API-ключей и переменных окружения.
Yomitan — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Yomitan в Claude Desktop, Claude Code или Cursor?
Открой Yomitan на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Yomitan with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
