Torify — Japanese Locale APIs for AI Agents
No Docker. No API key. No wallet setup. Just paste a URL into your MCP client and start calling Japanese locale primitives that standard libraries lack.
Torify gives AI agents the Japanese locale primitives that standard libraries lack — imperial era date conversion (wareki), qualified invoice number validation with NTA registry lookup, corporate number lookup (法人番号), postal code resolution, name romanization (Hepburn), and kanji-to-kana conversion via Yahoo! JLP. 10 free MCP tools backed by a 40-endpoint REST API. No authentication required for MCP. 100 calls/month free with email signup, or pay-per-call $0.02/call via x402, or $49/mo Pro subscription.
What Torify Solves
Japanese locale data is notoriously hard to get right in software: imperial era dates (wareki), qualified invoice T-numbers tied to Japan's NTA registry, 13-digit corporate numbers (法人番号), 7-digit postal codes that map to prefecture/city/town with kana readings, kanji name romanization for passports, geocoding via Japan's official GSI tiles, and law/regulation search via e-Gov. Standard i18n libraries don't cover these. Torify wraps 40 production-ready endpoints behind a single hosted MCP server.
MCP Tools (10 total — free, no auth)
| Tool | What it does |
|---|---|
wareki.convert | Convert between imperial era (Meiji–Reiwa) and Gregorian dates |
invoice.validate | Format-check qualified invoice T-numbers offline (instant) |
invoice.verify | Verify T-numbers against Japan NTA's live registry |
houjin.lookup | Look up Japanese corporations by 13-digit 法人番号 |
postal.lookup | Postal code → prefecture/city/town with kana readings |
name.romanize | Japanese name → Hepburn romanization (passport-style) |
kanji.toKana | Kanji → hiragana/katakana via Yahoo! JLP |
geo.geocode | Address → lat/lng via GSI (国土地理院) |
geo.reverseGeocode | lat/lng → municipality + town name via GSI |
law.search | Search Japanese laws/regulations via e-Gov API v2 |
No authentication required. Rate limit: 100 req/day/IP.
Try Before You Pay
Get a free trial key with 100 calls/month — no credit card needed:
curl -X POST https://torify.dev/v1/trial/signup \
-H 'Content-Type: application/json' \
-d '{"email":"you@company.com"}'
Use the returned X-Trial-Key header to authenticate any REST endpoint.
Beyond MCP — Full REST API
For higher volume or non-MCP clients, Torify exposes 40 REST endpoints at https://torify.dev:
Pricing:
- Free MCP tier (100 req/day/IP)
- Free trial: 100 calls/month with email signup (X-Trial-Key)
- Pay-per-call: $0.02/call via x402 protocol — USDC on Base L2
- Pro subscription: $49/mo (10,000 calls/month)
- Enterprise: $499/mo (unlimited calls)
Resources
- Website: https://torify.dev
- API Docs: https://torify.dev/docs (OpenAPI 3.1)
- Code Examples: https://github.com/endennn/torify-examples
- A2A Agent Card: https://torify.dev/.well-known/agent.json
- x402 Resource: https://torify.dev/.well-known/x402
- Contact: contact@torify.dev
License & Author
MIT License. Built by Hiroki Sonoda — a developer building AI agent infrastructure for Japan-facing products.
Server Config
{
"mcpServers": {
"torify": {
"type": "http",
"url": "https://torify-mcp.torify.workers.dev"
}
}
}