Compatible with every major AI agent and IDE
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
- Subscribe to this server
- (Optional) Provide your São Paulo Open Data API Key for higher rate limits
- 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)
Search data within a resource
SQL Query on a resource
Get group details
Get organization details
Get dataset details
Get resource details
g., Educação, Meio Ambiente). List groups (themes)
g., Secretarias) that own datasets. List organizations
List all datasets (packages) in the portal
List tags
Search datasets
Why Pydantic AI?
Pydantic AI validates every São Paulo (Cidade) tool response against typed schemas, catching data inconsistencies at build time. Connect 11 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your São Paulo (Cidade) integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your São Paulo (Cidade) connection logic from agent behavior for testable, maintainable code
São Paulo (Cidade) in Pydantic AI
São Paulo (Cidade) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect São Paulo (Cidade) to Pydantic 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.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for São Paulo (Cidade) in Pydantic 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 Pydantic 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.

* 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
How Vinkius secures
São Paulo (Cidade) for Pydantic AI
Every tool call from Pydantic 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.
Frequently asked questions
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.
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.
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.
How does Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your São Paulo (Cidade) MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
Explore More MCP Servers
View all →
Smarty
7 toolsEquip your AI with enterprise-grade location intelligence to validate, autocomplete, and extract US or International addresses instantly.

Customerly
8 toolsCombine live chat, email marketing, and customer surveys in one platform that helps SaaS companies grow and retain users.

Together AI
7 toolsGenerate code, evaluate embeddings, and deploy open-source LLMs instantly from your local agent via Together AI's infrastructure.

Ping Identity
10 toolsManage PingOne user identities, applications, groups, risk policies, and sign-on flows autonomously via AI.
