Torify — Claude Code MCP server: Japanese locale APIs
Torify — Japanese Locale APIs for AI Agents is an MCP server for Claude Code that handles Japanese era dates, invoice numbers, company lookups and postal codes.
no license 815 installs updated 2026-05-08
claude mcp add --transport http torify https://torify.run.toolsWhat Torify — Japanese Locale APIs for AI Agents does
Standard libraries stop where the Japanese locale starts. wareki.convert maps dates between the Meiji, Taisho, Showa, Heisei and Reiwa eras and the Gregorian calendar, including the days eras changed. invoice.validate checks a T-number's format and check digit. houjin.lookup takes a 13-digit corporate number and returns the company name, address, kind and status from the NTA API.
Several tools need no key at all. postal.lookup turns a 7-digit postal code into prefecture, city and town through zipcloud. geo.reverseGeocode gives a municipality code and town name for a coordinate pair. law.search finds a law by title in the e-Gov Hourei API v2. name.romanize writes names in Hepburn romanization, passport style, either family name first or given name first, while kanji.toKana outputs hiragana or katakana using Cloudflare Workers AI.
Two tools have edges worth knowing. invoice.verify checks a number against the NTA registry and needs INVOICE_APP_ID, which NTA issues free on application. geo.geocode accepts address strings only, so a station or landmark name comes back empty. The MCP endpoint asks for no authentication; email signup brings 100 calls a month, then $0.02 per call over x402 or a $49 monthly Pro plan.
What it helps with
- convert an era date across a change-of-era boundary
- check a T-number check digit before issuing an invoice
- resolve a 13-digit corporate number to a company record
- turn a postal code into prefecture and town
- romanize a name for a passport-style document
Example prompts for the agent
- Convert the contract date to the Japanese era with
wareki.convert. - Look up the corporate number on this invoice with
houjin.lookupand give me the registered name and address. - Romanize the applicant's name in passport style with
name.romanize, family name first.
How to install Torify — Japanese Locale APIs for AI Agents
Platform CLI: remote server
claude mcp add --transport http torify https://torify.run.toolsPlatform CLI: remote server
codex mcp add torify-japanese-locale-apis-for-ai-agents --url https://torify.run.toolsConfig file
{
"mcpServers": {
"torify-japanese-locale-apis-for-ai-agents": {
"url": "https://torify.run.tools"
}
}
}Config file
{
"servers": {
"torify-japanese-locale-apis-for-ai-agents": {
"type": "http",
"url": "https://torify.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http torify-japanese-locale-apis-for-ai-agents https://torify.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Torify — Japanese Locale APIs for AI Agents
How do I install Torify in Claude Code?
Run claude mcp add --transport http torify https://torify.run.tools. That registers the HTTP endpoint as the torify server in Claude.
What does Torify do?
It gives the agent Japanese locale tools: era and Gregorian dates, T-number validation, corporate numbers, postal codes, address geocoding, law search, name romanization and kanji-to-kana conversion.
Do I need an API key?
The MCP endpoint itself asks for no authentication. Only invoice.verify needs INVOICE_APP_ID, issued free by NTA on application. Email signup gives 100 calls a month; beyond that it is $0.02 per call via x402 or the $49 monthly Pro plan.