BrasilAPI MCP Server for Google ADK 6 tools — connect in under 2 minutes
Google Agent Development Kit (ADK) is Google's framework for building production AI agents. Add BrasilAPI as an MCP tool provider through Vinkius and your ADK agents can call every tool with full schema introspection.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
from google.adk.agents import Agent
from google.adk.tools.mcp_tool import McpToolset
from google.adk.tools.mcp_tool.mcp_session_manager import (
StreamableHTTPConnectionParams,
)
# Your Vinkius token. get it at cloud.vinkius.com
mcp_tools = McpToolset(
connection_params=StreamableHTTPConnectionParams(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
)
)
agent = Agent(
model="gemini-2.5-pro",
name="brasilapi_agent",
instruction=(
"You help users interact with BrasilAPI "
"using 6 available tools."
),
tools=[mcp_tools],
)
* 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 BrasilAPI MCP Server
Empower your AI agent to orchestrate your entire Brazilian institutional research workflow with BrasilAPI, the modern interface for Brazilian public data. By connecting BrasilAPI to your agent, you transform complex national lookups into a natural conversation. Your agent can instantly geolocate addresses via CEP, audit company profiles using CNPJ, and retrieve banking information without you ever touching a government portal. Whether you are conducting KYC checks or managing national logistics, your agent acts as a real-time institutional analyst, ensuring your Brazilian data is always verified and up-to-date.
Google ADK natively supports BrasilAPI as an MCP tool provider. declare Vinkius Edge URL and the framework handles discovery, validation, and execution automatically. Combine 6 tools with Gemini's long-context reasoning for complex multi-tool workflows, with production-ready session management and evaluation built in.
What you can do
- CEP Auditing — Retrieve high-resolution address details for any Brazilian zip code (CEP) and identify neighborhoods and cities instantly.
- Corporate Oversight — Audit Brazilian companies using CNPJ to retrieve detailed registration metadata, including tax status and economic activity.
- Banking Intelligence — List all banks operating in Brazil and retrieve official codes and clearing metadata.
- Asset Monitoring — Query vehicle prices from the FIPE table to understand current market valuations in Brazil.
- National Monitoring — List national holidays and retrieve state (UF) metadata from IBGE to coordinate regional operations.
The BrasilAPI MCP Server exposes 6 tools through the Vinkius. Connect it to Google ADK in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect BrasilAPI to Google ADK via MCP
Follow these steps to integrate the BrasilAPI MCP Server with Google ADK.
Install Google ADK
Run pip install google-adk
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Create the agent
Save the code above and integrate into your ADK workflow
Explore tools
The agent will discover 6 tools from BrasilAPI via MCP
Why Use Google ADK with the BrasilAPI MCP Server
Google ADK provides unique advantages when paired with BrasilAPI through the Model Context Protocol.
Google ADK natively supports MCP tool servers. declare a tool provider and the framework handles discovery, validation, and execution
Built on Gemini models, ADK provides long-context reasoning ideal for complex multi-tool workflows with BrasilAPI
Production-ready features like session management, evaluation, and deployment come built-in. not bolted on
Seamless integration with Google Cloud services means you can combine BrasilAPI tools with BigQuery, Vertex AI, and Cloud Functions
BrasilAPI + Google ADK Use Cases
Practical scenarios where Google ADK combined with the BrasilAPI MCP Server delivers measurable value.
Enterprise data agents: ADK agents query BrasilAPI and cross-reference results with internal databases for comprehensive analysis
Multi-modal workflows: combine BrasilAPI tool responses with Gemini's vision and language capabilities in a single agent
Automated compliance checks: schedule ADK agents to query BrasilAPI regularly and flag policy violations or configuration drift
Internal tool platforms: build self-service agent platforms where teams connect their own MCP servers including BrasilAPI
BrasilAPI MCP Tools for Google ADK (6)
These 6 tools become available when you connect BrasilAPI to Google ADK via MCP:
get_brazilian_holidays
List national holidays in Brazil for a specific year
get_cep_details
Get address details for a Brazilian CEP
get_cnpj_details
Get company details for a Brazilian CNPJ
get_fipe_vehicle_price
Get vehicle price from FIPE table
list_brazilian_banks
List all banks operating in Brazil
list_brazilian_states
List all states (UFs) in Brazil via IBGE
Example Prompts for BrasilAPI in Google ADK
Ready-to-use prompts you can give your Google ADK agent to start working with BrasilAPI immediately.
"Get address details for CEP 01001000 using BrasilAPI."
"Show company details for CNPJ 19131243000197."
"List all banks in Brazil."
Troubleshooting BrasilAPI MCP Server with Google ADK
Common issues when connecting BrasilAPI to Google ADK through the Vinkius, and how to resolve them.
McpToolset not found
pip install --upgrade google-adkBrasilAPI + Google ADK FAQ
Common questions about integrating BrasilAPI MCP Server with Google ADK.
How does Google ADK connect to MCP servers?
Can ADK agents use multiple MCP servers?
Which Gemini models work best with MCP tools?
Connect BrasilAPI with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect BrasilAPI to Google ADK
Get your token, paste the configuration, and start using 6 tools in under 2 minutes. No API key management needed.
