4,000+ servers built on vurb.ts
Vinkius

São Paulo (Cidade) MCP Server for LangChainGive LangChain instant access to 11 tools to Datastore Search, Datastore Search Sql, Get Group, and more

MCP Inspector GDPR Free for Subscribers

LangChain is the leading Python framework for composable LLM applications. Connect São Paulo (Cidade) through Vinkius and LangChain agents can call every tool natively. combine them with retrievers, memory, and output parsers for sophisticated AI pipelines.

Ask AI about this MCP Server for LangChain

The São Paulo (Cidade) MCP Server for LangChain is a standout in the Data Analytics category — giving your AI agent 11 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
python
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent

async def main():
    # Your Vinkius token. get it at cloud.vinkius.com
    async with MultiServerMCPClient({
        "sao-paulo-cidade": {
            "transport": "streamable_http",
            "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
        }
    }) as client:
        tools = client.get_tools()
        agent = create_react_agent(
            ChatOpenAI(model="gpt-4o"),
            tools,
        )
        response = await agent.ainvoke({
            "messages": [{
                "role": "user",
                "content": "Using São Paulo (Cidade), show me what tools are available.",
            }]
        })
        print(response["messages"][-1].content)

asyncio.run(main())
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

About 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.

LangChain's ecosystem of 500+ components combines seamlessly with São Paulo (Cidade) through native MCP adapters. Connect 11 tools via Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures. with LangSmith tracing giving full visibility into every tool call, latency, and token cost.

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.

The São Paulo (Cidade) MCP Server exposes 11 tools through the Vinkius. Connect it to LangChain in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 11 São Paulo (Cidade) tools available for LangChain

When LangChain connects to São Paulo (Cidade) through Vinkius, your AI agent gets direct access to every tool listed below — spanning open-data, urban-data, public-administration, 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.

datastore

Datastore search on São Paulo (Cidade)

Search data within a resource

datastore

Datastore search sql on São Paulo (Cidade)

SQL Query on a resource

get

Get group on São Paulo (Cidade)

Get group details

get

Get organization on São Paulo (Cidade)

Get organization details

get

Get package on São Paulo (Cidade)

Get dataset details

get

Get resource on São Paulo (Cidade)

Get resource details

list

List groups on São Paulo (Cidade)

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

list

List organizations on São Paulo (Cidade)

g., Secretarias) that own datasets. List organizations

list

List packages on São Paulo (Cidade)

List all datasets (packages) in the portal

list

List tags on São Paulo (Cidade)

List tags

search

Search packages on São Paulo (Cidade)

Search datasets

Connect São Paulo (Cidade) to LangChain via MCP

Follow these steps to wire São Paulo (Cidade) into LangChain. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install dependencies

Run pip install langchain langchain-mcp-adapters langgraph langchain-openai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save the code and run python agent.py
04

Explore tools

The agent discovers 11 tools from São Paulo (Cidade) via MCP

Why Use LangChain with the São Paulo (Cidade) MCP Server

LangChain provides unique advantages when paired with São Paulo (Cidade) through the Model Context Protocol.

01

The largest ecosystem of integrations, chains, and agents. combine São Paulo (Cidade) MCP tools with 500+ LangChain components

02

Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step

03

LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging

04

Memory and conversation persistence let agents maintain context across São Paulo (Cidade) queries for multi-turn workflows

São Paulo (Cidade) + LangChain Use Cases

Practical scenarios where LangChain combined with the São Paulo (Cidade) MCP Server delivers measurable value.

01

RAG with live data: combine São Paulo (Cidade) tool results with vector store retrievals for answers grounded in both real-time and historical data

02

Autonomous research agents: LangChain agents query São Paulo (Cidade), synthesize findings, and generate comprehensive research reports

03

Multi-tool orchestration: chain São Paulo (Cidade) tools with web scrapers, databases, and calculators in a single agent run

04

Production monitoring: use LangSmith to trace every São Paulo (Cidade) tool call, measure latency, and optimize your agent's performance

Example Prompts for São Paulo (Cidade) in LangChain

Ready-to-use prompts you can give your LangChain agent to start working with São Paulo (Cidade) immediately.

01

"Search for datasets about public transport in São Paulo."

02

"List all organizations that provide open data in the portal."

03

"Get the details for the dataset 'folha-de-pagamento'."

Troubleshooting São Paulo (Cidade) MCP Server with LangChain

Common issues when connecting São Paulo (Cidade) to LangChain through Vinkius, and how to resolve them.

01

MultiServerMCPClient not found

Install: pip install langchain-mcp-adapters

São Paulo (Cidade) + LangChain FAQ

Common questions about integrating São Paulo (Cidade) MCP Server with LangChain.

01

How does LangChain connect to MCP servers?

Use langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.
02

Which LangChain agent types work with MCP?

All agent types including ReAct, OpenAI Functions, and custom agents work with MCP tools. The tools appear as standard LangChain tools after the adapter wraps them.
03

Can I trace MCP tool calls in LangSmith?

Yes. All MCP tool invocations appear as traced steps in LangSmith, showing input parameters, response payloads, latency, and token usage.

Explore More MCP Servers

View all →