Catalog · table
Company
The table presents information from the National Registry of Legal Entities (CNPJ), which is a database managed by the Special Secretariat of the Federal Revenue of Brazil (RFB). This registry stores registration details of legal entities and other entities relevant to the tax administrations of the federal government, states, the Federal District and municipalities.
One row represents a unique business establishment identified by its 14-digit CNPJ in Brazil. This table contains the most recent registration information for companies nationwide and is intended for analyzing business demographics, locations, and legal status. Analysts should note that 'capital_social' is assigned to the company base (8 digits), so to avoid overcounting when aggregating capital, one must filter for headquarters using 'matriz_filial = 1'.
- Described
- by Base dos Dados, Evidence model
- Publisher
- Base dos Dados
- Dataset
- Brazilian Directories
- Source page
- basedosdados.org
- Licence
- Unknown · reuse unknown
- Access
- Closed: needs BD Pro subscription · closed periods: 2021-11 to 2025-12 (BD Pro subscription)
- Period
- 2021-11 to 2025-12 (by month) · by Base dos Dados
- Area
- Brazil
- Rows
- 72,789,638
- Topics
- Territory, Science and technology, Education
- Catalog level
- L2 · structured
How to use
Connect your agent to Evidence's MCP server and ask in plain language. The agent finds this table, reads its columns and caveats, and runs the query for you.
claude mcp add --transport http -s user evidence \
https://mcp.evidence.so/mcp \
--header "Authorization: Bearer $MCP_API_KEY"Then ask, for example:
How many companies are active in a municipality by main fiscal CNAE?
Columns (32)
| Name | Type | Role | Description | Meaning |
|---|---|---|---|---|
| bairro | string | attribute | Bairro | — |
| capital_social | decimal | measure | Capital Social | Unit: Brazilian real (BRL) |
| cep | string | reference | CEP | — |
| cnae_fiscal_principal | string | dimension | CNAE Fiscal Principal | — |
| cnae_fiscal_secundaria | string | dimension | CNAEs Fiscais Secundárias | — |
| cnpj | string | identifier | CNPJ | Coded by CNPJ (14 digits), identifies Establishment (CNPJ) |
| cnpj_basico | string | identifier | CNPJ Básico (8 primeiros dígitos) | Coded by CNPJ root (8 digits), identifies Company (CNPJ root) |
| cnpj_dv | string | dimension | CNPJ Dígito Verificador | — |
| cnpj_ordem | string | dimension | CNPJ Ordem | — |
| complemento | string | attribute | Complemento | — |
| string | attribute | — | ||
| ente_federativo | string | dimension | Ente Federativo Responsável | — |
| fax | string | dimension | Fax (con DDD) | — |
| id_code_iso3 | string | reference | Sigla do País - ISO3 | — |
| id_municipio | string | reference | ID Município - IBGE 7 Dígitos | — |
| id_pais_me | string | reference | ID do país - Ministério da Economia | — |
| logradouro | string | attribute | Logradouro | — |
| matriz_filial | string | dimension | Identificador entre Matriz e Filial | — |
| natureza_juridica | string | dimension | Natureza Jurídica | — |
| nome_fantasia | string | attribute | Denomização Comercial | — |
| nome_pais_me | string | attribute | Nome do país - Ministério da Economia | — |
| numero | string | dimension | Número | — |
| opcao_mei | integer | measure | Opção pelo MEI | — |
| opcao_simples | integer | measure | Opção pelo Simples Nacional | — |
| porte | string | dimension | Tipo do porte da empresa | — |
| razao_social | string | dimension | Nome empresarial da pessoa jurídica | — |
| sigla_uf | string | reference | Sigla da Unidade da Federação | — |
| situacao_cadastral | string | dimension | Situação Cadastral | — |
| situacao_especial | string | dimension | Situação Especial | — |
| telefone_1 | string | attribute | Telefone (com DDD) 1 | — |
| telefone_2 | string | attribute | Telefone (com DDD) 2 | — |
| tipo_logradouro | string | dimension | Tipo de Logradouro | — |
Caveats
methodology · critical · capital_social
Curated by Evidence · full text through the MCP
other · situacao_cadastral, opcao_simples, opcao_mei
Curated by Evidence · full text through the MCP
privacy · warning · razao_social, email, telefone_1, logradouro
Curated by Evidence · full text through the MCP
other · ente_federativo
É preenchido para os casos de ógaos e entidades do grupo de Natureza Jurídica 1XXX. Para as demais Naturezas, este atributo fica em branco.
other · opcao_mei
Mostra o resultado da busca mais recente dessa informação, ou seja, não contém informções históricas.
other · opcao_simples
Mostra o resultado da busca mais recente dessa informação, ou seja, não contém informções históricas.
other · situacao_cadastral
Mostra o resultado da busca mais recente dessa informação, ou seja, não contém informções históricas.
other · situacao_especial
Mostra o resultado da busca mais recente dessa informação, ou seja, não contém informções históricas.
urn:table:bdd:br_bd_diretorios_brasil.empresa · metadata by Evidence under CC BY 4.0; the data keeps its publisher's licence.