4,000+ servers built on vurb.ts
Vinkius
Mastra AISDK
Mastra AI
São Paulo (Cidade) MCP Server

Bring Open Data
to Mastra AI

Learn how to connect São Paulo (Cidade) to Mastra AI and start using 11 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Datastore SearchDatastore Search SqlGet GroupGet OrganizationGet PackageGet ResourceList GroupsList OrganizationsList PackagesList TagsSearch Packages

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
São Paulo (Cidade)

What is the São Paulo (Cidade) MCP Server?

Connect your AI agent directly to the São Paulo City Open Data Portal (CKAN). This server allows you to navigate thousands of public datasets covering health, education, transport, and finance in Brazil's largest city.

What you can do

  • Dataset Discovery — Search for specific datasets using keywords or list all available packages in the portal.
  • Granular Inspection — Fetch detailed metadata for datasets and individual resources (files) to understand data structures.
  • Advanced Data Querying — Perform searches within data stores or execute complex SQL queries directly on CSV-backed resources.
  • Organizational Mapping — List and inspect city secretariats (organizations) and thematic groups to find relevant data sources.
  • Tag Exploration — Browse datasets by tags to discover related public information across different departments.

How it works

  1. Subscribe to this server
  2. (Optional) Provide your São Paulo Open Data API Key for higher rate limits
  3. Start querying city data from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Data Analysts & Researchers — quickly find and query public statistics without manual downloads
  • Developers — integrate real-time city data into applications using SQL-like queries
  • Journalists & Citizens — audit public spending and city performance through natural language conversation

Built-in capabilities (11)

datastore_search

Search data within a resource

datastore_search_sql

SQL Query on a resource

get_group

Get group details

get_organization

Get organization details

get_package

Get dataset details

get_resource

Get resource details

list_groups

g., Educação, Meio Ambiente). List groups (themes)

list_organizations

g., Secretarias) that own datasets. List organizations

list_packages

List all datasets (packages) in the portal

list_tags

List tags

search_packages

Search datasets

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and São Paulo (Cidade) tool infrastructure. Connect 11 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add São Paulo (Cidade) without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every São Paulo (Cidade) tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

São Paulo (Cidade) in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

São Paulo (Cidade) and 4,000+ other MCP servers. One platform. One governance layer.

Teams that connect São Paulo (Cidade) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for São Paulo (Cidade) in Mastra AI

The São Paulo (Cidade) 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. All 11 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

São Paulo (Cidade)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* 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

The Vinkius Advantage

How Vinkius secures São Paulo (Cidade) for Mastra AI

Every tool call from Mastra AI to the São Paulo (Cidade) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

How can I search for datasets related to a specific topic like 'Health'?

You can use the search_packages tool with the query 'saúde'. The agent will return a list of matching datasets available in the portal.

02

Can I perform SQL queries on the data directly?

Yes! If a resource is stored in the DataStore, you can use the datastore_search_sql tool to run standard SQL queries against the resource ID.

03

How do I find which city departments have published data?

Use the list_organizations tool to see all registered entities. Then, use get_organization with a specific ID to see all datasets owned by that department.

04

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

05

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

06

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

07

createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →