Datos.gob.es-MCP
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.
README
Datos.gob.es-MCP. MCP integration with the Spanish Government Open Data Portal
Datos.gob.es-mcp enables querying and analyzing over 90,000 public datasets available on the datos.gob.es portal directly from Claude AI and other compatible MCP clients using the Model Context Protocol (MCP).
This MCP server exposes tools for LLMs to search, filter, and access open data across multiple sectors.
Main features
- Keyword search across dataset titles, descriptions and tags.
- Thematic category filtering (environment, transportation, education, etc.)
- Detailed metadata access for each dataset.
- Available distributions listing (formats and access URLs)
- Custom SPARQL queries execution against the official SPARQL endpoint.
Installation
Install via uv
Prerequisites
- Python 3.10 or higher
- uv package manager
uv Installation
First install uv, a modern Python package manager.
Install from command line:
En MAC y Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
En Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
También se puede instalar con pip:
pip install uv
For more information about installing uv, visit the uv documentation.
Integration with clients like Claude for Desktop
Once uv is installed, you can use the MCP server with any compatible client like Claude Desktop. Configuration steps:
- Go to Claude > Settings > Developer > Edit Config >
claude_desktop_config.json - Add this configuration block under
"mcpServers":
"datos_gob_es_mcp": {
"command": "uvx",
"args": [
"datos_gob_es_mcp"
]
}
- If you have other MCP servers configured, separate them with commas
,
For other MCP-compatible clients like Cursor, CODEGPT or Roo Code, add the same configuration block to their respective MCP server settings.
Usage Examples
Once properly configured, you can request operations like:
- "Search for public transportation datasets in Madrid"
- "List latest datasets published by Barcelona City Council"
- "Show details for dataset with URI https://datos.gob.es/es/catalogo/l01330241-padron-de-vehiculos-ano-2023-autobuses"
---
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
