opendata-cat
io.github.xaviviro/opendata-cat
MCP server OK 8 tools
15 Catalan portals + radio archive: gov, INE/REE/CNMC, CORA, Catalònica, radioteca.cat.
Technical sheet
- Author
- xaviviro (registry namespace)
- Repository
- github.com/xaviviro/Opendata.cat-MCP-Server
- Site
- —
- Version
- 0.6.1
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://opendata.cat/api/mcp Streamable HTTP
- Packages
- @opendata.cat/mcp-server 0.6.1 npm stdio
- Tools
- 8
- Categories
- —
- Last updated
- 30 Jul 2026
- Published
- 30 Jul 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.xaviviro/opendata-cat)<a href="https://latlas.dev/en/mcp/io.github.xaviviro/opendata-cat"><img src="https://latlas.dev/badge/statut/mcp/io.github.xaviviro/opendata-cat.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.xaviviro/opendata-cat)<a href="https://latlas.dev/en/mcp/io.github.xaviviro/opendata-cat"><img src="https://latlas.dev/badge/fiche/io.github.xaviviro/opendata-cat.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://opendata.cat/api/mcp
- Last result
- OK 28 Nov 2026, 11:31
- Response time
- 190 ms (initialize + tools/list)
- Protocol version
- 2024-11-05
- Announced name
- opendata-cat 0.4.0
- Tools
- 8
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:31 | OK | 190 ms | 8 |
Exposed tools (8, from tools/list, 28 Nov 2026)
search_datasets
Search datasets by free text. IMPORTANT: check server instructions first — many common queries have a direct dataset_id you can use with query_dataset without searching. Only use search_datasets when you don't know which dataset you need.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Search text in Catalan or Spanish. Examples: 'qualitat aire', 'pressupostos municipals', 'transport públic', 'residus', 'educació', 'rodalies'. |
| portal | enum: "generalitat" | "barcelona" | "diba" | "aoc" | "reus" | "girona" | "fgc" | "idescat" … | no | Filter results to a single portal. |
| category | string | no | Filter by thematic category. Examples: 'Medi Ambient', 'Educació', 'Salut', 'Economia', 'Transport', 'Seguretat'. Use list_categories to see all available categories. |
| limit | number | no | Maximum number of results to return. Min 1, max 100. Default 20. |
get_dataset_info
Get complete metadata for a dataset: fields with types and descriptions, API endpoint, license, available formats and last update. Call after search_datasets to get full details of a specific dataset.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset_id | string | yes | Unique dataset identifier in 'portal:id' format. Obtained from search_datasets results. Examples: 'generalitat:gn9e-3qhr', 'barcelona:qualitat-de-laire', 'renfe:vehicle-positions-gtfsrt'. |
list_dataset_fields
List fields of a dataset with name, data type and description. Call before query_dataset to know which fields and filters are available.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset_id | string | yes | Unique dataset identifier in 'portal:id' format. Obtained from search_datasets results. |
query_dataset
Query real data from a dataset. Check instructions for featured dataset_ids and NOTES section for common filter patterns (municipal budgets, contracts, weather, energy, fuel prices).
| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset_id | string | yes | Unique dataset identifier in 'portal:id' format. Obtained from search_datasets results. |
| filters | object | no | Key-value filters where the key is the field name and the value is the filter value. Examples: {"municipi": "Barcelona"}, {"any": "2024"}, {"NOM_ENS": "Ajuntament de Tiana"}. Use list_dataset_fields to know valid field names. |
| search | string | no | Free text search within dataset data. Works with Socrata ($q) and CKAN (q). For Diba and CIDO, use specific filters. |
| limit | number | no | Number of rows to return. Min 1, max 100. Default 20. Use offset for pagination. |
| offset | number | no | Number of rows to skip for pagination. Default 0. Combine with limit to navigate large results. |
list_portals
List all 13 indexed open data portals with dataset counts. Catalan portals (Generalitat, Barcelona, Diba, AOC, Reus, Girona, FGC, Idescat, Renfe) + Spanish national sources with Catalonia focus (INE statistics, REE energy, SEPE employment, CNMC fuel prices). No parameters required.
No parameters.
list_categories
List all dataset categories and themes with counts per portal. Great first step to discover what data types are available before searching with search_datasets. Returns total datasets, count per portal and category list with counts. No parameters required.
No parameters.
related_datasets
Find related datasets from OTHER portals. Great for discovering complementary data: if you're looking at air quality from Generalitat, it may suggest traffic data from Barcelona or emissions from AOC. Relations are computed by thematic similarity across portals.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset_id | string | yes | Dataset ID to find related datasets for. Obtained from search_datasets. |
search_radioteca
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 across episode titles, descriptions (which include 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 the absolute 'url' in your reply for traceability — never paraphrase without linking.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Free text in Catalan or Spanish. Searches title, description (contains episode summary), program and subheading. Examples: 'visita papa', 'eleccions municipals', 'crisi habitatge', 'Albert Serra cinema'. |
| publisher | enum: "Catalunya Ràdio" | "RAC1" | "Catalunya Música" | "iCat" | "Catalunya Informació" | "RTVE" | "Cadena SER" | "ara.cat" | no | Filter by broadcaster. |
| year | string | no | Filter by year (4 digits, e.g. '2025'). NOTE: only year-level filtering is indexed; for a specific day, use the broader year filter and look at the URL path (radioteca URLs include /YYYY/MM/DD/) or the 'subheading' field which often contains the date. |
| type | enum: "Episode" | "Program" | "Person" | no | Filter by document type. |
| limit | number | no | Maximum results. Min 1, max 50. Default 10. |
| offset | number | no | Pagination offset. Default 0. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://opendata.cat/api/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http opendata-cat https://opendata.cat/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : opendata-cat ; URL : https://opendata.cat/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : opendata-cat ; Server URL : https://opendata.cat/api/mcp ; Create as a plugin{
"mcpServers": {
"opendata-cat": {
"url": "https://opendata.cat/api/mcp"
}
}
}{
"mcpServers": {
"opendata-cat": {
"type": "http",
"url": "https://opendata.cat/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"opendata-cat": {
"url": "https://opendata.cat/api/mcp"
}
}
}{
"mcpServers": {
"opendata-cat": {
"httpUrl": "https://opendata.cat/api/mcp"
}
}
}[mcp_servers.opendata-cat]
url = "https://opendata.cat/api/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
opendata-cat · L’Atlas · Tested on
[opendata-cat — L’Atlas](https://latlas.dev/en/mcp/io.github.xaviviro/opendata-cat)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.