Ayuntamiento de Barcelona (CKAN) MCP Connector for Claude
FAccess the Open Data BCN portal to query urban datasets, environmental records, and public statistics directly through AI.
Connect to the Ayuntamiento de Barcelona (Open Data BCN) portal and transform public data into actionable insights through natural conversation. This MCP server leverages the CKAN API to provide real-time access to Barcelona's official data repository.
What you can do
- Dataset Discovery — List all available datasets or search for specific topics like transportation, environment, or demographics using
bcn_package_search. - Metadata Inspection — Retrieve detailed metadata for specific datasets and resources to understand data structures and update frequencies.
- Deep Data Querying — Use
bcn_datastore_searchto filter records within CSV resources or execute complexbcn_datastore_search_sqlqueries for precise data extraction. - Resource Management — List all resources associated with a dataset, including download links and format specifications.
How it works
- Subscribe to this server
- Enter your Open Data BCN API Token (optional for public data, required for higher rate limits)
- Start querying Barcelona's public data from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Data Analysts & Researchers — Quickly fetch and filter urban data without manual CSV downloads.
- Urban Planners — Access real-time statistics on city infrastructure and services.
- Developers — Integrate official city data into applications using SQL-like queries directly from the AI.
Related Connectors
Dogechain Explorer (Dogechain Block Explorer API) MCP
Automate Dogecoin blockchain analysis via Dogechain — check address balances, inspect transactions, and query block data directly from any AI agent.
AgroLog MCP
Access grain monitoring data via AgroLog — monitor temperature, moisture, CO2, crop levels, weather, and control aeration systems from any AI agent.
Lodgify MCP
Manage vacation rental properties, bookings, availability, rates, quotes, and channel connections for your Lodgify account through natural conversation.
Azure Functions Invoke MCP
This MCP does exactly one thing: it invokes a single Azure Function. That's its only function, and nothing else. Incredible for letting your AI execute secure serverless compute.