apipj · API de CNPJ

br.com.apipjPublished by apipj.com.brOfficial publisherv0.2.0Updated Oct 24, 2026

CNPJ API: Brazilian company records (Receita Federal open data). Google sign-in or API key

VerifiedStreamable HTTPWeb executableData & AnalyticsBusiness & Commerce

Overview

AI-generated overview

Remote MCP server for Brazilian company records (CNPJ): look up registration data from Receita Federal open data and validate CNPJ numbers.

What you can do
Look up public registration data for a CNPJ: legal and trade name, status, address, phones, email, CNAE activities, legal nature, size, share capital, Simples/MEI and partners with masked CPF, from the monthly Receita Federal batch. Validate a CNPJ's format and check digits without querying the database. Check service and database status: loaded batch month, generation date and number of CNPJs.
When to use it
Useful when an assistant needs to verify or enrich Brazilian company information, such as checking a supplier's registration status, confirming a CNPJ is well-formed, or seeing how current the underlying data is.
Requirements
A remote streamable HTTP endpoint; no local package. Lookups require an apipj account, either an API key sent in the Authorization header or OAuth sign-in with Google. Validation and status checks need no key and consume no quota.
Before you install
The Authorization header carries a secret API key. Lookups require an account and consume quota, and partner CPF data is returned masked. Data comes from the monthly Receita Federal batch, so it may lag behind current records.

Installation

In SourceWeft

  1. Open apipj · API de CNPJ in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/br.com.apipj%2Fcnpj/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "apipj-api-de-cnpj": {
      "type": "http",
      "url": "https://apipj.com.br/mcp"
    }
  }
}

Tools

3

consultar_cnpj

Consultar CNPJ

Dados cadastrais públicos de um CNPJ na base da Receita Federal (lote mensal): razão social, nome fantasia, situação cadastral, endereço, telefones, e-mail, atividades CNAE, natureza jurídica, porte, capital social, Simples/MEI e sócios (CPF mascarado). Exige uma conta apipj: o cliente pede para conectar e entrar com o Google (OAuth) ou envia uma chave de API; cada consulta conta no limite por minuto e na cota mensal do plano da conta.

Parameterscnpjrequiredformato

validar_cnpj

Validar CNPJ

Confere formato e dígitos verificadores de um CNPJ (numérico ou alfanumérico) sem consultar a base. Devolve cnpj, valido, formatado, alfanumerico e erro. Sem chave e sem consumo de cota.

Parameterscnpjrequired

status_base

Status da base

Status do serviço e da base de CNPJ: mês do lote da Receita Federal carregado, data de geração e quantidade de CNPJs. Sem chave e sem consumo de cota.

Takes no parameters.

Version history

2
  1. v0.2.0LatestOct 13, 2026
  2. v0.1.0Oct 13, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.