Comunidad de Madrid (Portal Regional)

Comunidad de Madrid (Portal Regional) MCP Connector for Claude

F

Access the official Open Data portal of the Community of Madrid. Search datasets, inspect public resources, and query the datastore for regional information.

5 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your AI agent to the Comunidad de Madrid Open Data Portal to access a wealth of public information directly through natural language. This MCP server provides a bridge to the regional CKAN-based repository, covering everything from transport and health to environment and economy.

What you can do

  • Dataset Discovery — Search for specific datasets using keywords like 'transporte', 'salud', or 'medio ambiente' to find relevant public records.
  • Metadata Inspection — Retrieve full metadata for datasets, including tags, organizations, and update frequencies.
  • Resource Management — List and inspect individual files (resources) within a dataset, such as CSVs, JSONs, or PDFs.
  • Direct Data Querying — Use the DataStore integration to query the actual content of datasets directly, allowing for data analysis without manual downloads.
  • Portal Exploration — List all available dataset identifiers to understand the scope of available regional data.

How it works

  1. Subscribe to this server
  2. (Optional) Enter your Comunidad de Madrid CKAN API Key for higher rate limits
  3. Start querying regional data from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Data Analysts — quickly pull regional statistics and records into your workflow for analysis.
  • Developers — integrate real-time public data from Madrid into applications without navigating complex API docs.
  • Researchers & Citizens — find public information about air quality, transport schedules, or economic indicators through simple conversation.
madridopen-datackanspainpublic-records

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

get_dataset

Get full metadata for a specific dataset

get_resource

Get metadata for a specific resource

list_datasets

List all dataset identifiers in the portal

search_datasets

g., transporte, salud). Search for datasets matching specific criteria

search_datastore

Query data directly from a resource in the DataStore

See how to talk to your AI agent using Comunidad de Madrid (Portal Regional).

Search for datasets related to air quality in Madrid.

I found several datasets. The most relevant is 'Calidad del aire: datos diarios' (ID: calidad_aire_datos_dia). Would you like to see its metadata or available resources?

List all dataset identifiers available in the portal.

Fetching the list of datasets... There are over 500 datasets available. Some examples include 'centros_salud', 'transporte_publico_lineas', and 'presupuestos_municipales'.

Get the metadata for the dataset 'calidad_aire_datos_dia'.

The dataset 'Calidad del aire: datos diarios' is managed by the Environment department. It contains 12 resources (CSV and Excel files) and is updated daily. Would you like the ID of the latest CSV resource?

Use the `search_datasets` tool with the query 'transporte'. The agent will return a list of matching datasets with their unique IDs and descriptions from the portal.

Related Connectors