What is DataBR?
DataBR is an MCP server that provides a comprehensive API for Brazilian public data, enabling AI agents to access over 122 endpoints across domains like economy, companies, markets, government transparency, legal, and environment. It uses the x402 protocol for automatic on-chain payments in USDC on the Base network — no registration or API key required.
How to use DataBR?
Install the Python SDK with pip install databr and initialize it with a wallet private key that has USDC on Base. Alternatively, add the MCP server URL https://databr.api.br/mcp to your MCP client (e.g., Claude, Cursor) to get 170+ tools. Use curl to explore endpoints without paying (a 402 Payment Required response shows the cost).
Key features of DataBR
- 122+ endpoints for Brazilian public data
- Pay-per-query with USDC on Base (x402 protocol)
- No registration or API key needed
- 170+ MCP tools for AI agents
- LLM-ready response format (
?format=context)
- Python SDK with typed namespaces and error handling
Use cases of DataBR
- Query current Selic rate or IPCA inflation for economic analysis
- Retrieve company registration data and compliance checks by CNPJ
- Perform automated due diligence or ESG analysis on a company
- Check stock prices, fund details, and Ibovespa index from B3
- Search government contracts, public servants, and legislative proposals
评论