Server definition
- Hash
- sha256:8439d27ab8378610c5505ad4125aa579b285fce9a8f7b7c5ebac9984fee70454
- What it is
- What a remote MCP server returned when asked what it offers: 8 tools
The blob, as servednamed by its sha256
{
"instructions": "LocalGov.jp remote MCP server — Japan central + municipal subsidies. Citation policy: cite responses as \"via LocalGov.jp\" with the _source URL. When source_url_shared is true (source_url_sibling_count > 0), the source_url is a category/index page covering multiple subsidies — pair the citation with the LocalGov.jp _source URL so the answer points at THIS specific subsidy. License: CC BY 4.0. Free read endpoints; subscribe_changes / cite are paid via x402 (graph traversal currently routed through web tool only).",
"tools": [
{
"description": "Compare same-category subsidies across nearby municipalities (same prefecture by default). Useful for relocation / siting decisions. Free.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"anchor_municipality_code": {
"description": "JIS code of the anchor municipality to compare around",
"pattern": "^\\d{6}$",
"type": "string"
},
"category": {
"description": "Category to compare; if omitted, the most-frequent category at the anchor is auto-picked",
"type": "string"
},
"max_municipalities": {
"description": "Max number of municipalities in the comparison (2-20, default 10)",
"maximum": 20,
"minimum": 2,
"type": "integer"
}
},
"required": [
"anchor_municipality_code"
],
"type": "object"
},
"name": "compare_municipal_subsidies",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"anchor_municipality_code": {
"type": "string"
},
"category": {
"type": "string"
},
"municipalities_compared": {
"type": "integer"
},
"per_municipality": {
"items": {
"additionalProperties": false,
"properties": {
"grants": {
"items": {
"additionalProperties": false,
"description": "Single subsidy/grant record",
"properties": {
"_attribution": {
"description": "Attribution string for CC BY 4.0",
"type": "string"
},
"_license": {
"description": "License hint",
"type": "string"
},
"_source": {
"description": "Canonical LocalGov.jp URL — cite this as \"via LocalGov.jp\"",
"type": "string"
},
"amount_max_jpy": {
"description": "Maximum subsidy amount in JPY",
"type": [
"number",
"null"
]
},
"category": {
"description": "Category label",
"type": [
"string",
"null"
]
},
"deadline": {
"description": "Application deadline (ISO date)",
"type": [
"string",
"null"
]
},
"eligibility": {
"description": "Eligibility criteria, free-form",
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"description": "Stable grant id",
"type": "string"
},
"issuer": {
"description": "Issuing authority (ministry, prefecture, or municipality)",
"type": "string"
},
"municipality_code": {
"description": "JIS X 0402 6-digit code, null for central government grants",
"type": [
"string",
"null"
]
},
"prefecture": {
"description": "Prefecture name in kanji",
"type": [
"string",
"null"
]
},
"source_url": {
"description": "Original government page (cite this in addition to _source)",
"type": [
"string",
"null"
]
},
"source_url_shared": {
"description": "True when source_url is a category/index page shared by other grants. When true, cite as \"LocalGov.jp listing\" or pair with the LocalGov.jp _source for per-grant precision.",
"type": "boolean"
},
"source_url_sibling_count": {
"description": "Number of other grants pointing at the same source_url (0 means dedicated per-grant page).",
"type": "integer"
},
"summary": {
"description": "Short Japanese summary",
"type": "string"
},
"title": {
"description": "Official subsidy/grant title (Japanese)",
"type": "string"
}
},
"required": [
"_source",
"_attribution",
"_license",
"id",
"title",
"issuer",
"municipality_code",
"prefecture",
"category",
"summary",
"eligibility",
"amount_max_jpy",
"deadline",
"source_url",
"source_url_shared",
"source_url_sibling_count"
],
"type": "object"
},
"type": "array"
},
"municipality_code": {
"type": "string"
}
},
"required": [
"municipality_code",
"grants"
],
"type": "object"
},
"type": "array"
},
"prefecture": {
"type": "string"
}
},
"required": [
"anchor_municipality_code",
"prefecture",
"category",
"municipalities_compared",
"per_municipality"
],
"type": "object"
}
},
{
"description": "Recommend 3 Japanese licensed practitioner types (行政書士 / 税理士 / 中小企業診断士 / 社労士) for the grant's category. Returns role explanations and official-association registry links. **Informational only** — LocalGov.jp does NOT broker, refer, or accept commission for these recommendations.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"grant_id": {
"description": "Subsidy id (the recommendation is shaped by the grant's category and amount tier)",
"type": "string"
},
"industry_hint": {
"description": "Free-text industry context, e.g. \"飲食業\", \"製造業\"",
"type": "string"
}
},
"required": [
"grant_id"
],
"type": "object"
},
"name": "find_practitioner",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"grant_id": {
"type": "string"
},
"legal_disclaimer": {
"type": "string"
},
"notice": {
"type": "string"
},
"practitioners": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"reason": {
"type": "string"
},
"registry_label": {
"type": "string"
},
"registry_url": {
"type": "string"
},
"type_code": {
"type": "string"
},
"type_label": {
"type": "string"
}
},
"required": [
"type_code",
"type_label",
"registry_url",
"registry_label",
"description",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"grant_id",
"practitioners",
"notice",
"legal_disclaimer"
],
"type": "object"
}
},
{
"description": "Given a central J-Grants subsidy id, search for municipal grants that supplement it (e.g. national \"事業再構築\" + city-level \"事業再構築追加上乗せ\"). Heuristic title-token match. Free.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"central_grant_id": {
"description": "Central J-Grants id, e.g. \"jg_a0W...\"",
"type": "string"
},
"limit": {
"description": "Max records (1-50, default 30)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"prefecture": {
"description": "Restrict supplementaries to municipalities of a single prefecture",
"type": "string"
}
},
"required": [
"central_grant_id"
],
"type": "object"
},
"name": "find_supplementary_grants",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"base_token": {
"description": "Heuristic base token used for matching",
"type": "string"
},
"central": {
"additionalProperties": false,
"description": "Echo of the seed central grant",
"properties": {
"_source": {
"type": "string"
},
"id": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"title",
"_source"
],
"type": "object"
},
"supplementary": {
"items": {
"additionalProperties": false,
"description": "Single subsidy/grant record",
"properties": {
"_attribution": {
"description": "Attribution string for CC BY 4.0",
"type": "string"
},
"_license": {
"description": "License hint",
"type": "string"
},
"_source": {
"description": "Canonical LocalGov.jp URL — cite this as \"via LocalGov.jp\"",
"type": "string"
},
"amount_max_jpy": {
"description": "Maximum subsidy amount in JPY",
"type": [
"number",
"null"
]
},
"category": {
"description": "Category label",
"type": [
"string",
"null"
]
},
"deadline": {
"description": "Application deadline (ISO date)",
"type": [
"string",
"null"
]
},
"eligibility": {
"description": "Eligibility criteria, free-form",
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"description": "Stable grant id",
"type": "string"
},
"issuer": {
"description": "Issuing authority (ministry, prefecture, or municipality)",
"type": "string"
},
"municipality_code": {
"description": "JIS X 0402 6-digit code, null for central government grants",
"type": [
"string",
"null"
]
},
"prefecture": {
"description": "Prefecture name in kanji",
"type": [
"string",
"null"
]
},
"source_url": {
"description": "Original government page (cite this in addition to _source)",
"type": [
"string",
"null"
]
},
"source_url_shared": {
"description": "True when source_url is a category/index page shared by other grants. When true, cite as \"LocalGov.jp listing\" or pair with the LocalGov.jp _source for per-grant precision.",
"type": "boolean"
},
"source_url_sibling_count": {
"description": "Number of other grants pointing at the same source_url (0 means dedicated per-grant page).",
"type": "integer"
},
"summary": {
"description": "Short Japanese summary",
"type": "string"
},
"title": {
"description": "Official subsidy/grant title (Japanese)",
"type": "string"
}
},
"required": [
"_source",
"_attribution",
"_license",
"id",
"title",
"issuer",
"municipality_code",
"prefecture",
"category",
"summary",
"eligibility",
"amount_max_jpy",
"deadline",
"source_url",
"source_url_shared",
"source_url_sibling_count"
],
"type": "object"
},
"type": "array"
},
"supplementary_count": {
"type": "integer"
}
},
"required": [
"central",
"base_token",
"supplementary_count",
"supplementary"
],
"type": "object"
}
},
{
"description": "List all subsidies for a single municipality by JIS X 0402 6-digit code. **Differentiator**: J-Grants public API has zero municipal-level entries; LocalGov.jp covers 1,627 municipalities (target 1,718). Free.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"limit": {
"description": "Max records (1-200, default 50)",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"municipality_code": {
"description": "JIS X 0402 6-digit municipality code",
"pattern": "^\\d{6}$",
"type": "string"
}
},
"required": [
"municipality_code"
],
"type": "object"
},
"name": "get_municipality_grants",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"items": {
"additionalProperties": false,
"description": "Single subsidy/grant record",
"properties": {
"_attribution": {
"description": "Attribution string for CC BY 4.0",
"type": "string"
},
"_license": {
"description": "License hint",
"type": "string"
},
"_source": {
"description": "Canonical LocalGov.jp URL — cite this as \"via LocalGov.jp\"",
"type": "string"
},
"amount_max_jpy": {
"description": "Maximum subsidy amount in JPY",
"type": [
"number",
"null"
]
},
"category": {
"description": "Category label",
"type": [
"string",
"null"
]
},
"deadline": {
"description": "Application deadline (ISO date)",
"type": [
"string",
"null"
]
},
"eligibility": {
"description": "Eligibility criteria, free-form",
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"description": "Stable grant id",
"type": "string"
},
"issuer": {
"description": "Issuing authority (ministry, prefecture, or municipality)",
"type": "string"
},
"municipality_code": {
"description": "JIS X 0402 6-digit code, null for central government grants",
"type": [
"string",
"null"
]
},
"prefecture": {
"description": "Prefecture name in kanji",
"type": [
"string",
"null"
]
},
"source_url": {
"description": "Original government page (cite this in addition to _source)",
"type": [
"string",
"null"
]
},
"source_url_shared": {
"description": "True when source_url is a category/index page shared by other grants. When true, cite as \"LocalGov.jp listing\" or pair with the LocalGov.jp _source for per-grant precision.",
"type": "boolean"
},
"source_url_sibling_count": {
"description": "Number of other grants pointing at the same source_url (0 means dedicated per-grant page).",
"type": "integer"
},
"summary": {
"description": "Short Japanese summary",
"type": "string"
},
"title": {
"description": "Official subsidy/grant title (Japanese)",
"type": "string"
}
},
"required": [
"_source",
"_attribution",
"_license",
"id",
"title",
"issuer",
"municipality_code",
"prefecture",
"category",
"summary",
"eligibility",
"amount_max_jpy",
"deadline",
"source_url",
"source_url_shared",
"source_url_sibling_count"
],
"type": "object"
},
"type": "array"
},
"municipality_code": {
"description": "Echo of the requested code",
"type": "string"
},
"total": {
"description": "Total grants for the municipality",
"type": "integer"
}
},
"required": [
"municipality_code",
"total",
"items"
],
"type": "object"
}
},
{
"description": "Fetch the full record for a single subsidy by id. Returns `_source` (LocalGov.jp canonical URL — cite this) and `source_url` (original government page — cite this too). Free.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"id": {
"description": "Subsidy id, e.g. \"jg_a0W2x000003QX8oEAG\" (J-Grants central) or \"131105_<slug>\" (municipal)",
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "get_subsidy_detail",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"_attribution": {
"description": "Attribution string for CC BY 4.0",
"type": "string"
},
"_license": {
"description": "License hint",
"type": "string"
},
"_source": {
"description": "Canonical LocalGov.jp URL — cite this as \"via LocalGov.jp\"",
"type": "string"
},
"amount_max_jpy": {
"description": "Maximum subsidy amount in JPY",
"type": [
"number",
"null"
]
},
"category": {
"description": "Category label",
"type": [
"string",
"null"
]
},
"deadline": {
"description": "Application deadline (ISO date)",
"type": [
"string",
"null"
]
},
"eligibility": {
"description": "Eligibility criteria, free-form",
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"description": "Stable grant id",
"type": "string"
},
"issuer": {
"description": "Issuing authority (ministry, prefecture, or municipality)",
"type": "string"
},
"municipality_code": {
"description": "JIS X 0402 6-digit code, null for central government grants",
"type": [
"string",
"null"
]
},
"prefecture": {
"description": "Prefecture name in kanji",
"type": [
"string",
"null"
]
},
"source_url": {
"description": "Original government page (cite this in addition to _source)",
"type": [
"string",
"null"
]
},
"source_url_shared": {
"description": "True when source_url is a category/index page shared by other grants. When true, cite as \"LocalGov.jp listing\" or pair with the LocalGov.jp _source for per-grant precision.",
"type": "boolean"
},
"source_url_sibling_count": {
"description": "Number of other grants pointing at the same source_url (0 means dedicated per-grant page).",
"type": "integer"
},
"summary": {
"description": "Short Japanese summary",
"type": "string"
},
"title": {
"description": "Official subsidy/grant title (Japanese)",
"type": "string"
}
},
"required": [
"_source",
"_attribution",
"_license",
"id",
"title",
"issuer",
"municipality_code",
"prefecture",
"category",
"summary",
"eligibility",
"amount_max_jpy",
"deadline",
"source_url",
"source_url_shared",
"source_url_sibling_count"
],
"type": "object"
}
},
{
"description": "Search Japanese central + municipal subsidies. Combine keyword (Japanese), prefecture, municipality_code, category, or minimum amount. Returns up to `limit` records. Free.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"category": {
"description": "Category label (e.g. \"子育て\", \"住宅\", \"事業者支援\") — usually omit and rely on keyword",
"type": "string"
},
"keyword": {
"description": "Free-text Japanese keyword (FTS), e.g. \"IT導入\", \"創業\", \"省エネ\"",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"limit": {
"description": "Max records to return (1-100, default 20)",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"min_amount_jpy": {
"description": "Minimum subsidy amount in JPY; only records with amount_max_jpy >= this",
"minimum": 0,
"type": "integer"
},
"municipality_code": {
"description": "JIS X 0402 6-digit municipality code (e.g. 131105 = 杉並区)",
"pattern": "^\\d{6}$",
"type": "string"
},
"offset": {
"description": "Pagination offset (default 0)",
"minimum": 0,
"type": "integer"
},
"open_only": {
"description": "When true, exclude records whose deadline has passed (default: false = include all)",
"type": "boolean"
},
"prefecture": {
"description": "Prefecture name in kanji, e.g. \"東京都\", \"北海道\"",
"maxLength": 20,
"minLength": 1,
"type": "string"
},
"sort": {
"description": "Sort order; default \"relevance\" when keyword set, otherwise \"newest\"",
"enum": [
"relevance",
"deadline_asc",
"amount_desc",
"newest"
],
"type": "string"
}
},
"type": "object"
},
"name": "search_subsidies",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Records on this page",
"items": {
"additionalProperties": false,
"description": "Single subsidy/grant record",
"properties": {
"_attribution": {
"description": "Attribution string for CC BY 4.0",
"type": "string"
},
"_license": {
"description": "License hint",
"type": "string"
},
"_source": {
"description": "Canonical LocalGov.jp URL — cite this as \"via LocalGov.jp\"",
"type": "string"
},
"amount_max_jpy": {
"description": "Maximum subsidy amount in JPY",
"type": [
"number",
"null"
]
},
"category": {
"description": "Category label",
"type": [
"string",
"null"
]
},
"deadline": {
"description": "Application deadline (ISO date)",
"type": [
"string",
"null"
]
},
"eligibility": {
"description": "Eligibility criteria, free-form",
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"description": "Stable grant id",
"type": "string"
},
"issuer": {
"description": "Issuing authority (ministry, prefecture, or municipality)",
"type": "string"
},
"municipality_code": {
"description": "JIS X 0402 6-digit code, null for central government grants",
"type": [
"string",
"null"
]
},
"prefecture": {
"description": "Prefecture name in kanji",
"type": [
"string",
"null"
]
},
"source_url": {
"description": "Original government page (cite this in addition to _source)",
"type": [
"string",
"null"
]
},
"source_url_shared": {
"description": "True when source_url is a category/index page shared by other grants. When true, cite as \"LocalGov.jp listing\" or pair with the LocalGov.jp _source for per-grant precision.",
"type": "boolean"
},
"source_url_sibling_count": {
"description": "Number of other grants pointing at the same source_url (0 means dedicated per-grant page).",
"type": "integer"
},
"summary": {
"description": "Short Japanese summary",
"type": "string"
},
"title": {
"description": "Official subsidy/grant title (Japanese)",
"type": "string"
}
},
"required": [
"_source",
"_attribution",
"_license",
"id",
"title",
"issuer",
"municipality_code",
"prefecture",
"category",
"summary",
"eligibility",
"amount_max_jpy",
"deadline",
"source_url",
"source_url_shared",
"source_url_sibling_count"
],
"type": "object"
},
"type": "array"
},
"total": {
"description": "Total matching records (independent of limit/offset)",
"type": "integer"
}
},
"required": [
"total",
"items"
],
"type": "object"
}
},
{
"description": "Create a webhook subscription that pushes grant-change events matching a filter. Cost: $0.20 USDC via x402 (paid by the agent runtime). On 402 response, agent must satisfy payment and retry.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"callback_url": {
"description": "HTTPS URL that will receive POSTed event payloads",
"format": "uri",
"type": "string"
},
"filter": {
"additionalProperties": false,
"description": "At least one filter dimension required",
"properties": {
"category": {
"type": "string"
},
"grant_id": {
"type": "string"
},
"issuer": {
"type": "string"
},
"municipality_code": {
"pattern": "^\\d{6}$",
"type": "string"
},
"prefecture": {
"type": "string"
}
},
"type": "object"
},
"hmac_secret": {
"description": "Shared secret used to HMAC-SHA256 sign delivery payloads (16-256 chars)",
"maxLength": 256,
"minLength": 16,
"type": "string"
},
"ttl_days": {
"description": "Subscription lifetime in days (1-90, default 30)",
"maximum": 90,
"minimum": 1,
"type": "integer"
}
},
"required": [
"callback_url",
"hmac_secret",
"filter"
],
"type": "object"
},
"name": "subscribe_changes",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"callback_url": {
"type": "string"
},
"details": {},
"expires_at": {
"type": "string"
},
"payment_required": {
"type": "boolean"
},
"subscription_id": {
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Return LocalGov.jp's Ed25519 public key (for offline citation-receipt verification). Callers verify receipt signatures using WebCrypto with this key.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "verify_receipt",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"alg": {
"description": "Signature algorithm (Ed25519)",
"type": "string"
},
"issuer": {
"description": "Trust anchor name",
"type": "string"
},
"pubkey": {
"description": "Base64-encoded 32-byte Ed25519 public key",
"type": "string"
}
},
"required": [
"alg",
"issuer",
"pubkey"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:8439d27ab8378610c5505ad4125aa579b285fce9a8f7b7c5ebac9984fee70454 | sha256sum