MCPInstall
datos.gob.es-mcp logo

datos.gob.es-mcp

by AnCode666 5 stars AnCode666/datos.gob.es-mcp

Datos.gob.es-mcp enables querying 90,000+ datasets from Spain's Open Data Portal via MCP.

READMEmain

Datos.gob.es-MCP. MCP integration with the Spanish Government Open Data Portal

en es

MseeP.ai Security Assessment Badge Verified on MseeP

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:

  1. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json
  2. Add this configuration block under "mcpServers":
"datos_gob_es_mcp": {
    "command": "uvx",
    "args": [
        "datos_gob_es_mcp"
    ]
}
  1. 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"
---

More Research & Data MCP servers

Similar servers from the same category.

WeatherXM PRO logo

WeatherXM PRO

weatherxm

Integrates with WeatherXM PRO APIs to provide access to hyperlocal weather data, historical observations, and forecast performance metrics for location-specific analysis and planning.

APICLI+6
Gralio logo

Gralio

tymonte

Access 3+ million SaaS reviews, detailed pricing data, alternatives, ratings, funding information, growth metrics, user sentiment analysis, and functional feature data for over 30,000 software products.

Research & Data

Integrates with professional cryptocurrency data APIs from DefiLlama Pro, CoinGecko Pro, and Arkham Intelligence to provide real-time token prices, market data, blockchain analytics, and on-chain intelligence for crypto researchers and traders.

search

Enables semantic and keyword searches across Space Frontiers' library, telegram, and reddit databases through a FastAPI-based server with flexible authentication options.

databaseauthentication+1