mcpField
J
jp-m2m-gateway

jp-m2m-gateway

Remote
github.com/kodandyLegal & Government0Updated 20w ago
Repository

About jp-m2m-gateway

jp-m2m-gateway is a remote MCP server for agents that exposes raw Japanese regulatory and corporate records keyed by corporate number. Its datasets include pension headcount logs, Gazette financial disclosures, and gBizINFO records.

Key features

  1. 01Corporate dataset catalog lookup
  2. 02Monthly pension headcount logs
  3. 03Official Gazette financial disclosures
  4. 04gBizINFO procurement and subsidy records

Use cases

  1. 01Inspect monthly insured-headcount changes
  2. 02Retrieve statutory financial disclosure text
  3. 03Review procurement, subsidy, or certification records

MCP support

Exposes company dataset lookup and raw-record tools to MCP clients over stateless Streamable HTTP. Paid data calls use x402; settlement is being enabled during the private beta.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://jp-m2m-gateway-62ko7b2uwa-an.a.run.app/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

5
ParameterTypeRequiredDescription
corporate_idstringYes13-digit Japanese corporate number (法人番号), e.g. 7010001012345

Details

From the project README

JP Raw M2M Data Gateway — MCP Server

Remote MCP (Model Context Protocol) server exposing raw Japanese regulatory corporate data to AI agents, metered per call with the x402 payment protocol.

Unlike generic corporate registries, this gateway serves un-aggregated, regulatory-enforced raw logs for Japanese companies, keyed by the 13-digit corporate number (法人番号):

ToolDatasetPrice
list_company_datasetsCatalog lookup for one corporate numberFree
get_pension_headcount_logJapan Pension Service monthly insured-headcount raw log (month-over-month deltas)0.05 USDC / call
get_gazette_financialsOfficial Gazette (官報) statutory financial disclosures, raw text blocks0.05 USDC / call
get_government_recordsgBizINFO procurement / subsidy / certification raw log0.05 USDC / call

Connect

Listed on Smithery and the official MCP Registry (io.github.kodandy/jp-m2m-gateway).

Claude Code:

claude mcp add --transport http jp-m2m https://jp-m2m-gateway-62ko7b2uwa-an.a.run.app/mcp

Generic MCP client configuration:

{
  "mcpServers": {
    "jp-m2m": {
      "type": "streamable-http",
      "url": "https://jp-m2m-gateway-62ko7b2uwa-an.a.run.app/mcp"
    }
  }
}

No API key and no initialize handshake required — the server is stateless; tools/call works directly.

How payment works (x402)

Paid tools return a structured HTTP 402 payment challenge instead of data:

{
  "status": 402,
  "error": "Payment Required",
  "dataset": "pension",
  "amount_usdc": 0.05,
  "x402": { "header": "X-402-Payment-Required", "descriptor": "usdc_request_mock_v1_base_…" },
  "resource": "https://…/v1/companies/{corporate_id}/pension",
  "how_to_pay": "Settle 0.05 USDC via x402, then retry the resource with an X-PAYMENT header."
}

Per-resource descriptors are stable. x402 settlement (USDC on Base, testnet first) is being enabled during the current private beta; agents that send X-PAYMENT retries are prioritized for access.

Notes

  • Machine-to-machine only. Human/browser UX is intentionally not provided — browsers receive a plain-text 402 by design.
  • Status: closed private beta. Endpoints, pricing and datasets may change.
  • Source of the gateway lives in a private repository; this repo hosts the public MCP server documentation and registry manifest.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.