L'Atlas / MCP servers / Brazil CNPJ company registry
MCP server

Brazil CNPJ company registry

io.github.bnovarini/cnpj-mcp

MCP server OK 8 tools

Get a review See pricing

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

Technical sheet

Author
bnovarini (registry namespace)
Repository
github.com/bnovarini/cnpj-mcp
Site
—
Version
0.1.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://cnpj-mcp.fly.dev/mcp Streamable HTTP
Tools
8
Categories
—
Last updated
8 Oct 2026
Published
8 Oct 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.bnovarini/cnpj-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.bnovarini/cnpj-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.bnovarini/cnpj-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.bnovarini/cnpj-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.bnovarini/cnpj-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.bnovarini/cnpj-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.bnovarini/cnpj-mcp"><img src="https://latlas.dev/badge/fiche/io.github.bnovarini/cnpj-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://cnpj-mcp.fly.dev/mcp
Last result
OK 28 Nov 2026, 09:18
Response time
1,587 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
cnpj-mcp 1.30.0
Tools
8

History

DateResultResponseTools
28 Nov 2026, 09:18OK1,587 ms8

Exposed tools (8, from tools/list, 28 Nov 2026)

dataset_info

What data is loaded: source, snapshot month, row counts, field meanings and caveats. Call first if unsure what the tools cover.

No parameters.

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…

ParameterTypeRequiredDescription
cnaearray<string> | nullno
cnae_secaostring | nullno
include_secondarybooleanno
ufstring | nullno
municipiostring | nullno
municipio_codigostring | nullno
situacaostring | nullno
matriz_onlybooleanno
portestring | nullno
natureza_juridicastring | nullno
capital_minnumber | nullno
capital_maxnumber | nullno
opened_fromstring | nullno
opened_tostring | nullno
closed_fromstring | nullno
closed_tostring | nullno
meiboolean | nullno
simplesboolean | nullno
name_containsstring | nullno
cepstring | nullno
partner_namestring | nullno
order_bystringno
include_contactsbooleanno
min_contact_scoreinteger | string | nullno
limitintegerno
offsetintegerno

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.

ParameterTypeRequiredDescription
group_byarray<string> | nullno
unitstringno
metricstringno
cnaearray<string> | nullno
cnae_secaostring | nullno
include_secondarybooleanno
ufstring | nullno
municipiostring | nullno
municipio_codigostring | nullno
situacaostring | nullno
matriz_onlybooleanno
portestring | nullno
natureza_juridicastring | nullno
capital_minnumber | nullno
capital_maxnumber | nullno
opened_fromstring | nullno
opened_tostring | nullno
closed_fromstring | nullno
closed_tostring | nullno
meiboolean | nullno
simplesboolean | nullno
name_containsstring | nullno
cepstring | nullno
partner_namestring | nullno
orderstringno
limitintegerno

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.

ParameterTypeRequiredDescription
cnpjstringyes

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.

ParameterTypeRequiredDescription
cnpjstringyes

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.

ParameterTypeRequiredDescription
namestringyes
containsbooleanno
cpf_middlestring | nullno
ufstring | nullno
limitintegerno
offsetintegerno

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.

ParameterTypeRequiredDescription
cepstring | nullno
logradouro_containsstring | nullno
numerostring | nullno
municipiostring | nullno
ufstring | nullno
situacaostring | nullno
limitintegerno
offsetintegerno

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.

ParameterTypeRequiredDescription
kindstringyes
textstringyes
limitintegerno

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://cnpj-mcp.fly.dev/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http cnpj-mcp https://cnpj-mcp.fly.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : cnpj-mcp ; URL : https://cnpj-mcp.fly.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : cnpj-mcp ; Server URL : https://cnpj-mcp.fly.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "cnpj-mcp": {
      "url": "https://cnpj-mcp.fly.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "cnpj-mcp": {
      "type": "http",
      "url": "https://cnpj-mcp.fly.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "cnpj-mcp": {
      "url": "https://cnpj-mcp.fly.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "cnpj-mcp": {
      "httpUrl": "https://cnpj-mcp.fly.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.cnpj-mcp]
url = "https://cnpj-mcp.fly.dev/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Brazil CNPJ company registry · L’Atlas · Tested on

Markdown
[Brazil CNPJ company registry — L’Atlas](https://latlas.dev/en/mcp/io.github.bnovarini/cnpj-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.