4,000+ servers built on vurb.ts
Vinkius
Pydantic AISDK
Pydantic AI
Datos.gob.es (Catálogo Nacional) MCP Server

Bring Open Data
to Pydantic AI

Learn how to connect Datos.gob.es (Catálogo Nacional) to Pydantic AI and start using 22 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Get Country SpainGet DatasetGet ProvinceGet Public SectorGet RegionList DatasetsList Datasets By DateList Datasets By FormatList Datasets By KeywordList Datasets By PublisherList Datasets By SpatialList Datasets By ThemeList DistributionsList Distributions By DatasetList Distributions By FormatList ProvincesList Public SectorsList PublishersList RegionsList Spatial OptionsList ThemesSearch Datasets By Title

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Datos.gob.es (Catálogo Nacional)

What is the 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.

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.

Built-in capabilities (22)

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

gob.es catalog. Get all datasets from the catalog

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_distributions

Get all data distributions

list_distributions_by_dataset

Get distributions by dataset ID

list_distributions_by_format

g., csv). Filter distributions by format

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

Why Pydantic AI?

Pydantic AI validates every Datos.gob.es (Catálogo Nacional) tool response against typed schemas, catching data inconsistencies at build time. Connect 22 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.

  • Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application

  • Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your Datos.gob.es (Catálogo Nacional) integration code

  • Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors

  • Dependency injection system cleanly separates your Datos.gob.es (Catálogo Nacional) connection logic from agent behavior for testable, maintainable code

P
See it in action

Datos.gob.es (Catálogo Nacional) in Pydantic AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

Datos.gob.es (Catálogo Nacional) and 4,000+ other MCP servers. One platform. One governance layer.

Teams that connect Datos.gob.es (Catálogo Nacional) to Pydantic AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for Datos.gob.es (Catálogo Nacional) in Pydantic AI

The Datos.gob.es (Catálogo Nacional) 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. All 22 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Pydantic AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

Datos.gob.es (Catálogo Nacional)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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

The Vinkius Advantage

How Vinkius secures Datos.gob.es (Catálogo Nacional) for Pydantic AI

Every tool call from Pydantic AI to the Datos.gob.es (Catálogo Nacional) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

How can I search for datasets containing a specific word in the title?

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.

02

Is it possible to filter datasets by a specific file format like CSV or JSON?

Yes! Use the list_datasets_by_format tool and specify the format (e.g., 'csv', 'json', 'xlsx'). This will retrieve only the datasets that offer distributions in that format.

03

Can I find datasets belonging to a specific category like 'Health' or 'Environment'?

Absolutely. Use the list_datasets_by_theme tool with the corresponding theme ID. You can first use list_themes to see all available categories in the catalog.

04

How does Pydantic AI discover MCP tools?

Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.

05

Does Pydantic AI validate MCP tool responses?

Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.

06

Can I switch LLM providers without changing MCP code?

Absolutely. Pydantic AI abstracts the model layer. your Datos.gob.es (Catálogo Nacional) MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.

07

MCPServerHTTP not found

Update: pip install --upgrade pydantic-ai

Explore More MCP Servers

View all →