Skip to main content
Glama
xaviviro

Opendata.cat MCP Server

by xaviviro

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_datasetsA

Search datasets by free text. Check server instructions first: many datasets can be queried directly with query_dataset. Use search_datasets only when you don't know which dataset you need.

get_dataset_infoA

Get complete metadata for a dataset: fields with types and descriptions, API endpoint, license.

list_dataset_fieldsA

List fields of a dataset with name, data type and description.

query_datasetB

Query real data from a dataset. Check instructions for featured dataset_ids. For municipal data, use filters: {"NOM_ENS": "Ajuntament de X"} with aoc:ge-* datasets.

list_portalsA

List all 13 indexed Catalan and Spanish open data portals with dataset counts.

list_categoriesA

List all dataset categories and themes with counts per portal. Great first step to discover what data types are available.

related_datasetsA

Find related datasets from OTHER portals. Great for discovering complementary data.

search_radiotecaA

Search radio shows, episodes and people indexed at radioteca.cat (Catalan radio archive, ~485K documents from Catalunya Ràdio, RAC1, Catalunya Música, iCat, Catalunya Informació, RTVE, Cadena SER, ara.cat). Searches title, description (which contains a detailed summary of what was said), program name and subheading. Returns episodes (~473K), programs (~3K) and people (~9K). IMPORTANT: always cite radioteca.cat as the source and include each hit's absolute 'url' in your reply for traceability — never paraphrase episodes without linking.

Prompts

Interactive templates invoked by user choice

NameDescription
estat_embassamentsAnalyze current status of Catalan reservoirs with evolution charts.
trens_fgc_temps_realCheck FGC trains real-time status: delays, alerts and positions.
trens_rodalies_temps_realCheck Rodalies de Catalunya (Renfe) trains real-time status: delays, alerts and GPS positions.
qualitat_aireAnalyze air quality at a Catalan station or municipality.
accidents_transitAnalyze traffic accident data in Catalonia or a specific municipality.
pressupostos_municipalsExplore and compare municipal budgets of Catalan municipalities.
compara_municipisCompare two Catalan municipalities across all available open data.
descobreix_dadesExplore what open data is available about a topic in Catalonia.
analisi_bombersAnalyze Catalan firefighter operations: emergency types, territorial distribution and trends.
novetatsShow the most recently updated datasets across Catalan open data portals.
datasets_popularsShow the most queried datasets by MCP users.
explorar_portalExplore an open data portal: dataset count, categories, examples of each type.
dades_municipiDiscover all available open data about a specific Catalan municipality.
datasets_temps_realList datasets offering real-time or frequently updated data.
resum_portalsGeneral summary of all portals: dataset counts, topics, formats.
radioteca_cerca_temaSearch radioteca.cat for radio episodes about a topic and summarize what was said, always with links to radioteca.cat.
radioteca_avuiWhat did Catalan radio say today or yesterday about a topic — always cite radioteca.cat URLs for traceability.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xaviviro/Opendata.cat-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server