Skip to main content
Glama
yoshitokameyama

jgrants-mcp-poc

Jグランツ補助金検索 MCP — torchi PoC

デジタル庁のJグランツ公開APIを、NotionなどのMCPクライアントから利用するための読み取り専用リモートMCPです。

デジタル庁の公開サンプル digital-go-jp/jgrants-mcp-server を基に、Sliplane常設運用向けの認証、ヘルスチェック、コンテナ構成、出力量制御を追加しています。

提供ツール

  • ping — 接続確認

  • search_subsidies — キーワード、地域、業種、従業員数、利用目的で検索

  • get_subsidy_overview — 締切期間・上限金額別の集計

  • get_subsidy_detail — 詳細と添付資料一覧を取得

  • get_file_content — 選択した添付資料だけをMarkdown化

検索結果には公式JグランツURLと出典を付けます。取得情報は参考情報であり、申請前に公式ページの最新情報を確認してください。

Related MCP server: koko-call-mcp

リモート構成

Notion
  -> HTTPS + Bearer token
  -> Caddy gateway(公開)
  -> FastMCP server(Sliplane内部のみ)
  -> Jグランツ公開API
  • /health は監視用として認証なしで公開します。

  • /mcp はGatewayとMCP本体の両方で同じBearer tokenを検証します。

  • TokenはSliplaneのSecret環境変数にだけ保存し、GitHubやログへ入れません。

  • 添付資料はMCP本体の一時領域へ保存され、必要なファイルだけ本文を返します。

ローカル開発

Python 3.10以上とuvを使用します。

uv sync
uv run pytest
JGRANTS_REQUIRE_AUTH=0 uv run python -m jgrants_mcp_server

認証付きのDocker構成は次のとおりです。

cp .env.example .env
# .envのMCP_AUTH_TOKENを32文字以上のランダム値へ変更
docker compose up --build
curl http://localhost:8080/health
curl -i http://localhost:8080/mcp

未認証の /mcp はHTTP 401になります。

Sliplane設定

同じGitHubリポジトリから2サービスを作成します。

jgrants-mcp

  • Dockerfile: Dockerfile

  • 公開: オフ

  • Healthcheck: /health

  • 環境変数:

    • JGRANTS_HOST=0.0.0.0

    • JGRANTS_PATH=/mcp

    • JGRANTS_REQUIRE_AUTH=1

    • MCP_AUTH_TOKEN=<secret>

    • PORT=8000

jgrants-mcp-gateway

  • Dockerfile: gateway/Dockerfile

  • 公開: オン

  • Healthcheck: /health

  • 環境変数:

    • MCP_AUTH_TOKEN=<same secret>

    • UPSTREAM_URL=http://jgrants-mcp.internal:8000

mainへのpushを自動デプロイ対象にします。NotionにはGatewayの公開URLに /mcp を付けたURLとBearer tokenを登録します。

ライセンスと出典

コードはMIT Licenseです。JグランツAPIの利用はJグランツAPI利用規約に従ってください。公開・転用時はJグランツを出典として明記してください。

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for Japan's Jグランツ grant application system, enabling LLMs to search and retrieve subsidy information via natural language.
    47
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Read-only MCP server for searching Japanese government procurement bid notices (官公需) from the SME Agency's KKJ portal. Includes AI ranking, PDF requirement extraction, and CSV/calendar export.
    105
    Apache 2.0
  • F
    license
    B
    quality
    D
    maintenance
    MCP server for searching Japanese government procurement notices via the Kanpou API. Enables LLMs to search by date, keyword, or detailed criteria.
    3
    1
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for searching Japanese corporate data including companies, financials, patents, subsidies, and government statistics via official government APIs.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Read-only MCP server for searching Japan government procurement bid information from the KKJ portal.

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

  • Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yoshitokameyama/jgrants-mcp-poc'

If you have feedback or need assistance with the MCP directory API, please join our Discord server