
Mcp Brasil Api
io.github.codesparPublished by GitHub account codesparv0.2.2Updated Oct 24, 2026
MCP server for BrasilAPI — CEP, CNPJ, banks, FIPE, holidays, weather
Overview
Local MCP server exposing BrasilAPI lookups: Brazilian postal codes, companies, banks, FIPE vehicle prices, holidays, weather and more.
- What you can do
- Look up Brazilian addresses by CEP and company data by CNPJ
- List banks, Pix participants and CVM-registered brokerages
- Query FIPE reference tables, vehicle brands, models and prices
- Retrieve holidays, IBGE states and municipalities, DDD area codes, NCM codes, ISBN book data and .br domain info
- Get weather forecasts, capital and airport conditions and ocean forecasts from CPTEC/INPE
- Fetch current Brazilian economic rates such as Selic, CDI and IPCA
- When to use it
- Useful when an assistant needs Brazilian public reference data — validating addresses or company records, checking vehicle prices, holidays, tax rates or local weather — without building API calls by hand.
- Requirements
- Runs locally over stdio, typically launched with npx from the npm package @codespar/mcp-brasil-api, so Node.js and network access to BrasilAPI are needed. No authentication, API keys or environment variables are required.
Installation
In SourceWeft
- Open Mcp Brasil Api in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@codespar/mcp-brasil-api
MCP server for BrasilAPI — free public data APIs for CEP, CNPJ, banks, holidays, FIPE, and more
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Claude Code
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
Tools (24)
Authentication
No authentication required. BrasilAPI is a free public API.
Sandbox / Testing
No sandbox needed. BrasilAPI is free and open for all requests.
Get your credentials
No credentials needed. Just install and use.
Environment Variables
No environment variables required.
Roadmap
v0.2 (planned)
get_pix_participants— Get list of Pix participant institutionsget_domain_info— Get domain registration infoget_vehicle_info— Get vehicle info by license plate (FIPE)get_ibge_municipalities— List municipalities by state (IBGE)get_tax_rates— Get current tax rates (Selic, CDI, IPCA)
v0.3 (planned)
get_cvm_funds— Get investment fund data from CVMget_election_results— Get election results by region
Want to contribute? Open a PR or request a tool.
Links
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
Source: packages/identity/brasil-api/README.md at commit d0a519a
Tools
0Version history
1- v0.2.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts