Serveur MCP

Public Data Catalog

io.github.yhay81/public-data-catalog
Données et analytique Recherche et exploration Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Searches Japanese public datasets, executes reviewed data retrievals, and verifies result integrity receipts.

execute
Execute a reviewed retrieval contract
Run one allowlisted, bounded HTTPS GET contract and return extracted values, provenance, and an integrity receipt.
Lecture seule Accès externe
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['recipeId'], 'properties': {'recipeId': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'parameters': {'type': 'object', 'propertyNames': {'type': 'string', 'pattern': '^[a-z0-9][a-z0-9-]+$'}, 'additionalProperties': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['status', 'recipe_id', 'contract_version', 'question', 'parameters', 'retrieved_at', 'elapsed_ms', 'request_url', 'results', 'interpretation', 'provenance', 'receipt'], 'properties': {'status': {'type': 'string', 'const': 'ok'}, 'receipt': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'results': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'question': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'recipe_id': {'type': 'string'}, 'elapsed_ms': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'parameters': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'request_url': {'type': 'string'}, 'retrieved_at': {'type': 'string'}, 'interpretation': {'type': 'array', 'items': {'type': 'string'}}, 'contract_version': {'type': 'string'}}, 'additionalProperties': False}
search_data
Search Japanese public datasets
Search current metadata from e-Gov Data Portal and Statistics Dashboard, then return a short ranked list with publisher, formats, coverage, usage terms, and official links.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'kind': {'enum': ['all', 'dataset', 'statistics'], 'type': 'string', 'default': 'all', 'description': 'Search all sources, downloadable datasets, or statistical series'}, 'limit': {'type': 'integer', 'default': 10, 'maximum': 20, 'minimum': 1}, 'query': {'type': 'string', 'maxLength': 80, 'minLength': 2, 'description': 'What data to find, preferably in Japanese'}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['status', 'query', 'interpreted_as', 'searched_at', 'results', 'total', 'available', 'sources', 'note'], 'properties': {'note': {'type': 'string'}, 'query': {'type': 'string'}, 'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'status': {'type': 'string', 'const': 'ok'}, 'results': {'type': 'array', 'items': {}}, 'sources': {'type': 'array', 'items': {}}, 'available': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'searched_at': {'type': 'string'}, 'interpreted_as': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}
verify
Verify an execution receipt
Check receipt and result hashes plus the execution envelope against the reviewed catalog. This detects later modification; it does not prove publisher authenticity or current freshness.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['execution'], 'properties': {'execution': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['valid', 'receipt_id', 'checks'], 'properties': {'valid': {'type': 'boolean'}, 'checks': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'receipt_id': {'type': 'string'}}, 'additionalProperties': False}
Ajouté
verify
17 September 2026 12:53
Ajouté
execute
17 September 2026 12:53
Ajouté
search_data
17 September 2026 12:53