How to Use the BrasilAPI MCP in Claude Code
Query Brazilian institutional databases and pipe CNPJ or CEP data directly into your terminal workflows with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect BrasilAPI MCP to Claude Code
Create your Vinkius account to connect BrasilAPI to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Audit corporate and postal records using the Claude Code MCP Server
Claude Code lets you query official registries using `get_cnpj_details` directly from your shell. You can quickly inspect active company registrations and pipe the raw JSON output into grep or jq for further processing. If you need to verify delivery zones during a deployment, you can run `get_cep_details` to check regional routing. This keeps your terminal-focused DevOps pipeline fast without requiring a web browser.
Automate database migrations with official state and bank codes
Claude Code uses `list_brazilian_states` to fetch the current IBGE state listings. It can immediately generate SQL insert scripts or JSON seed files and run your migration command to update your database. For payment routing setups, the CLI agent calls `list_brazilian_banks` to get the latest list of clearinghouses. It pipes this data straight into your config files, ensuring your routing tables are always accurate.
Fetch FIPE valuations and schedule holiday checks from the CLI
Claude Code calls `get_fipe_vehicle_price` to check current market values of vehicles directly from your terminal. SREs can use this to quickly verify pricing feeds during database maintenance or backend testing. To schedule system maintenance around regional downtime, the agent calls `get_brazilian_holidays`. It outputs the list of national holidays, helping you script automated deployment freezes for non-working days.
Set up BrasilAPI MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seebrasilapi-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest BrasilAPI transactions." It will automatically discover and invoke the available BrasilAPI tools.
claude mcp add --transport http brasilapi-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about BrasilAPI MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the BrasilAPI MCP today
We host it, we monitor it, we maintain it. You just paste one token.