mcp-houjin-bangou
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
@sugukuru/mcp-houjin-bangou
Model Context Protocol (MCP) server for looking up and verifying Japanese Corporate Numbers (法人番号) and Qualified Invoice Issuers (適格請求書発行事業者) published by the National Tax Agency of Japan.
🇯🇵 日本語版 README: README.ja.md
🔗 Product Pages: Product Overview | Terms of Service | Privacy Policy
Quick Connect (Zero API Key — Hosted Edition)
Connect immediately to https://houjin.mcp.sugu-kuru.co.jp/mcp (all 5 tools + 4 prompts + interactive MCP Apps UI; listed on the Official MCP Registry as jp.co.sugu-kuru/mcp-houjin-bangou):
ChatGPT (Published Plugin): Open Japan Company & Invoice Check on ChatGPT and connect with one click (no authentication required).
Claude Code (1 command):
claude mcp add --transport http houjin-bangou https://houjin.mcp.sugu-kuru.co.jp/mcpGoogle Antigravity (AGY):
agy plugin install https://github.com/SUGUKURU-CO-LTD/mcp-houjin-bangouClaude Desktop / Claude.ai / ChatGPT (Web & Desktop UI):
Open Settings → Connectors (or Apps & Connectors) → Add Custom Connector.
Enter Server URL:
https://houjin.mcp.sugu-kuru.co.jp/mcp(no authentication required).Start asking about any Japanese company name, 13-digit corporate number, or
T+13-digit invoice number!
Related MCP server: kaisha-mcp
Overview
An MCP server that enables Claude, ChatGPT, Cursor, Google Antigravity, VS Code Copilot, and any MCP-compatible client to:
Look up a Japanese corporation by its 13-digit National Corporate Number (
lookup_corporate_by_number), returning published name, furigana, head-office address, postal code, legal type, closure status/cause, successor corporate number (successor_corporate_number), and outdated-address flag (address_may_be_outdated).Search corporations by name (
search_corporate_by_name) with optional 2-digit JIS prefecture filter (01–47), cursor-based pagination, 2-stage exact/active-first ranking, and automatic expansion across half/full-width ASCII & spaces (Apple Japan⇔Apple Japan), old/new kanji (野村証券⇔野村證券,高橋⇔髙橋), small/large katakana (キャノン⇔キヤノン,富士フィルム⇔富士フイルム), and hiragana-to-katakana (すぐくる→スグクル) in Hosted DB mode.Verify a Qualified Invoice Issuer by registration number (
lookup_invoice_issuer,T+ 13 digits), with optional factual registration check as of a specified reference date (reference_date→was_registered_on_reference_date).Validate check digits locally (
validate_corporate_number) with zero external network calls.Normalize fuzzy company names (
normalize_company_name) deterministically across Japanese corporate-name patterns (expansion and position swaps of(株)/㈱/株式会社and other legal entities, English-to-Japanese suffixes such asK.K./Co., Ltd./LLC, NFKC, 75 old-to-new kanji variants, IVS stripping, and whitespace canonicalization).
Two Operating Modes
1. Hosted / PostgreSQL Mode (DATA_SOURCE=db — Remote Streamable HTTP)
Serves all 5 tools (including
lookup_invoice_issuer) from a PostgreSQL 16 (pg_trgm) database populated monthly from the National Tax Agency's public bulk download datasets (all-records CSVs for Corporate Numbers and Qualified Invoice Issuers).Requires zero API keys for end users and does not use an NTA Web-API Application ID at runtime.
Enforces
/mcpOriginheader allowlist verification, per-IP rate limiting (Retry-After), and 3-role database privilege separation (houjin_admin,houjin_ingest,houjin_reader).
2. Local / Self-Hosted Mode (HTTP)
Runs locally as a Streamable HTTP server (default port
3001) using either:NTA Web-API mode (
DATA_SOURCE=web-api, default): Uses your own NTA Web-API Application ID (NTA_APPLICATION_ID) for corporate number lookups and searches. Note thatlookup_invoice_issueris not available inweb-apimode (returnsDATA_UNAVAILABLE) and requiresDATA_SOURCE=dbor the Hosted Edition.Local PostgreSQL mode (
DATA_SOURCE=db): Connects to your own PostgreSQL 16 database (DATABASE_URL) migrated vianpx @sugukuru/mcp-houjin-bangou(npm run db:migrate) and populated via the bundled ingestion CLI (src/ingest/cli.ts), enabling all 5 tools locally.
# Run in local NTA Web-API mode (default port: 3001)
NTA_APPLICATION_ID="YOUR_NTA_APPLICATION_ID" npx @sugukuru/mcp-houjin-bangouMCP Client Configuration Examples
Cursor (.cursor/mcp.json or ~/.cursor/mcp.json)
{
"mcpServers": {
"houjin-bangou": {
"type": "streamable-http",
"url": "https://houjin.mcp.sugu-kuru.co.jp/mcp"
}
}
}Claude Code (.mcp.json or ~/.claude.json)
{
"mcpServers": {
"houjin-bangou": {
"type": "http",
"url": "https://houjin.mcp.sugu-kuru.co.jp/mcp"
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"houjin-bangou": {
"type": "http",
"url": "https://houjin.mcp.sugu-kuru.co.jp/mcp"
}
}
}Claude Desktop (claude_desktop_config.json fallback)
Prefer adding https://houjin.mcp.sugu-kuru.co.jp/mcp via Settings → Connectors in Claude Desktop. If your environment requires claude_desktop_config.json (which expects a local command entry rather than a bare url), bridge via mcp-remote:
{
"mcpServers": {
"houjin-bangou": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://houjin.mcp.sugu-kuru.co.jp/mcp"]
}
}
}Local HTTP Mode (Self-Hosted)
After starting the local HTTP server in a terminal (http://localhost:3001/mcp), connect using "type": "streamable-http" (Cursor) or "type": "http" (Claude Code / VS Code), or "args": ["-y", "mcp-remote", "http://localhost:3001/mcp"] in claude_desktop_config.json (do not pass @sugukuru/mcp-houjin-bangou directly as a stdio "command"). See examples/ for complete sample files.
Tools (5)
Tool | Purpose | Annotations ( | Notes |
| Look up 1 corporation by 13-digit corporate number |
| Returns basic info, closure details, |
| Search corporations by name & filters |
| Optional |
| Look up Qualified Invoice Issuer by |
| Optional |
| Local Modulo-9 check-digit validation |
| Pure function; no DB or network access (both modes). |
| Deterministic Japanese company-name normalization |
| Pure function; extracts |
Note on
openWorldannotation:openWorldHintis declared by the server for each tool as metadata and is not sent by clients.
In accordance with directory submission guidelines for public/open-ended entities (v1.8+ specification), data lookup tools (
lookup_corporate_by_number,search_corporate_by_name,lookup_invoice_issuer) declareopenWorldHint: trueacross both Hosted Edition and Local Mode.Pure calculation tools (
validate_corporate_number,normalize_company_name) declareopenWorldHint: falsein both modes as they operate purely in memory without external data lookups.
Prompts (4) & MCP Apps UI Resources (2)
Prompts:
invoice-verification-check: Verify a received invoice'sT+13-digit registration number, transaction date (reference_date), and corporate existence/merger succession in one step, producing a factual accounting verification record (no tax advice; no personal contact fields).company-master-record: Normalize a company name, search NTA records, and format a clean corporate master entry (strictly corporate data only; no personal contact fields).sales-list-enrichment: Enrich a list of company names (up to 20 per request) with 13-digit corporate numbers and published head-office addresses.customer-master-dedup: Detect duplicate customer master records caused by notation variants, mergers, or relocations.
MCP Apps UI Resources (
@modelcontextprotocol/ext-appsv1.7 + ChatGPTopenai/outputTemplate):ui://corporate-card/mcp-app.html: Interactive card view for bothlookup_corporate_by_number(Corporate Card with corporate-number copy, one-click TSV Vendor Master bulk copy for Excel/ERP/kintone, core-name similar-company search, successor drill-down, and one-click Qualified Invoice cross-check + reference-date picker) andlookup_invoice_issuer(Invoice Verification Card with corporate profile link).ui://search-results/mcp-app.html: Responsive table/card view forsearch_corporate_by_namewith status filter pills, interactivenext_cursorpagination, view-history back navigation, OS text-scale adaptation, andupdateModelContextsynchronization.Every tool also returns complete human-readable text (
content) and machine-readablestructuredContent, so headless CLI or non-UI clients fulfill all workflows without loss of information.
Privacy, Security & Data Freshness
No input logging: Corporate numbers, invoice registration numbers, and search queries are never written to application logs or leaked in error messages.
Sole proprietor protection: For individual (sole proprietor) invoice issuers, personal names, trade names, and addresses are never imported into the database or returned by any tool—only the registration number (
T+ 13 digits), entity classification, and registration/cancellation/expiration dates are stored.Monthly data refresh: The hosted database is updated once per month (snapshot as of the end of the preceding month). Mid-month changes, revocations, or deletion requests (process code
99) are reflected in the next monthly update. Every response includesdata_as_of.Factual lookup only: Date comparisons (
was_registered_on_reference_date) represent a mechanical comparison against published registration periods as ofdata_as_ofand do not constitute tax or legal advice.
Documentation
Attribution
Corporate Number Data: National Tax Agency Corporate Number Publication Site (
https://www.houjin-bangou.nta.go.jp/) — Public Data License v1.0 (公共データ利用規約 第1.0版)Qualified Invoice Issuer Data: National Tax Agency Qualified Invoice Issuer Publication Site (
https://www.invoice-kohyo.nta.go.jp/) — Public Data License v1.0 (公共データ利用規約 第1.0版)Web-API Disclaimer (Self-Hosted
web-apimode):このサービスは、国税庁法人番号システムWeb-API 機能を利用して取得した情報をもとに作成しているが、サービスの内容は国税庁によって保証されたものではない
License & Maintainer
License: MIT © 2026 SUGUKURU CO., LTD. (スグクル株式会社, Kagoshima, Japan)
Website: https://sugu-kuru.co.jp
Contact:
info@sugu-kuru.co.jp
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Verify Japanese companies, invoice-issuer registrations and addresses against government open data.
Free, no API key. 5.8M Japanese companies: corporate number, changes, invoice, EDINET, gBizINFO.
Japan corporate number & invoice registration number lookup — official National Tax Agency data.
Validate Japanese invoice registration numbers (T+13) and corporate numbers. No API key.
Related MCP Servers
- AlicenseBqualityBmaintenanceMCP server for the Japan National Tax Agency Corporate Number API, enabling corporate number lookup and search via local AI clients.31MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the Kaisha API, providing official Japanese company-registry data including corporate numbers and qualified invoice registrations, with pay-per-call via USDC micropayments.MIT
- AlicenseAqualityDmaintenanceAn MCP server that validates Japanese corporate numbers and invoice registration numbers, and normalizes/matches company names across notation variants.7MIT
- AlicenseAqualityCmaintenanceMCP server for Japanese public business data, enabling AI agents to validate and look up corporate numbers, search bank/branch codes, and check national holidays. Runs locally with no telemetry; live corporate registry data requires a free NTA app ID.8MIT