vivek081166/japan-utils-mcp

๐Ÿ› ๏ธ Other Tools and Integrations
0 Views
0 Installs

๐Ÿ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Japan-specific utilities for AI agents: era โ†” Western year conversion (ไปคๅ’Œ8ๅนด โ†” 2026), kanji-to-romaji transliteration, 7-digit postal code lookup, national holiday calendar, hiragana โ†” katakana conversion, full-width โ†” half-width normalization, and statistical Japanese name splitting. 9 tools, MIT licensed, installable via uvx japan-utils-mcp.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "vivek081166-japan-utils-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vivek081166-japan-utils-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

japan-utils-mcp

PyPI License: MIT

MCP server exposing Japan-specific utilities to AI agents (Claude, Cursor, Cline, Continue, etc.). Hand your agent the small bag of JP-specific functions every Japan-related task needs but no generic LLM gets right reliably:

  • ๐Ÿ—“๏ธ Era โ†” Western year โ€” ไปคๅ’Œ8ๅนด โ†” 2026
  • ๐Ÿ”ค Kanji โ†’ Hepburn romaji โ€” ๅฑฑ็”ฐๅคช้ƒŽ โ†’ yamada tarou
  • ๐Ÿ“ฎ Postal code lookup โ€” 150-0001 โ†’ ๆฑไบฌ้ƒฝ ๆธ‹่ฐทๅŒบ ็ฅžๅฎฎๅ‰
  • ๐ŸŽŒ National holiday calendar โ€” is 2026-05-03 a holiday? what about all of 2026?
  • ๐Ÿ…ฐ๏ธ Kana conversion โ€” hiragana โ†” katakana โ†” half-width katakana
  • ๐Ÿ“ Width normalization โ€” full-width (ๅ…จ่ง’) โ†” half-width (ๅŠ่ง’) for ASCII, digits, kana
  • ๐Ÿ‘ค Name splitting โ€” ๅฑฑ็”ฐๅคช้ƒŽ โ†’ surname ๅฑฑ็”ฐ + given ๅคช้ƒŽ (statistical model)

Built on top of well-maintained Japanese libraries (jpholiday, posuto, pykakasi, jaconv, namedivider-python) โ€” wrapped as MCP tools so any AI agent can call them without re-implementing reading rules, era arithmetic, postal data, or name-splitting heuristics.

Why this exists

Generic LLMs hallucinate on JP-specific data:

  • "What year is ไปคๅ’Œ8ๅนด?" โ€” often wrong
  • "Convert ๅฑฑ็”ฐๅคช้ƒŽ to romaji" โ€” gets the surname wrong half the time
  • "What's the address for postal code 150-0001?" โ€” fabricates plausible-looking nonsense
  • "Is May 3rd a Japanese holiday?" โ€” guesses

This MCP gives them a deterministic answer.

Tools

ToolWhat it does
era_to_westernไปคๅ’Œ8ๅนด / R8 / Reiwa 8 / ไปคๅ’Œๅ…ƒๅนด โ†’ Gregorian year + era metadata
western_to_era2026 โ†’ era kanji (ไปคๅ’Œ), English (Reiwa), year-of-era (8), formatted strings
kanji_to_romajiMixed Japanese text โ†’ Hepburn romaji + hiragana reading
lookup_postal_code7-digit JP postal code โ†’ prefecture / city / area, with kana readings
is_holidayDate string โ†’ is it a national holiday? + Japanese name + weekday
list_holidaysYear โ†’ all national holidays for that year
convert_kanahiragana โ†” katakana โ†” half-width katakana, any direction
normalize_widthFull-width โ†” half-width for ASCII, digits, kana (with per-category control)
split_japanese_nameJapanese full name โ†’ surname + given name (statistical model with confidence)

All tools return structured JSON. See tool docstrings in src/japan_utils_mcp/server.py for full schemas and examples.

Installation

Run with uvx (no install โ€” recommended)

uvx japan-utils-mcp

That's it. uvx (from uv) handles install + run in one shot, isolated from your global Python.

From source

git clone https://github.com/vivek081166/japan-utils-mcp.git
cd japan-utils-mcp
uv sync
uv run japan-utils-mcp

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "japan-utils": {
      "command": "uvx",
      "args": ["japan-utils-mcp"]
    }
  }
}

