Brazil CNPJ company registry

io.github.bnovarini/cnpj-mcp · v0.1.0 · data-and-databases

Brazil CNPJ company registry is healthy: it completed an MCP handshake in 692 ms and exposes 8 tools.

Brazil's open CNPJ registry: filter and count companies by sector, place, size, MEI, partners.

Endpoint: https://cnpj-mcp.fly.dev/mcp (streamable-http)

Repository · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count8
Latency692 ms
Last checked (UTC)2026-11-30T23:40:16.512Z

Health history

Checked (UTC)StatusLatencyError
2026-11-30T23:40:16.512ZHealthy692
2026-11-28T13:50:11.154ZHealthy509
2026-11-26T05:50:28.185ZHealthy1916
2026-11-23T23:35:52.442ZHealthy2175
2026-11-21T19:20:27.942ZHealthy307
2026-11-19T16:40:12.660ZHealthy1472
2026-11-17T15:00:25.561ZHealthy646
2026-11-15T14:45:44.230ZHealthy1597
2026-11-13T15:51:03.038ZHealthy2734
2026-11-11T17:55:41.135ZHealthy2394
2026-11-09T21:05:37.727ZHealthy2137
2026-11-08T01:40:20.670ZHealthy1485
2026-11-06T07:20:44.400ZHealthy551
2026-11-04T13:40:42.612ZHealthy9655
2026-11-02T21:00:35.862ZHealthy3035
2026-11-01T05:30:23.482ZHealthy793
2026-10-30T14:55:29.187ZHealthy742
2026-10-29T01:05:13.959ZHealthy233
2026-10-27T11:35:09.935ZHealthy903
2026-10-25T23:35:09.268ZHealthy1132

Tools (8)

dataset_infoWhat data is loaded: source, snapshot month, row counts, field meanings and caveats. Call first if unsure what the tools cover.
search_companiesFind companies/establishments matching filters. 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_codig
count_companiesCount 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, accen
get_companyOne company by CNPJ (14 digits, with or without punctuation; or the 8-digit root to get the matriz): registration, company data, Simples/MEI, address and contacts, secondary CNAEs, partners (with names), and how many establishments the company has.
list_partnersPartners (socios) of one company by CNPJ root or full CNPJ: names, type, role (qualificacao), entry date, age band. CPFs are masked by Receita. faixa_etaria: 1 = 0-12, 2 = 13-20, 3 = 21-30, 4 = 31-40, 5 = 41-50, 6 = 51-60, 7 = 61-70, 8 = 71-80, 9 = over 80, 0 = not applicable.
search_partnersFind the companies a person or entity is a partner of, by name. Exact (accent-insensitive, case-insensitive) match on the partner name by default; set contains=true for a substring match (uf required). Optionally narrow with cpf_middle (the 6 digits Receita publishes, e.g. '240659') because the same
companies_at_addressEstablishments 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.
lookup_codesLook up Receita's code tables by text or code. kind: cnae (activity), natureza_juridica (legal form), municipio, motivo (reason for status), qualificacao (partner role), pais. CNAE text returns ranked candidates using exact descriptions, curated everyday aliases, word matches and spelling suggestion