japan-subsidy-mcp-server
# Japan Subsidy Data API
**10,800+ Japanese national & municipal subsidy programs — 1,300 currently open — prefecture codes assigned for 78% of open programs (excluding nationwide programs), updated daily.**
**日本の国・自治体補助金10,800件/公募中1,300件/都道府県コード付与率78%(公募中・全国対象を除く)/毎日更新。**
A searchable, structured catalog of Japanese government subsidies and grants (補助金・助成金) for businesses — national programs (including jGrants) and municipal programs collected from official sources, normalized into one API.
- **Subscribe on RapidAPI:** https://rapidapi.com/dloffice/api/japan-subsidy-data-api
- **OpenAPI spec:** [openapi.yaml](./openapi.yaml) / [openapi.json](./openapi.json)
- **Real response samples:** [samples/](./samples/)
日本の国・自治体が公表する補助金・助成金を、公式情報をもとに毎日収集・整備した検索APIです。制度名・地域(都道府県コード/市区町村コード)・締切・金額で絞り込み、制度ごとの詳細(対象・要件・公式URL)と、交付決定前の着手可否などの客観フラグを返します。
## Endpoints
| Method | Path | Description |
|---|---|---|
| GET | `/v1/subsidies` | Search & filter programs (検索・絞り込み) |
| GET | `/v1/subsidies/{id}` | Program detail (制度詳細) |
| GET | `/v1/coverage` | Catalog coverage & fill rates (収録状況) |
| GET | `/v1/grants/changes` | Daily diff feed: added / removed / changed (PRO plan) |
| GET | `/v1/openapi.json` | This API's OpenAPI spec |
### Search filters
`q` (keyword), `status` (`open` / `upcoming` / `closed`), `prefecture_code` (JIS X 0401, e.g. `13` = Tokyo), `municipality_code`, `min_amount`, `deadline_from`, `deadline_to`, `has_verified_detail`, `updated_since`, `limit` (max 20), `page`.
### Detail extras
- `has_expert_review` / `expert_note_count` — whether practical review notes exist for the program, and how many (counts only).
- `risk_flags` — objective, source-derived flags: `pre_start_prohibited` (交付決定前着手NG), `first_come_first_served` (先着順), `requires_business_plan` (事業計画書必須). `null` means the source does not state it — never guessed.
## Quickstart
Subscribe on RapidAPI (free BASIC plan available), then call the gateway with your RapidAPI key:
```bash
export RAPIDAPI_KEY="your-rapidapi-key"
curl -s "https://japan-subsidy-data-api.p.rapidapi.com/v1/subsidies?status=open&prefecture_code=13&limit=5" \
-H "X-RapidAPI-Key: $RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: japan-subsidy-data-api.p.rapidapi.com"
```
More copy-paste examples: [examples/curl.sh](./examples/curl.sh) · [examples/python.py](./examples/python.py) · [examples/typescript.ts](./examples/typescript.ts)
Real responses captured from the production API: [samples/search.json](./samples/search.json) · [samples/detail.json](./samples/detail.json) · [samples/coverage.json](./samples/coverage.json)
## MCP server
A thin MCP (Model Context Protocol) server wraps this API so AI agents can search Japanese subsidies directly. The RapidAPI key is passed via environment variable — nothing is hardcoded.
```json
{
"mcpServers": {
"japan-subsidy": {
"command": "npx",
"args": ["-y", "japan-subsidy-mcp-server"],
"env": { "RAPIDAPI_KEY": "your-rapidapi-key" }
}
}
}
```
Tools: `search_subsidies`, `get_subsidy`, `get_coverage`, `get_changes`. Source: [mcp-server/](./mcp-server/).
## Plans
| Plan | Price | Requests |
|---|---|---|
| BASIC | $0 / month | 100 / month |
| PRO | $9 / month | 10,000 / month, incl. the changes feed |
| ULTRA | $29 / month | 100,000 / month |
## Terms
Data is compiled from official public sources and updated daily. Redistribution or resale of the data itself is not permitted. Per-program practical guidance and application kits are available on a custom basis for businesses and professionals — 制度別の実務知見・申請案内キットが必要な法人・士業様はカスタム提供にて対応します(RapidAPIの掲載ページからお問い合わせください)。
## Data sources, disclaimers & removal requests
This dataset is mechanically extracted and structured from publicly available primary sources. The original source of each record is attributed to its `organizer` and `official_url`. `risk_flags` are reference indicators automatically extracted from official guideline texts; always confirm start-of-work eligibility and all requirements in the latest official guidelines at `official_url` before acting. This service does not provide application document preparation, drafting, correction, or filing agency services, including services reserved under Japan's Certified Administrative Procedures Legal Specialist Act and Certified Social Insurance and Labor Consultant Act (the latter covering employment-related grants and subsidies, which are likewise outside the scope of support).
**Removal requests:** Rights holders and issuing municipalities may at any time request exclusion of a program or cessation of collection. Contact dL-office at **takk@muse.ai** and the relevant data will be promptly excluded, in principle within 3 business days.
本データは、公開されている一次情報を機械的に抽出・構造化(加工)したものです。原出典は各レコードの `organizer`(実施機関)および `official_url` に帰属します。`risk_flags` は公募要領テキストからの自動抽出による参考指標です。着工可否・要件の最終確認は、必ず `official_url` の最新の公式要領で行ってください。本サービスは、申請書類の作成・添削・提出代行(行政書士法および社会保険労務士法に基づく業務を含みます。雇用関係の助成金に関する支援も対象外です)を行いません。
**掲載除外・収集停止のご依頼:** 権利者様・実施自治体様は、いつでも掲載の除外または収集の停止をご依頼いただけます。dL-office 窓口(**takk@muse.ai**)へご連絡いただければ、速やかに(原則3営業日以内)除外対応いたします。
## License
Sample code and the MCP server in this repository are MIT-licensed. API data is provided under the RapidAPI listing terms above.
This server cannot be deployed
TDQS
Scored across 4 tools
Each tool maps to a clearly distinct operation: bulk search with filters (search_subsidies), single-record retrieval by id (get_subsidy), catalog statistics (get_coverage), and a time-based diff feed (get_changes). There is no plausible way to confuse these purposes, and get_subsidy explicitly states the id comes from search results.
All four names follow the same verb_noun snake_case pattern (search_subsidies, get_subsidy, get_coverage, get_changes). The vocabulary is also consistent with the descriptions, using 'subsidy/subsidies' throughout.
Four tools is on the lean side but each earns its place for a read-only data catalog, and there is no redundancy. A few more capabilities (e.g. reference/list lookups for prefecture codes or experts) would fill out the surface without bloat.
The core lifecycle for a reference dataset — discover (search_subsidies), inspect (get_subsidy), assess quality (get_coverage), and track updates (get_changes) — is covered. Minor gaps: expert reviews are only exposed as counts/flags with no way to retrieve the notes, and there are no lookup tools for valid prefecture/municipality codes despite the JIS code filters.