Repository avatar
AI Tools
v1.0.1
active

spain-datosgob-catalog-mcp

io.github.theluckystrike/spain-datosgob-catalog-mcp

Spain Datos.gob.es API for public administration datasets, EU themes, and public publishers.

Documentation

spain-datosgob-catalog-mcp

Official Spanish national public sector catalog at Datos.gob.es over Model Context Protocol (MCP). Legal teams, fiscal analysts, and civic builders can browse datasets, filter by EU data themes, and inspect Spanish public publishers with zero API keys. Setup takes seconds.

Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

https://spain-datosgob-catalog-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
list_spain_datosgob_datasetsList paginated public sector datasets from Spain Datos.gob.es
list_spain_datosgob_themesList official EU data themes available in the Spain Datos.gob.es catalog
get_spain_datosgob_dataset_by_idRetrieve full metadata and distributions for a specific Spanish dataset ID
search_spain_datosgob_by_themeBrowse Spain Datos.gob.es datasets filtered by a theme slug
list_spain_datosgob_publishersList official Spanish public administration publisher identifiers

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "spain-datosgob-catalog": {
      "url": "https://spain-datosgob-catalog-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries datos.gob.es/apidata/catalog/ with a polite User-Agent header (mcpstamp-spain-datosgob-catalog/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.