Dades Obertes Catalunya MCP Server for AutoGenGive AutoGen instant access to 2 tools to Query Dataset and Search Catalog
Microsoft AutoGen enables multi-agent conversations where agents negotiate, delegate, and execute tasks collaboratively. Add Dades Obertes Catalunya as an MCP tool provider through Vinkius and every agent in the group can access live data and take action.
Ask AI about this MCP Server for AutoGen
The Dades Obertes Catalunya MCP Server for AutoGen is a standout in the Data Analytics category — giving your AI agent 2 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.tools.mcp import McpWorkbench
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with McpWorkbench(
server_params={"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"},
transport="streamable_http",
) as workbench:
tools = await workbench.list_tools()
agent = AssistantAgent(
name="dades_obertes_catalunya_agent",
tools=tools,
system_message=(
"You help users with Dades Obertes Catalunya. "
"2 tools available."
),
)
print(f"Agent ready with {len(tools)} tools")
asyncio.run(main())
* 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 Dades Obertes Catalunya MCP Server
Unlock the power of Dades Obertes Catalunya, the official open data platform of the Government of Catalonia. This MCP server allows your AI agent to browse thousands of public datasets and perform complex queries through natural conversation.
AutoGen enables multi-agent conversations where agents negotiate, delegate, and collaboratively use Dades Obertes Catalunya tools. Connect 2 tools through Vinkius and assign role-based access. a data analyst queries while a reviewer validates, with optional human-in-the-loop approval for sensitive operations.
What you can do
- Catalog Discovery — Search for datasets by keywords, categories, or tags to find relevant public information using the
search_catalogtool. - Advanced Querying — Use SoQL (Socrata Query Language) via
query_datasetto filter, select specific columns, and sort data from any dataset using its 4x4 identifier. - Data Analysis — Group results and perform full-text searches across entire datasets to extract insights on health, transport, economy, and more.
- Pagination & Limits — Efficiently handle large datasets with built-in support for limits and offsets to browse records systematically.
The Dades Obertes Catalunya MCP Server exposes 2 tools through the Vinkius. Connect it to AutoGen in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 2 Dades Obertes Catalunya tools available for AutoGen
When AutoGen connects to Dades Obertes Catalunya through Vinkius, your AI agent gets direct access to every tool listed below — spanning open-data, public-sector, dataset-discovery, 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.
Query dataset on Dades Obertes Catalunya
g., abcd-1234). Supports SoQL parameters like $select, $where, $limit. Query a specific dataset using SoQL parameters
Search catalog on Dades Obertes Catalunya
Returns dataset identifiers needed for the query_dataset tool. Search the Dades Obertes Catalunya catalog for datasets
Connect Dades Obertes Catalunya to AutoGen via MCP
Follow these steps to wire Dades Obertes Catalunya into AutoGen. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install AutoGen
pip install "autogen-ext[mcp]"Replace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenIntegrate into workflow
Explore tools
Why Use AutoGen with the Dades Obertes Catalunya MCP Server
AutoGen provides unique advantages when paired with Dades Obertes Catalunya through the Model Context Protocol.
Multi-agent conversations: multiple AutoGen agents discuss, delegate, and collaboratively use Dades Obertes Catalunya tools to solve complex tasks
Role-based architecture lets you assign Dades Obertes Catalunya tool access to specific agents. a data analyst queries while a reviewer validates
Human-in-the-loop support: agents can pause for human approval before executing sensitive Dades Obertes Catalunya tool calls
Code execution sandbox: AutoGen agents can write and run code that processes Dades Obertes Catalunya tool responses in an isolated environment
Dades Obertes Catalunya + AutoGen Use Cases
Practical scenarios where AutoGen combined with the Dades Obertes Catalunya MCP Server delivers measurable value.
Collaborative analysis: one agent queries Dades Obertes Catalunya while another validates results and a third generates the final report
Automated review pipelines: a researcher agent fetches data from Dades Obertes Catalunya, a critic agent evaluates quality, and a writer produces the output
Interactive planning: agents negotiate task allocation using Dades Obertes Catalunya data to make informed decisions about resource distribution
Code generation with live data: an AutoGen coder agent writes scripts that process Dades Obertes Catalunya responses in a sandboxed execution environment
Example Prompts for Dades Obertes Catalunya in AutoGen
Ready-to-use prompts you can give your AutoGen agent to start working with Dades Obertes Catalunya immediately.
"Search the catalog for datasets related to 'hospitals' in Catalonia."
"Query dataset 'abcd-1234' and show me the top 5 results where population is over 10000."
"List the columns available in dataset 'xyz1-2345' using a full-text search for 'electric'."
Troubleshooting Dades Obertes Catalunya MCP Server with AutoGen
Common issues when connecting Dades Obertes Catalunya to AutoGen through Vinkius, and how to resolve them.
McpWorkbench not found
pip install "autogen-ext[mcp]"Dades Obertes Catalunya + AutoGen FAQ
Common questions about integrating Dades Obertes Catalunya MCP Server with AutoGen.
How does AutoGen connect to MCP servers?
Can different agents have different MCP tool access?
Does AutoGen support human approval for tool calls?
Explore More MCP Servers
View all →
OpenTHC
12 toolsAutomate cannabis compliance via OpenTHC — track plants, manage inventory, query lab results, and handle B2B/B2C transactions directly from any AI agent.

Crawlbase
10 toolsScrape and crawl via Crawlbase — perform HTML extraction, handle JS-rendered pages, bypass CAPTCHAs, and scrape social profiles directly from any AI agent.

Notion Alternative
13 toolsManage Notion pages, databases and blocks via API — search content, query databases, create rows and append blocks from any AI agent.

Odoo Manufacturing
7 toolsCreate manufacturing orders, manage BOMs, work orders, and work centers — Odoo MRP through natural conversation.
