Skip to main content
Glama
spain-datosgob-catalog-mcp

spain-datosgob-catalog-mcp

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

Related MCP server: datos-gob-es

Available tools

Tool

Purpose

list_spain_datosgob_datasets

List paginated public sector datasets from Spain Datos.gob.es

list_spain_datosgob_themes

List official EU data themes available in the Spain Datos.gob.es catalog

get_spain_datosgob_dataset_by_id

Retrieve full metadata and distributions for a specific Spanish dataset ID

search_spain_datosgob_by_theme

Browse Spain Datos.gob.es datasets filtered by a theme slug

list_spain_datosgob_publishers

List 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.

Available Tools

5 tools
get_spain_datosgob_dataset_by_idGet Spain Datos.gob.es dataset by IDA
Read-onlyIdempotent
Inspect

Retrieve full metadata, license details, and downloadable distributions for a specific Datos.gob.es dataset identifier.

Inputs: dataset_id (required).

list_spain_datosgob_datasetsList Spain Datos.gob.es datasetsB
Read-onlyIdempotent
Inspect

List paginated public administration datasets from the Spanish national catalog at Datos.gob.es.

Inputs: page, page_size.

list_spain_datosgob_publishersList Spain Datos.gob.es publishersA
Read-onlyIdempotent
Inspect

List official Spanish public administration publisher DIR3 codes and URIs on Datos.gob.es.

Inputs: page, page_size.

list_spain_datosgob_themesList Spain Datos.gob.es themesB
Read-onlyIdempotent
Inspect

List official EU data theme URIs and codes registered in Spain Datos.gob.es.

Inputs: page, page_size.

search_spain_datosgob_by_themeSearch Spain Datos.gob.es by themeB
Read-onlyIdempotent
Inspect

Browse Spanish national open government datasets filtered by a Datos.gob.es Spanish theme slug.

Inputs: theme_slug (required), page, page_size.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 5 tools

    Disambiguation4/5

    The five tools have mostly distinct purposes: listing datasets, retrieving dataset metadata by ID, browsing by theme, and two reference lists for themes and publishers. The only mild overlap is between list_spain_datosgob_datasets and search_spain_datosgob_by_theme, but the descriptions make the distinction clear enough.

    Naming Consistency5/5

    All tool names use a consistent snake_case verb_noun pattern with the same spain_datosgob domain prefix. The verbs list, get, and search are used predictably across the set.

    Tool Count5/5

    Five tools is well-scoped for a read-only national open data catalog interface. Each tool covers a meaningful catalog operation without redundant bulk.

    Completeness4/5

    The surface covers dataset listing, metadata retrieval, theme-based browsing, and reference lists for themes and publishers. Minor gaps remain around keyword search and listing datasets by publisher, but agents can work around these via paginated catalog listing.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables querying and analyzing over 90,000 public datasets from the Spanish Government Open Data Portal (datos.gob.es) using natural language, with tools for search, filtering, metadata access, and SPARQL queries.
      10
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to search and retrieve datasets, publishers, and themes from Spain's national open-data catalogue through keyless MCP tools or HTTP endpoints.
      77 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables searching and exploring Spain's National Open Data Catalog, letting users find datasets by title or theme, list available themes, retrieve full dataset records with publisher, license and distribution details, and obtain catalog totals via the official SPARQL endpoint. It connects over Streamable HTTP, SSE, or local stdio using the public keyless datos.gob.es API.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants and agents to query Spanish public statistics from INE, official BOE publications, and Catastro property data via typed, read-only tools with structured, source-citable results.
      8
      MIT