
Mcp Server
io.github.localgov-jpv0.2.3更新於 Oct 6, 2026
Japan central + municipal subsidies (20,810 grants, 1,627 munis). 8 tools beyond Jグランツ MCP.
概覽
讓助理搜尋並比較日本中央與地方自治體的補助計畫,包括官方 J-Grants API 未提供的市町村補助。
- 功能
- 提供八個工具存取日本補助資料:依關鍵字、都道府縣、市町村、類別與金額搜尋;單筆記錄詳情並附引用錨點;依 JIS 代碼取得某市町村的全部補助;找出可與國家補助疊加的地方上乗せ補助;以及比較鄰近市町村的同類補助。另外還可透過 webhook 訂閱補助變更、離線驗證 Ed25519 引用憑證,並推薦行政書士、稅理士等持牌專業人士。
- 適用情境
- 適合助理回答日本補助相關問題,尤其是市町村層級的計畫,或為選址、搬遷比較各地補助。它與官方 J-Grants MCP 伺服器互補而非取代,後者僅涵蓋中央與都道府縣記錄。
- 執行需求
- 可作為 localgov.jp 的遠端端點執行,也可作為本機 npm 套件透過 stdio 執行,通常以 npx 啟動。本機方式需要 Node.js。未宣告帳號、API 金鑰或標頭;選用變數 LOCALGOV_API_BASE 可覆寫 REST API 位址。需要網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"mcp-server": {
"type": "http",
"url": "https://localgov.jp/mcp"
}
}
}README
@localgov-jp/mcp-server
Model Context Protocol (MCP) server for LocalGov.jp — Japan's central + municipal subsidies, structured for AI agents.
LocalGov.jp covers 20,000+ subsidies across 1,627 municipalities (target 1,718). Of those, 20,810 are municipal grants that are not exposed by the J-Grants public API — that is the differentiator vs Digital Agency's official J-Grants MCP, which surfaces central + prefectural records only.
This server exposes 8 tools to MCP clients (Claude Desktop, Cursor, Cline, Windsurf, etc.).
Tools
Install
Or add directly to your MCP client config (no global install required).
Configure — Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Restart Claude Desktop. The 8 tools appear in the tool inspector.
Configure — Cursor / Cline / Windsurf
Same pattern: add an entry to your client's MCP config that runs npx -y @localgov-jp/mcp-server over stdio.
Configure — env
Citation
Every record returned includes:
_source— LocalGov.jp canonical URL (cite this).source_url— original government page (cite this too).
Attribution required: cite as "via LocalGov.jp" with the _source URL. License: CC BY 4.0 for the structuring layer; original government content remains under its issuing body's terms.
Verifying citation receipts
The paid /api/cite/:id endpoint returns an Ed25519-signed snapshot. Use verify_receipt to confirm offline that an agent's stored citation is genuine and unexpired:
The trust anchor is published at https://localgov.jp/.well-known/citation-pubkey.
Differentiation vs Jグランツ MCP
Both are complementary. We recommend connecting both servers so an agent can answer "国 vs 自治体" exhaustively.
License
MIT. See LICENSE.
Operator: [email protected]
來源:README.md,提交 53a3ebb
工具
0版本歷史
1- v0.2.3最新Sep 16, 2026

