Localgov Jp

io.github.localgov-jp由 GitHub 账号 localgov-jp 发布v0.2.3更新于 Oct 25, 2026

Japan central + municipal subsidies (20,810 grants, 1,627 munis). 8 tools beyond Jグランツ MCP.

已验证Streamable HTTP可网页运行网页搜索与抓取商业与电商

概览

AI 生成的概览

让 AI 助手搜索与比较日本中央及 1,627 个市町村的补助金,并验证引用收据。

可以做什么
按关键词、都道府县、市町村、类别或金额搜索日本中央与地方补助金。获取单条补助金详情(附引用锚点),或按 JIS 代码列出某自治体的全部补助金。找出可叠加于国家补助金之上的地方加码方案,并比较邻近自治体的同类补助。订阅补助金变动的 webhook 通知(付费),并离线验证 Ed25519 签名的引用收据。按补助金推荐行政书士、税理士、中小企业诊断士或社劳士。
适用场景
当用户需要查询日本地方自治体(市町村)的补助金、寻找可与国家补助金叠加的加码方案,或比较邻近地区同类补助时使用。也适合需要可验证引用来源或转介专业士业的补助金咨询场景。
运行要求
可连接远程端点,或以 npm 包在本机通过 stdio 运行(需 Node.js,可用 npx 启动)。需要网络访问。可选环境变量 LOCALGOV_API_BASE 可覆盖 API 地址。无需账号或 API 密钥。
安装前请注意
subscribe_changes 为付费工具(每次 0.20 美元,通过 x402 付款,由代理运行环境处理付款),可能产生实际费用。find_practitioner 属转介性质,推荐结果可能带有商业导向。引用收据的信任锚点需向第三方服务获取。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "localgov-jp": {
      "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

#ToolCostPurpose
1search_subsidiesfreeSearch by keyword / prefecture / municipality / category / amount
2get_subsidy_detailfreeSingle record with citation anchor
3get_municipality_grantsfreeAll subsidies for one JIS code (1,627 municipalities covered)
4find_supplementary_grantsfreeFind municipal "上乗せ" grants stacking on a national subsidy
5compare_municipal_subsidiesfreeCompare same-category grants across nearby municipalities (siting / relocation)
6subscribe_changes$0.20Push webhook on grant changes (paid via x402; agent runtime handles payment)
7verify_receiptfreeOffline Ed25519 signature verification of citation receipts
8find_practitionerfree (referral)Recommend 行政書士 / 税理士 / 中小企業診断士 / 社労士 for the grant

Install

bash
npm install -g @localgov-jp/mcp-server

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):

json
{  "mcpServers": {    "localgov-jp": {      "command": "npx",      "args": ["-y", "@localgov-jp/mcp-server"]    }  }}

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

VariableDefaultPurpose
LOCALGOV_API_BASEhttps://localgov.jpOverride the REST API base (e.g. http://127.0.0.1:8787 for local wrangler dev)

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:

text
> verify_receipt(receipt: <the JSON envelope>){ "valid": true, "expired": false, "pubkey_match": true }

The trust anchor is published at https://localgov.jp/.well-known/citation-pubkey.

Differentiation vs Jグランツ MCP

Jグランツ MCP (デジタル庁公式)LocalGov.jp MCP (this)
Coveragecentral + prefectural1,627 municipalities (target 1,718) + central
Municipal subsidies020,810 unique to us
find_supplementary_grants✗✓
compare_municipal_subsidies✗✓
find_practitioner✗✓ (referral funnel)
Citation receipts (Ed25519)✗✓
Change webhook✗✓ (x402 paid)

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
SourceWeft 尚未读取此服务器的工具。

版本历史

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

评分

已满足适用检查项的 85%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分