How to Use the Brasil.io MCP in Claude Code
Pipe live Brasil.io public datasets directly into your terminal workflows using Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Brasil.io MCP to Claude Code
Create your Vinkius account to connect Brasil.io 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.
Query public tables directly from the command line
The `query_table_data` tool allows Claude Code to fetch specific records from Brazilian public databases directly inside your terminal session. You can pass raw JSON filters to isolate specific states, cities, or dates. This terminal-first MCP Server tool lets you pipe the retrieved records directly into local shell scripts or JSON files. The agent executes the request, processes the raw payload, and outputs clean data ready for command-line processing.
List and paginate datasets through the terminal
The `list_datasets` tool exposes the entire catalog of available Brazilian public tables to your command-line agent. Claude Code reads this list to locate specific datasets without requiring a browser. The agent handles the raw pagination parameters automatically. It filters through the available tables and outputs the exact dataset names you need for your shell commands.
Extract table structures for automated scripts
The `get_table_metadata` tool retrieves the column names and data types of any table in the registry. Claude Code uses this schema information to construct precise queries for your automated pipelines. By checking the metadata first, your CLI agent ensures that automated scripts do not break due to unexpected schema changes. It verifies the structure before running bulk queries, saving terminal execution time.
Set up Brasil.io 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 seebrasilio-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Brasil.io transactions." It will automatically discover and invoke the available Brasil.io tools.
claude mcp add --transport http brasilio-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 Brasil.io MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Brasil.io MCP today
We host it, we monitor it, we maintain it. You just paste one token.