Jp M2m Gateway

io.github.kodandy由 GitHub 账号 kodandy 发布v0.1.0更新于 Oct 24, 2026

Raw Japanese regulatory data for AI agents: pension, gazette, gBizINFO. x402-metered (USDC).

已验证Streamable HTTP可网页运行金融商业与电商

概览

AI 生成的概览

远程 MCP 服务器,为助手提供日本企业原始监管数据——养老金参保人数日志、官报财务披露与 gBizINFO 记录,按次以 USDC 计费。

可以做什么
免费查询某个日本法人编号可用的监管数据集目录(list_company_datasets)。通过 gBizINFO 将日本公司名称解析为 13 位法人编号(search_corporations)。获取日本养老金服务逐月参保人数增减的未汇总原始日志(get_pension_headcount_log)。获取从官报扫描件解析出的法定财务披露原始文本块(get_gazette_financials)。获取 gBizINFO 的采购合同、补贴与认证记录(get_government_records)。
适用场景
当助手需要按法人编号获取机器可读的日本企业监管数据——养老金参保人数变化、官报财务披露或政府采购与补贴记录——且调用方能够处理按次 USDC 支付挑战时适用。
运行要求
远程 Streamable HTTP 端点;无需本地运行时、API 密钥或握手。付费工具需要以 Base(先测试网)上的 USDC 完成 x402 结算,并携带 X-PAYMENT 头重试。需要能访问该端点及其上游数据源。
安装前请注意
付费工具每次调用 0.05 USDC,返回的是 HTTP 402 支付挑战而非数据;结算涉及加密钱包与实际支出。该服务为封闭内测,端点、价格和数据集可能变动。仅面向机器对机器,浏览器只会收到纯文本 402。政府记录取自 gBizINFO 上游。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Jp M2m Gateway,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.kodandy%2Fjp-m2m-gateway/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

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

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:

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

Generic MCP client configuration:

json
{  "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:

json
{  "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

来源:README.md,提交 780e83d

工具

5

list_company_datasets

List paid raw datasets for a Japanese company

Free catalog lookup. Lists the raw regulatory datasets available for one Japanese corporate number with per-call x402 pricing (0.05 USDC per call). Use the dataset tools or the returned api_url to retrieve data.

输入参数corporate_id必填

get_pension_headcount_log

Japan Pension Service monthly insured-headcount raw log

Un-aggregated month-over-month insured headcount deltas (健康保険・厚生年金) for one Japanese corporate number. Paid via x402: each call costs 0.05 USDC. This tool returns the HTTP 402 payment challenge for the resource. Private beta note: a successful settlement is acknowledged with a receipt that records your priority access; the dataset itself unlocks for early settlers as provisioning goes live.

输入参数corporate_id必填

get_gazette_financials

Official Gazette (官報) raw financial text blocks

Statutory financial disclosure (決算公告) raw text blocks, parsed from gazette page scans by a Vision LLM. Paid via x402: each call costs 0.05 USDC. This tool returns the HTTP 402 payment challenge for the resource. Private beta note: a successful settlement is acknowledged with a receipt that records your priority access; the dataset itself unlocks for early settlers as provisioning goes live.

输入参数corporate_id必填

get_government_records

gBizINFO procurement / subsidy raw log

FREE during beta — returns live data. Un-aggregated procurement contracts, subsidy grants and certifications, pulled on demand from gBizINFO upstream. Source: gBizINFO (経済産業省), attribution included in every response.

输入参数corporate_id必填

search_corporations

Search Japanese corporations (free)

FREE — returns live data. Resolve Japanese company names to 13-digit corporate numbers (法人番号) via gBizINFO. Use the corporate number with the dataset tools.

输入参数name必填page

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分