brdata
Provides tools for searching Brazil's CNES national health facility registry, allowing lookups of health facilities by query and municipality.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
brdata
brdata puts Brazil's open public data behind one small command-line tool and one stdio MCP server. Most of the questions it answers need no account and no key: where a CEP lands, what a company registration says, whether a CPF number is even arithmetically valid, what the central bank's headline rates are doing, which vehicle brands the FIPE table tracks, what a state or municipality looks like in the IBGE geography, and what is being bought, published, or registered in the public procurement portal, municipal gazettes, the lawyers' registry, the slave-labour blacklist, and the national health facility registry.
Twelve tools are included. This is a labelled core subset of a larger catalogue: company deep profiles, court-process and warrant searches, wanted-person and consumer-complaint lookups, and several other tools from that catalogue are deliberately out of scope here.
Install
npx @reneturcios/brdata ibge --uf SPOr run the container image:
docker run -i ghcr.io/cloudcorprecords/brdataThe container defaults to the MCP server. Pass CLI arguments to use it as a CLI instead. No environment variable is required: every upstream used here is a public, keyless endpoint.
Related MCP server: mcp-brasilapi
CLI
brdata ibge --scope municipios --uf SP
brdata pncp merenda --uf BA
brdata diario edital
brdata oab "Maria Silva" --uf RJ
brdata lista-suja "Fazenda Exemplo"
brdata cnpj 12345678000195
brdata cep 01310-100
brdata cpf 529.982.247-25
brdata whois example.com.br
brdata bacen --indicator selic
brdata fipe Fiat
brdata cnes "Hospital Central" --municipio Campinas
brdata --versionEach command prints the upstream JSON payload, except cpf, which
prints the local validation result. Exit codes: 0 on success, 1
when a call or validation input fails, 2 for usage errors.
MCP server
npx -y @reneturcios/brdata mcpMCP client configuration:
{
"mcpServers": {
"brdata": {
"command": "npx",
"args": ["-y", "@reneturcios/brdata", "mcp"]
}
}
}Tools
Tool | Input | What it returns |
|
| IBGE states or municipalities. |
|
| PNCP public procurement notices. |
|
| Municipal gazette search results. |
|
| OAB lawyer registry matches. |
|
| Slave-labour blacklist matches. |
|
| Company registration data via BrasilAPI. |
|
| Postal-code locality via BrasilAPI. |
|
| Local check-digit validation; no network call. |
|
| .br domain WHOIS via the registro.br data on BrasilAPI. |
|
| Latest Banco Central SGS value for the indicator. |
|
| FIPE vehicle brands, filtered by the query when given. |
|
| CNES health facilities. |
Notes on sources: IBGE geography comes from the IBGE localities service, Banco Central figures from the BCB open-data SGS series, FIPE brands from the public Parallelum FIPE API, and CNPJ/CEP/WHOIS from BrasilAPI. The PNCP, OAB, lista suja, and CNES requests are shaped against those services' public endpoints; their parameter shapes are reconstructions from the public search surface and are labelled as such in the build report, since no live call was made while building this package.
CPF validation is exact, not sampled: it strips punctuation, rejects all-equal digits and wrong lengths, and recomputes both modulo-11 check digits locally.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev # run the CLI from source via tsxLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Official-source lookups on people and companies: registration status (CPF/CNPJ), Simples/MEI, SINTEG
Read-only MCP tools for public works, builders, ratings, timelines and nearby services in Brazil.
IBGE: geography, census, economy and health from the official APIs, with provenance. 23 tools.
Brazilian legal stack in one MCP: lawsuits, court publications, case law, tenders, certificates.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides tools to query Brazilian CNPJ (company registration), CEP (postal codes), and currency exchange rates (USD and EUR) through an MCP server.3MIT
- AlicenseAqualityDmaintenanceExposes the BrasilAPI as MCP tools, enabling AI agents to query Brazilian public data such as CEP, CNPJ, DDD, IBGE, banks, PIX, FIPE, NCM, exchange rates, taxes, weather, CVM information, holidays, ISBN, domains, stock tickers, and TUSS.41Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server that provides real-time access to Brazilian public data from 6 official sources via 11 read-only tools, including Pix, IBGE, Câmara dos Deputados, Senado Federal, Diário Oficial da União, and Agência Brasil, with no API key required.4MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying basic Brazilian CPF registration data (name, status, birth date) via a hosted MCP server with a single read-only tool, usable from any MCP client.MIT