jgrants-mcp
This server provides access to Japanese government subsidy information from the jGrants public API, enabling you to search subsidies, retrieve detailed information, and download official documents.
Core capabilities:
Search subsidies (
list_subsidies) - Find currently accepting programs using Japanese keywords (defaults to "補助金")Get detailed information (
get_subsidy_detail) - Retrieve comprehensive details including eligibility, funding limits, target regions, and attachment metadata (file names, sizes, indexes)Download documents (
download_attachment) - Access official files as Base64-encoded content:Application guidelines (公募要領)
Grant outline documents (交付要綱)
Application forms (申請様式)
Key features:
Returns structured data optimized for LLM processing
No API key required
Efficient attachment handling with metadata access before downloading
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jgrants-mcp 介護施設向けの補助金を検索して"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
jgrants-mcp
日本の補助金情報を検索するための MCP (Model Context Protocol) サーバー
概要
jgrants-mcp は、jGrants(デジタル庁が運営する補助金電子申請システム)の公開 API をラップした MCP サーバーです。LLM から MCP を経由して日本の補助金情報に簡単にアクセスできます。
Related MCP server: houjin-bangou-api-mcp
機能
以下の 3 つのツールを提供します。すべてのツールは structuredContent フィールドで構造化データを返すため、LLM が効率的に処理できます。
1. list_subsidies
指定したキーワードで公募中の補助金一覧を取得します。
パラメータ:
keyword(文字列, オプション): 検索キーワード(デフォルト: "補助金")
返却データ:
補助金のリスト(id, name, title, 対象地域, 補助上限額など)
2. get_subsidy_detail
補助金の詳細情報を取得します。添付ファイルは軽量なメタデータ(ファイル名、サイズ、インデックス)のみを返し、Base64 データは含まれません。
パラメータ:
subsidy_id(文字列, 必須): 補助金の ID(list_subsidiesで取得した id を指定)
返却データ:
補助金の詳細情報
各添付カテゴリの
AttachmentGroup:count: 添付ファイル数hasAttachments: 添付の有無attachments: ファイル情報の配列index: ダウンロード時に指定するインデックスname: ファイル名sizeBytes: ファイルサイズ(バイト)
3. download_attachment
指定した補助金の添付ファイルをダウンロードします。Base64 エンコードされたファイルデータとメタデータを返します。
パラメータ:
subsidy_id(文字列, 必須): 補助金の IDcategory(文字列, 必須): 添付文書のカテゴリapplication_guidelines: 公募要領outline_of_grant: 交付要綱application_form: 申請様式
index(整数, 必須): 添付文書のインデックス(get_subsidy_detailのattachments[n].indexを指定)
返却データ:
file_name: ファイル名data: Base64 エンコードされたファイルデータdata_size_bytes: ファイルサイズencoding: エンコード形式(常に "base64")
インストール
npm 経由でグローバルインストール
npm install -g jgrants-mcpnpx で直接実行
npx jgrants-mcpローカル開発
git clone https://github.com/tachibanayu24/jgrants-mcp.git
cd jgrants-mcp
npm install
npm run build使用方法
Claude Desktop での設定
Claude Desktop の設定ファイル(~/Library/Application Support/Claude/claude_desktop_config.json)に以下を追加:
{
"mcpServers": {
"jgrants": {
"command": "npx",
"args": ["jgrants-mcp"]
}
}
}他の MCP クライアントでの使用
MCP に対応した任意のクライアントから利用可能です。
使用例
1. 補助金を検索
ユーザー: 「介護施設向けの補助金を探して」→ LLM が list_subsidies を keyword: "介護" で実行
2. 詳細情報を取得
ユーザー: 「ID a0WJ200000CDTxsMAH の補助金の詳細を教えて」→ LLM が get_subsidy_detail を実行し、以下の情報を取得:
補助金の詳細(対象者、補助率、上限額など)
添付ファイルのメタデータ(ファイル名とサイズ)
3. 添付ファイルをダウンロード
ユーザー: 「公募要領をダウンロードして」→ LLM が download_attachment を実行:
category: "application_guidelines"index: 0(詳細情報から取得)
開発
必要な環境
Node.js 18 以上
npm または yarn
ビルド
npm run build開発モード
npm run devAPI について
このツールは jGrants の公開 API(https://api.jgrants-portal.go.jp/exp/v1/public)を使用しています。API キーは不要です。
ライセンス
MIT
Available Tools
3 toolsdownload_attachmentA
Download a subsidy's attachment document. Returns the file data in base64 encoding along with metadata. First call get_subsidy_detail to see the attachments array for each category (application_guidelines, outline_of_grant, application_form), then use the 'index' from attachments[n].index to download the specific file.
Inputs: subsidy_id (required), category (required), index (required).
get_subsidy_detailB
Get detailed information about a specific subsidy. Use the subsidy ID, not the title.
Inputs: subsidy_id (required).
list_subsidiesB
Search for subsidies currently accepting applications using the specified keyword. Default is '補助金' (subsidy).
Inputs: keyword.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: list_subsidies searches for subsidies, get_subsidy_detail retrieves detailed information about a specific subsidy, and download_attachment handles file downloads. There is no overlap in functionality, and the descriptions clearly differentiate their roles.
All tool names follow a consistent verb_noun pattern (list_subsidies, get_subsidy_detail, download_attachment) using snake_case. The verbs (list, get, download) are appropriate and predictable, making the set easy to understand and use.
With only 3 tools, the set feels thin for a subsidy management domain, as it lacks operations like creating, updating, or deleting subsidies. However, the tools cover core search and retrieval functions, so it's borderline but not severely mismatched.
The tool set has significant gaps for a subsidy management server. It provides search and detail retrieval but lacks essential CRUD operations (e.g., create_subsidy, update_subsidy, delete_subsidy) and other lifecycle actions like applying for subsidies or managing applications, which could cause agent failures in broader workflows.
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server for Pinchwork - an agent-to-agent task marketplace with credits-based economy
MCP server for the Vulners.com API
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceMCP server for Japan's Jグランツ grant application system, enabling LLMs to search and retrieve subsidy information via natural language.51MIT- AlicenseBqualityBmaintenanceMCP server for the Japan National Tax Agency Corporate Number API, enabling corporate number lookup and search via local AI clients.31MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides AI assistants with access to over 40 Bank of Japan statistical databases (interest rates, money supply, exchange rates, tankan, etc.) via the BOJ time-series data search API.49 npmMIT
- AlicenseAqualityDmaintenanceAn MCP server that provides access to Japan's central and municipal subsidies, covering over 20,000 municipal grants not exposed by official APIs, with tools for search, comparison, citation verification, and practitioner referrals.1352 npmMIT