Ayuntamiento de Zaragoza MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 17 tools to Book Appointment, Create Map, Delete Map, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Ayuntamiento de Zaragoza through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
Ask AI about this MCP Server for Vercel AI SDK
The Ayuntamiento de Zaragoza MCP Server for Vercel AI SDK is a standout in the Data Management category — giving your AI agent 17 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using Ayuntamiento de Zaragoza, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
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 Ayuntamiento de Zaragoza MCP Server
Connect to the Ayuntamiento de Zaragoza (Zaragoza City Council) Open Data platform to interact with city services, public datasets, and administrative workflows through natural language.
The Vercel AI SDK gives every Ayuntamiento de Zaragoza tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 17 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- Public Datasets — Query information on monuments, restaurants, city equipment, and more using the
query_datasettool. - Citizen Services (Open311) — Submit complaints or suggestions (
submit_open311_request) and track their status directly from your agent. - Collaborative Maps — List and inspect public or user-specific maps to visualize urban data.
- Appointment Management — Check availability for city services and book appointments (
book_appointment) without navigating complex web forms. - Advanced Semantic Search — Execute SPARQL queries for deep data analysis across the city's linked data infrastructure.
The Ayuntamiento de Zaragoza MCP Server exposes 17 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 17 Ayuntamiento de Zaragoza tools available for Vercel AI SDK
When Vercel AI SDK connects to Ayuntamiento de Zaragoza through Vinkius, your AI agent gets direct access to every tool listed below — spanning open-data, open311, citizen-services, 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.
Book appointment on Ayuntamiento de Zaragoza
Requires authentication. Book an appointment (Cita Previa)
Create map on Ayuntamiento de Zaragoza
Requires authentication. Create a new collaborative map
Delete map on Ayuntamiento de Zaragoza
Requires authentication. Delete a collaborative map
Execute sparql query on Ayuntamiento de Zaragoza
zaragoza.es/sparql. Execute a SPARQL query against Zaragoza Semantic Web endpoint
Get agenda availability on Ayuntamiento de Zaragoza
Get appointment availability for a specific day
Get agenda detail on Ayuntamiento de Zaragoza
Get details of a specific Cita Previa agenda
Get map detail on Ayuntamiento de Zaragoza
Get details of a collaborative map
Get my appointments on Ayuntamiento de Zaragoza
Get my booked appointments
Get open311 request on Ayuntamiento de Zaragoza
Get details of a specific Open311 request
Get open311 service on Ayuntamiento de Zaragoza
Get Open311 service definition
List agendas on Ayuntamiento de Zaragoza
List Cita Previa (Appointment) agendas
List open311 requests on Ayuntamiento de Zaragoza
List Open311 requests
List open311 services on Ayuntamiento de Zaragoza
List Open311 services (Quejas y Sugerencias)
List public maps on Ayuntamiento de Zaragoza
List collaborative public maps
List user maps on Ayuntamiento de Zaragoza
List collaborative maps for a specific user
Query dataset on Ayuntamiento de Zaragoza
Query a generic Zaragoza dataset (e.g., restaurante, monumento)
Submit open311 request on Ayuntamiento de Zaragoza
Requires authentication credentials. Submit an Open311 request (Queja/Sugerencia)
Connect Ayuntamiento de Zaragoza to Vercel AI SDK via MCP
Follow these steps to wire Ayuntamiento de Zaragoza into Vercel AI SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @ai-sdk/mcp ai @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the script
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Vercel AI SDK with the Ayuntamiento de Zaragoza MCP Server
Vercel AI SDK provides unique advantages when paired with Ayuntamiento de Zaragoza through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Ayuntamiento de Zaragoza integration everywhere
Built-in streaming UI primitives let you display Ayuntamiento de Zaragoza tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Ayuntamiento de Zaragoza + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Ayuntamiento de Zaragoza MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Ayuntamiento de Zaragoza in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Ayuntamiento de Zaragoza tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Ayuntamiento de Zaragoza capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Ayuntamiento de Zaragoza through natural language queries
Example Prompts for Ayuntamiento de Zaragoza in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Ayuntamiento de Zaragoza immediately.
"Search for monuments in Zaragoza named 'Goya'."
"Report a cleaning issue at Calle Mayor 10 using Open311."
"Check availability for an appointment in the 'Padron' agenda for tomorrow."
Troubleshooting Ayuntamiento de Zaragoza MCP Server with Vercel AI SDK
Common issues when connecting Ayuntamiento de Zaragoza to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpAyuntamiento de Zaragoza + Vercel AI SDK FAQ
Common questions about integrating Ayuntamiento de Zaragoza MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Explore More MCP Servers
View all →
MailerSend
12 toolsSend transactional and marketing emails with templates, analytics, and deliverability tools built for developers and businesses.

Showpad
8 toolsEquip your AI agent to radically infiltrate your Showpad enablement platform. Search sales collateral, fetch user profiles, track channels, and extract asset metadata.

Mockaroo
5 toolsGenerate realistic dummy data — audit schemas and field types via AI.

SEON
12 toolsPrevent online fraud with device fingerprinting, email and phone analysis, and real-time risk scoring for digital transactions.
