mcpbeat Sign in

Brazil CNPJ company registry MCP Server

answering

Brazil CNPJ company registry is answering right now. Last checked 12 min ago. It exposes 8 tools. Last commit 22 Oct 2026.

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

Uptime history 53 days of history · worst day 99%
53 days agonow
100.0%
Uptime 24h
91 of 91 checks
8
Tools
read from the server
296 ms
Response time
average over 24h
6
Stars
last commit 22 Oct 2026

What changed 7

Every tool that appeared, vanished or quietly changed what it asks for. Recorded since 9 October 2026. No other catalogue keeps this.

27 Oct a tool description was rewritten lookup_codes
20 Oct 3 tool descriptions were rewritten count_companies, search_companies, search_partners
12 Oct a tool description was rewritten search_companies
9 Oct a tool description was rewritten search_companies
9 Oct a tool changed the parameters it asks for search_companies

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 12 min ago.

run in your terminal
claude mcp add cnpj-mcp --transport http https://cnpj-mcp.fly.dev/mcp
Settings → Connectors → Add custom connector, then paste this address
https://cnpj-mcp.fly.dev/mcp
~/.codex/config.toml
[mcp_servers.cnpj-mcp]
url = "https://cnpj-mcp.fly.dev/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "cnpj-mcp": {
      "url": "https://cnpj-mcp.fly.dev/mcp"
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "cnpj-mcp": {
      "type": "http",
      "url": "https://cnpj-mcp.fly.dev/mcp"
    }
  }
}

Available tools 8

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

companies
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.
search_companies
Find 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_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). Returns up to 100 rows per page, ordered by opening date (newest first) unless order_by is capital_social or razao_social. Use count_companies for 'how many' questions. Set include_contacts to add email, phones, full address and a registry_contact_quality block (0-100 score of how likely the REGISTERED email/phone from Receita is a real direct contact, with the signals behind it; it says nothing about the website) and, when the company's own website was crawled, a separate website_contacts block (WhatsApp, phones, emails, social profiles found on its public pages, each with source_url). A whatsapp_business block appears only when a WhatsApp Business account was found on one of the registered phones (display name, account type, name_match score, checked_at); phones are checked in the background after a query shows them, so a result can appear on a later call, and its absence says nothing about whether the number is on WhatsApp. min_contact_score keeps only companies whose REGISTERED contact (the email and phones on the Receita record, not the website) scores at or above it. Pass an integer 0-100, or a tier name: 'high' = 85, 'medium' = 50, 'low' = 0 (e.g. min_contact_score=50 or 'medium' for medium and high). The filter is applied after the page is read, so a call scans at most 2000 candidates and returns pagination.next_offset to continue.
partners
list_partners
Partners (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_partners
Find 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 name can belong to different people. Returns company name, status and role.
company
get_company
One 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.
count
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.
dataset
dataset_info
What data is loaded: source, snapshot month, row counts, field meanings and caveats. Call first if unsure what the tools cover.
lookup
lookup_codes
Look 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 suggestions. Read match_type, match_note and every official description; ambiguous terms are not an automatic classification. Numeric codes/prefixes keep the original lookup. Other tables use literal text. Use this before sector or municipio filtering.

What the code does

We read the source, 5 d ago · tools taken from the live server · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs an external command src/cnpj_mcp/ingest.py:37
    out = subprocess.run(["curl", "-sfI", "-u", f"{TOKEN}:", url], capture_output=True, text=True).stdout
Builds a file path from a variable src/cnpj_mcp/ingest.py:66
    dest = os.path.join(outdir, table, f"{name}.parquet")

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Endpoints

URLTransportStateLatencyChecked
https://cnpj-mcp.fly.dev/mcp streamable-http answering 253 ms 12 min ago

Alternatives to Brazil CNPJ company registry

same job, measured the same way
MCP Brazil Cnpj Company Data
by mambabuilt

Brazilian company and partner (QSA) data by CNPJ from Receita Federal open data.

349 installs/wk local only
Companies House
by aicayzer

UK Companies House public register: search companies, officers, ownership, filings and documents.

169 installs/wk local only
CompanyData
by companydata

Company search and enrichment from official business registers in 200+ countries.

50 installs/wk 3 tools answering
FounderStack Africa
by founderstackafrica

African startup tools, funding programmes and company data, filterable by country and sector.

5 tools answering
Firmenbuchdaten Austria
by firmenbuchdaten

Austrian company register: search companies, register data, annual accounts (CC BY 4.0).

4 tools answering
rejstrikdata.cz Czech company data
by rejstrikdata

Czech companies from public registers: search, company data, criteria search and annual accounts.

4 tools answering
R
RealGeeks Company Registry
by beacon-worker-realgeeks-company-api

Official company registers for France, Norway, Finland and US SEC: search by name or look up by ID.

3 tools answering
VERIDEX
by veridexia

Verify Spanish companies by CIF: registry data, status and BORME filings, paid per call over x402.

3 tools answering

Brazil CNPJ company registry — questions

Answers built from our own checks of this server.

What can Brazil CNPJ company registry do?
It exposes 8 tools, read directly from the server on our last check. Among them: companies_at_address, count_companies, dataset_info, get_company, list_partners, lookup_codes and 2 more. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
What is Brazil CNPJ company registry mostly used for?
Its tools cluster around partners and companies. That is what this server is built to work with — the grouping comes from the actual tool names, not from a category we assigned.
Is Brazil CNPJ company registry working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 91 of 91 checks got a reply (100.0%), average response time 296 ms. The bar chart above shows every period we have measured.
How do I connect Brazil CNPJ company registry?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does Brazil CNPJ company registry need an API key?
No. Brazil CNPJ company registry completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 8 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is Brazil CNPJ company registry?
It answers our handshake in 296 ms on average, which is faster than 36% of all working MCP servers we measure. The comparison comes from our own checks across the whole registry, every 15 minutes.
Is Brazil CNPJ company registry open source?
The code is open source: it is published under the MIT licence, written in Python and 6 stars on GitHub. The licence covers the code in the repository, not the hosted service at cnpj-mcp.fly.dev, which runs on its operator's own terms.