Brazil CNPJ company registry
v0.1.0Brazil's open CNPJ registry: filter and count companies by sector, place, size, MEI, partners.
Endpoint health
online- Last checked
- 11/25/2026, 9:16:54 AM
- Latency
- 21 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:io.github.bnovarini%2Fcnpj-mcp
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"io.github.bnovarini/cnpj-mcp": {
"url": "https://cnpj-mcp.fly.dev/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
8 shown · authentication unknown
companies_at_address
Establishments registered at one address, by CEP (8 digits), optionally narrowed by street text, number, municipio or uf. Use it to find companies sharing an address.
Schema valid · SHA-256 1cb43314495f…
View input schema
{ "type": "object", "properties": { "cep": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Cep" }, "logradouro_contains": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Logradouro Contains" }, "numero": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Numero" }, "municipio": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Municipio" }, "uf": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Uf" }, "situacao": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": "ativa", "title": "Situacao" }, "limit": { "default": 50, "title": "Limit", "type": "integer" }, "offset": { "default": 0, "title": "Offset", "type": "integer" } }, "title": "companies_at_addressArguments" }count_companies
Count companies or establishments, optionally grouped by one or two fields. Filters (all optional, combined with AND): cnae (CNAE code or prefix, e.g. '4711' or '47', list ok; add include_secondary to also match secondary activities), cnae_secao (letter A-U), uf, municipio (name as in Receita, accents ignored), municipio_codigo, situacao (ativa, baixada, suspensa, inapta, nula), matriz_only, porte (micro = ME, pequeno = EPP, demais, nao_informado), natureza_juridica (code prefix like '2062' or text like 'sociedade limitada'), capital_min/capital_max (BRL), opened_from/opened_to (data_inicio_atividade, YYYY-MM or YYYY-MM-DD), closed_from/closed_to (data da baixa), mei, simples (true/false), name_contains (razao social or nome fantasia; 3-256 characters and uf required), cep, partner_name (a partner's name contains this text). group_by options: uf, municipio, cnae_principal, cnae_divisao, cnae_secao, natureza_juridica, porte, situacao, ano_abertura, mes_abertura, ano_baixa, mes_baixa, mei, simples, matriz_filial, motivo_situacao. unit='estabelecimentos' (default) counts every CNPJ incl. filiais; unit='empresas' counts companies (matriz only). metric='sum_capital' sums declared capital social (BRL, companies only). Examples: MEIs opened per month in a state, active agro companies per municipality, closures by year.
Connections
streamable-http
https://cnpj-mcp.fly.dev/mcp