mcpbeat Sign in

Brazil CNPJ company registry MCP Server

answering

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

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

Uptime history 4 days of history
4 days agonow
100.0%
Uptime 24h
92 of 92 checks
8
Tools
read from the server
306 ms
Response time
average over 24h
2
Stars
last commit 10 Oct 2026

What changed 2

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

9 Oct a tool description was rewritten search_companies
9 Oct a tool changed the parameters it asks for search_companies

What the code does

We read the source, 1 d ago · tools taken from the live server · rules ccca72095570

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

Connect this server

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

run in your terminal
claude mcp add cnpj-mcp --transport http https://cnpj-mcp.fly.dev/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "cnpj-mcp": {
      "url": "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
{
  "mcpServers": {
    "cnpj-mcp": {
      "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), 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). 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. 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), 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. Use it to find the CNAE code for a sector, or the municipio name Receita uses, before filtering.

Endpoints

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

Alternatives to Brazil CNPJ company registry

same job, measured the same way
Brazil Company Risk Score — Registry, Reputation & Protests
by paulovitorti

Risk score for Brazilian companies from registry, reputation and protest records by CNPJ.

answering
Dabra MCP
by dabradata

Brazilian company and person data by CNPJ/CPF: registry, partners, tax status, sanctions, lawsuits.

answering
Prosp
by prosp

B2B prospect discovery: find companies by industry, size and market, checked against registers.

answering
Brazil Company Data — Bulk CNPJ Lookup & Enrichment
by paulovitorti

Bulk CNPJ lookup and enrichment with official Brazilian company registry data.

answering
Cnpj Br
by pipeworx-io

CNPJ Brazil MCP — Brazilian company-registry (Receita Federal) lookup via

37 tools answering
Malaysia Company Registry & Court Cases
by thecompanyatlas

Malaysian company search by name and SSM number, linked to court cases and their parties.

answering
Meta Agent Tools
by agentalog

Registry of MCP servers, agent skills and plugins: search, filter, comments, likes, publish.

41 tools answering
Protestos Nacional
by mcp-dir

Existence and details of protests for people and companies in registry offices across Brazil. Platfo

7 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 companies and partners. 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 92 of 92 checks got a reply (100.0%), average response time 306 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 with the file path 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 306 ms on average, which is faster than 47% 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?
Yes — it is published under the MIT licence, written in Python and 2 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.