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 分