Datos.gob.es (Catálogo Nacional)

Datos.gob.es (Catálogo Nacional) MCP Connector for Claude

A+

Access Spain's National Open Data Catalog — search datasets, filter by theme, publisher, or format, and retrieve public sector information directly.

22 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect to the official Datos.gob.es API to explore Spain's vast repository of public sector information. This MCP server allows AI agents to query, filter, and analyze thousands of datasets from national, regional, and local administrations.

What you can do

  • Dataset Discovery — Search for specific datasets by title or browse the entire catalog with advanced pagination and sorting.
  • Advanced Filtering — Narrow down results by publisher ID, specific themes (e.g., health, economy), or file formats like CSV, JSON, and RDF.
  • Geographic Analysis — Filter data by spatial scope, including provinces, regions, or specific administrative levels.
  • Metadata Inspection — Retrieve detailed metadata for any dataset, including its distributions, update frequency, and issuing body.
  • Public Sector Mapping — List and inspect public sector organizations, provinces, and regions involved in the open data ecosystem.

How it works

  1. Subscribe to this server
  2. The server connects to the public Datos.gob.es API
  3. Start querying Spanish public data from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Data Analysts — quickly find and inspect public datasets for research and reporting without manual browsing.
  • Developers — identify API endpoints and data formats for integration into applications.
  • Policy Researchers — track public sector transparency and data availability across different Spanish regions.
open-dataspainpublic-sectordatasetstransparency

22 tools expose this connector's capabilities to your AI agent.

get_country_spain

Get country-level information for Spain

get_dataset

Get a specific dataset by its URI identifier

get_province

g., Madrid). Get a specific province by ID

get_public_sector

g., comercio). Get a specific primary sector by ID

get_region

g., Comunidad-Madrid). Get a specific Autonomous Community (Region) by ID

list_datasets_by_date

Filter datasets by modification date range

list_datasets_by_format

g., csv). Filter datasets by format

list_datasets_by_keyword

Filter datasets by keyword

list_datasets_by_publisher

g., A16003011). Filter datasets by publisher ID

list_datasets_by_spatial

g., word1=Autonomia, word2=Pais-Vasco). Filter datasets by geographic scope

list_datasets_by_theme

g., hacienda). Filter datasets by theme/category

list_datasets

gob.es catalog. Get all datasets from the catalog

list_distributions_by_dataset

Get distributions by dataset ID

list_distributions_by_format

g., csv). Filter distributions by format

list_distributions

Get all data distributions

list_provinces

Get all provinces

list_public_sectors

Get the taxonomy of primary sectors

list_publishers

Get all publishers in the catalog

list_regions

Get all Autonomous Communities (Regions)

list_spatial_options

Get all geographic coverage options

list_themes

Get all categories/themes

search_datasets_by_title

Search datasets by title

See how to talk to your AI agent using Datos.gob.es (Catálogo Nacional).

Search for datasets related to 'transporte' in the Spanish open data catalog.

I've found several datasets related to 'transporte'. Notable entries include 'Transporte Terrestre de Viajeros' and 'Red de Carreteras'. Would you like the full details for any of these?

List all datasets that are available in CSV format.

I am retrieving datasets with CSV distributions... I've found a list of datasets including 'Censo de locales' and 'Presupuestos municipales'. I can provide the download links if you're interested.

Show me the themes or categories available in the Datos.gob.es catalog.

The catalog is organized into several themes such as 'Hacienda', 'Cultura y Ocio', 'Medio Ambiente', and 'Salud'. Which category would you like to explore?

Use the `search_datasets_by_title` tool. Provide the string you are looking for in the `title` parameter, and the agent will return all matching datasets from the national catalog.

Related Connectors