Claude Code

claude mcp add japan-utils -- uvx japan-utils-mcp

Cursor / Cline / Continue

Same JSON snippet as Claude Desktop, in their respective MCP config files.

Examples

Once connected, ask your agent things like:

What year is ไปคๅ’Œ8ๅนด? โ†’ era_to_western("ไปคๅ’Œ8ๅนด") โ†’ 2026

What's the address for postal code 150-0001? โ†’ lookup_postal_code("150-0001") โ†’ ๆฑไบฌ้ƒฝ ๆธ‹่ฐทๅŒบ ็ฅžๅฎฎๅ‰

Convert ๅฑฑ็”ฐๅคช้ƒŽ to romaji. โ†’ kanji_to_romaji("ๅฑฑ็”ฐๅคช้ƒŽ") โ†’ yamada tarou

Is May 3rd 2026 a Japanese holiday? โ†’ is_holiday("2026-05-03") โ†’ ๆ†ฒๆณ•่จ˜ๅฟตๆ—ฅ (Constitution Memorial Day)

List all Japanese holidays in 2026. โ†’ list_holidays(2026) โ†’ 18 holidays with names and dates

Convert ใƒคใƒžใƒ€ใ‚ฟใƒญใ‚ฆ to hiragana. โ†’ convert_kana("ใƒคใƒžใƒ€ใ‚ฟใƒญใ‚ฆ", "hiragana") โ†’ ใ‚„ใพใ ใŸใ‚ใ†

Normalize ๏ผก๏ผข๏ผฃ๏ผ‘๏ผ’๏ผ“ to half-width. โ†’ normalize_width("๏ผก๏ผข๏ผฃ๏ผ‘๏ผ’๏ผ“", "to_half") โ†’ ABC123

Split ้•ท่ฐทๅทๅฅๅคช into surname and given name. โ†’ split_japanese_name("้•ท่ฐทๅทๅฅๅคช") โ†’ ้•ท่ฐทๅท / ๅฅๅคช

Caveats

  • Romaji of personal names uses the most common reading โ€” proper nouns with unusual readings will be wrong. This is a fundamental limitation of any kanji-to-romaji conversion without disambiguation context.
  • Postal code dataset ships via the posuto library, refreshed against Japan Post's monthly KEN_ALL. If you need ultra-fresh data, refresh posuto periodically.
  • Holidays covers national holidays (ๅ›ฝๆฐ‘ใฎ็ฅๆ—ฅ) only โ€” not company-specific or regional observances.
  • Era conversion supports Meiji (ๆ˜Žๆฒป) through Reiwa (ไปคๅ’Œ). Earlier eras are not supported.

Development

git clone https://github.com/vivek081166/japan-utils-mcp.git
cd japan-utils-mcp
uv sync
uv run python -c "from japan_utils_mcp.server import era_to_western; print(era_to_western('ไปคๅ’Œ8ๅนด'))"

License

MIT

Related MCP Servers

modelcontextprotocol/server-everythingVerified

๐Ÿ“‡ ๐Ÿ  - MCP server that exercises all the features of the MCP protocol

๐Ÿ› ๏ธ Other Tools and Integrations1 views
0xMassi/webclaw

๐Ÿฆ€ ๐Ÿ  ๐ŸŽ ๐Ÿง - Web content extraction for AI agents. 10 tools: scrape, crawl, map, batch, extract, summarize, diff, brand, search, research. TLS fingerprinting bypasses anti-bot without a browser. 67% fewer tokens than raw HTML. npx create-webclaw auto-configures Claude, Cursor, Windsurf, Codex, OpenCode.

๐Ÿ› ๏ธ Other Tools and Integrations0 views
2niuhe/plantuml_web

๐Ÿ ๐Ÿ  โ˜๏ธ ๐ŸŽ ๐ŸชŸ ๐Ÿง - A web-based PlantUML frontend with MCP server integration, enable plantuml image generation and plantuml syntax validation.

๐Ÿ› ๏ธ Other Tools and Integrations0 views
2niuhe/qrcode_mcp

๐Ÿ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - A QR code generation MCP server that converts any text (including Chinese characters) to QR codes with customizable colors and base64 encoding output.

๐Ÿ› ๏ธ Other Tools and Integrations0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.