Ayuntamiento de Barcelona (CKAN) MCP Server for VS Code CopilotGive VS Code Copilot instant access to 7 tools to Bcn Current Packages, Bcn Datastore Search, Bcn Datastore Search Sql, and more
GitHub Copilot in VS Code is the most widely adopted AI coding assistant, embedded directly into the world's most popular code editor. With MCP support in Agent mode, Copilot can access external data and APIs to generate context-aware code grounded in real-time information.
Ask AI about this MCP Server for VS Code Copilot
The Ayuntamiento de Barcelona (CKAN) MCP Server for VS Code Copilot is a standout in the Data Analytics category — giving your AI agent 7 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
{
"mcpServers": {
"ayuntamiento-de-barcelona-ckan": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
}Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install Ayuntamiento de Barcelona (CKAN) and 4,000+ MCP Servers from a single visual interface.





* 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 Ayuntamiento de Barcelona (CKAN) MCP Server
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.
GitHub Copilot Agent mode brings Ayuntamiento de Barcelona (CKAN) data directly into your VS Code workflow. With a project-scoped config, the entire team shares access to 7 tools. Copilot queries live data, generates typed code, and writes tests from actual API responses, all without leaving the editor.
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.
The Ayuntamiento de Barcelona (CKAN) MCP Server exposes 7 tools through the Vinkius. Connect it to VS Code Copilot in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 7 Ayuntamiento de Barcelona (CKAN) tools available for VS Code Copilot
When VS Code Copilot connects to Ayuntamiento de Barcelona (CKAN) through Vinkius, your AI agent gets direct access to every tool listed below — spanning open-data, urban-planning, public-statistics, 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.
Bcn current packages on Ayuntamiento de Barcelona (CKAN)
List datasets including their resources
Bcn datastore search on Ayuntamiento de Barcelona (CKAN)
Search and filter records within a specific CSV resource
Bcn datastore search sql on Ayuntamiento de Barcelona (CKAN)
The table name must be the resource_id wrapped in double quotes. Execute SQL queries directly against a resource
Bcn package list on Ayuntamiento de Barcelona (CKAN)
List all dataset names in the Open Data BCN catalogue
Bcn package search on Ayuntamiento de Barcelona (CKAN)
Search for datasets matching specific criteria
Bcn package show on Ayuntamiento de Barcelona (CKAN)
Get metadata for a specific dataset
Bcn resource show on Ayuntamiento de Barcelona (CKAN)
Get metadata for a specific resource
Connect Ayuntamiento de Barcelona (CKAN) to VS Code Copilot via MCP
Follow these steps to wire Ayuntamiento de Barcelona (CKAN) into VS Code Copilot. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Create MCP config
.vscode/mcp.json file in your project rootAdd the server config
Enable Agent mode
Start using Ayuntamiento de Barcelona (CKAN)
Why Use VS Code Copilot with the Ayuntamiento de Barcelona (CKAN) MCP Server
GitHub Copilot for Visual Studio Code provides unique advantages when paired with Ayuntamiento de Barcelona (CKAN) through the Model Context Protocol.
VS Code is used by over 70% of developers. adding MCP tools to Copilot means your team can leverage external data without leaving their primary editor
Project-scoped MCP configs (`.vscode/mcp.json`) let you commit server configurations to your repository, ensuring the entire team shares the same tool access
Copilot's Agent mode integrates MCP tools seamlessly with file editing, terminal commands, and workspace search in a single agentic loop
GitHub's enterprise compliance and audit features extend to MCP tool usage, providing visibility into how AI interacts with external services
Ayuntamiento de Barcelona (CKAN) + VS Code Copilot Use Cases
Practical scenarios where VS Code Copilot combined with the Ayuntamiento de Barcelona (CKAN) MCP Server delivers measurable value.
Live API integration: Copilot can query an MCP server, inspect the response schema, and generate typed API client code in the same step
DevSecOps workflows: security teams can give developers access to domain intelligence tools directly in their editor for real-time vulnerability assessment during code review
Data pipeline development: Copilot fetches sample data via MCP and generates transformation scripts, validators, and test fixtures from actual API responses
Documentation generation: Copilot queries available tools and auto-generates README sections, API reference docs, and usage examples
Example Prompts for Ayuntamiento de Barcelona (CKAN) in VS Code Copilot
Ready-to-use prompts you can give your VS Code Copilot agent to start working with Ayuntamiento de Barcelona (CKAN) immediately.
"List the first 10 datasets available in the Barcelona Open Data catalogue."
"Search for datasets about 'wifi' in Barcelona and show their descriptions."
"Run a SQL query to get the count of records in resource '2023-accidents-gu-bcn'."
Troubleshooting Ayuntamiento de Barcelona (CKAN) MCP Server with VS Code Copilot
Common issues when connecting Ayuntamiento de Barcelona (CKAN) to VS Code Copilot through Vinkius, and how to resolve them.
MCP tools not available
Ayuntamiento de Barcelona (CKAN) + VS Code Copilot FAQ
Common questions about integrating Ayuntamiento de Barcelona (CKAN) MCP Server with VS Code Copilot.
Which VS Code version supports MCP?
How do I switch to Agent mode?
Can I restrict which MCP tools Copilot can access?
Does MCP work in VS Code Remote or Codespaces?
.vscode/mcp.json work in Remote SSH, WSL, and GitHub Codespaces environments. The MCP connection is established from the remote host, so ensure the server URL is accessible from that environment.Explore More MCP Servers
View all →
Inep Dados Abertos
12 toolsAccess official Brazilian educational data from INEP — query Censo Escolar, ENEM, and higher education statistics directly.

AdRoll
7 toolsRetarget customers, launch display ad campaigns, and measure conversion performance across web and social channels.

HeyGen
12 toolsCreate AI-generated videos with realistic digital avatars that speak in any language for training, marketing, and communication.

Bannerbear (Image Gen)
6 toolsAutomate image and video generation via Bannerbear — create dynamic assets from templates and manage collections directly from your AI agent.
