Datos.gob.es (Catálogo Nacional) MCP Server for LlamaIndexGive LlamaIndex instant access to 22 tools to Get Country Spain, Get Dataset, Get Province, and more
LlamaIndex specializes in data-aware AI agents that connect LLMs to structured and unstructured sources. Add Datos.gob.es (Catálogo Nacional) as an MCP tool provider through Vinkius and your agents can query, analyze, and act on live data alongside your existing indexes.
Ask AI about this MCP Server for LlamaIndex
The Datos.gob.es (Catálogo Nacional) MCP Server for LlamaIndex is a standout in the Knowledge Management category — giving your AI agent 22 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
mcp_client = BasicMCPClient("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
mcp_tool_spec = McpToolSpec(client=mcp_client)
tools = await mcp_tool_spec.to_tool_list_async()
agent = FunctionAgent(
tools=tools,
llm=OpenAI(model="gpt-4o"),
system_prompt=(
"You are an assistant with access to Datos.gob.es (Catálogo Nacional). "
"You have 22 tools available."
),
)
response = await agent.run(
"What tools are available in Datos.gob.es (Catálogo Nacional)?"
)
print(response)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Datos.gob.es (Catálogo Nacional) MCP Server
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.
LlamaIndex agents combine Datos.gob.es (Catálogo Nacional) tool responses with indexed documents for comprehensive, grounded answers. Connect 22 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.
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.
The Datos.gob.es (Catálogo Nacional) MCP Server exposes 22 tools through the Vinkius. Connect it to LlamaIndex in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 22 Datos.gob.es (Catálogo Nacional) tools available for LlamaIndex
When LlamaIndex connects to Datos.gob.es (Catálogo Nacional) through Vinkius, your AI agent gets direct access to every tool listed below — spanning open-data, spain, public-sector, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get country spain on Datos.gob.es (Catálogo Nacional)
Get country-level information for Spain
Get dataset on Datos.gob.es (Catálogo Nacional)
Get a specific dataset by its URI identifier
Get province on Datos.gob.es (Catálogo Nacional)
g., Madrid). Get a specific province by ID
Get public sector on Datos.gob.es (Catálogo Nacional)
g., comercio). Get a specific primary sector by ID
Get region on Datos.gob.es (Catálogo Nacional)
g., Comunidad-Madrid). Get a specific Autonomous Community (Region) by ID
List datasets on Datos.gob.es (Catálogo Nacional)
gob.es catalog. Get all datasets from the catalog
List datasets by date on Datos.gob.es (Catálogo Nacional)
Filter datasets by modification date range
List datasets by format on Datos.gob.es (Catálogo Nacional)
g., csv). Filter datasets by format
List datasets by keyword on Datos.gob.es (Catálogo Nacional)
Filter datasets by keyword
List datasets by publisher on Datos.gob.es (Catálogo Nacional)
g., A16003011). Filter datasets by publisher ID
List datasets by spatial on Datos.gob.es (Catálogo Nacional)
g., word1=Autonomia, word2=Pais-Vasco). Filter datasets by geographic scope
List datasets by theme on Datos.gob.es (Catálogo Nacional)
g., hacienda). Filter datasets by theme/category
List distributions on Datos.gob.es (Catálogo Nacional)
Get all data distributions
List distributions by dataset on Datos.gob.es (Catálogo Nacional)
Get distributions by dataset ID
List distributions by format on Datos.gob.es (Catálogo Nacional)
g., csv). Filter distributions by format
List provinces on Datos.gob.es (Catálogo Nacional)
Get all provinces
List public sectors on Datos.gob.es (Catálogo Nacional)
Get the taxonomy of primary sectors
List publishers on Datos.gob.es (Catálogo Nacional)
Get all publishers in the catalog
List regions on Datos.gob.es (Catálogo Nacional)
Get all Autonomous Communities (Regions)
List spatial options on Datos.gob.es (Catálogo Nacional)
Get all geographic coverage options
List themes on Datos.gob.es (Catálogo Nacional)
Get all categories/themes
Search datasets by title on Datos.gob.es (Catálogo Nacional)
Search datasets by title
Connect Datos.gob.es (Catálogo Nacional) to LlamaIndex via MCP
Follow these steps to wire Datos.gob.es (Catálogo Nacional) into LlamaIndex. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
pip install llama-index-tools-mcp llama-index-llms-openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.py and run: python agent.pyExplore tools
Why Use LlamaIndex with the Datos.gob.es (Catálogo Nacional) MCP Server
LlamaIndex provides unique advantages when paired with Datos.gob.es (Catálogo Nacional) through the Model Context Protocol.
Data-first architecture: LlamaIndex agents combine Datos.gob.es (Catálogo Nacional) tool responses with indexed documents for comprehensive, grounded answers
Query pipeline framework lets you chain Datos.gob.es (Catálogo Nacional) tool calls with transformations, filters, and re-rankers in a typed pipeline
Multi-source reasoning: agents can query Datos.gob.es (Catálogo Nacional), a vector store, and a SQL database in a single turn and synthesize results
Observability integrations show exactly what Datos.gob.es (Catálogo Nacional) tools were called, what data was returned, and how it influenced the final answer
Datos.gob.es (Catálogo Nacional) + LlamaIndex Use Cases
Practical scenarios where LlamaIndex combined with the Datos.gob.es (Catálogo Nacional) MCP Server delivers measurable value.
Hybrid search: combine Datos.gob.es (Catálogo Nacional) real-time data with embedded document indexes for answers that are both current and comprehensive
Data enrichment: query Datos.gob.es (Catálogo Nacional) to augment indexed data with live information before generating user-facing responses
Knowledge base agents: build agents that maintain and update knowledge bases by periodically querying Datos.gob.es (Catálogo Nacional) for fresh data
Analytical workflows: chain Datos.gob.es (Catálogo Nacional) queries with LlamaIndex's data connectors to build multi-source analytical reports
Example Prompts for Datos.gob.es (Catálogo Nacional) in LlamaIndex
Ready-to-use prompts you can give your LlamaIndex agent to start working with Datos.gob.es (Catálogo Nacional) immediately.
"Search for datasets related to 'transporte' in the Spanish open data catalog."
"List all datasets that are available in CSV format."
"Show me the themes or categories available in the Datos.gob.es catalog."
Troubleshooting Datos.gob.es (Catálogo Nacional) MCP Server with LlamaIndex
Common issues when connecting Datos.gob.es (Catálogo Nacional) to LlamaIndex through Vinkius, and how to resolve them.
BasicMCPClient not found
pip install llama-index-tools-mcpDatos.gob.es (Catálogo Nacional) + LlamaIndex FAQ
Common questions about integrating Datos.gob.es (Catálogo Nacional) MCP Server with LlamaIndex.
How does LlamaIndex connect to MCP servers?
Can I combine MCP tools with vector stores?
Does LlamaIndex support async MCP calls?
Explore More MCP Servers
View all →
Ometria Intelligence
10 toolsAnalyze customer data and retail marketing via Ometria — track contacts, orders, and segments directly from your AI agent.

Taiwan Weather (CWA)
4 toolsAccess official weather forecasts, typhoon tracking, and real-time earthquake reports for Taiwan from the Central Weather Administration.

Prisma Cloud
7 toolsConnect Prisma Cloud to any AI agent via MCP.

Arlo Smart
11 toolsControl Arlo security cameras — view recordings, arm/disarm devices, and manage security modes via Arlo Smart API.
