Yomitan MCP Server

Yomitan MCP Server

Provides AI agents with direct access to local Yomitan dictionary databases for offline Japanese vocabulary lookups, kanji searches, and sentence tokenization. It leverages the Yomitan browser extension's API to enable rich dictionary interactions and Anki flashcard field generation.

Category
Visit Server

README

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.

Managed by GoRakuDo.

Features (MCP Tools)

The server exposes 6 tools:

  1. lookup — Search for a vocabulary word and return definitions, readings, and tags. (Optimized for AI context)
  2. kanji — Search for detailed information about a single Kanji character.
  3. tokenize — Parse a Japanese sentence into tokens and dictionary entries.
  4. anki_discover(New in v1.2.0) Auto-detect which Anki field markers (like {expression}, {glossary}) are valid in your specific Yomitan setup.
  5. anki_fields — Generate populated Anki flashcard fields based on your Yomitan templates.
  6. status — Check the connection status and version of your Yomitan backend.

Prerequisites

  1. Yomitan Browser Extension installed in Chrome/Firefox.
  2. Native Messaging enabled in Yomitan.
  3. 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).
  4. 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:

  1. Configure your Anki Note Type and field mappings in Yomitan Settings -> Anki -> "Configure Anki card format...".
  2. Use anki_discover first to see which markers (e.g., expression, reading, glossary, single-glossary-DictionaryName) are available in your setup.
  3. 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_discover to 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured