Koskamo

apipj MCP

This official MCP server allows AI agents to query Brazilian company registration data (CNPJ) sourced from the Federal Revenue. It supports validating CNPJ formats, checking database status, and retrieving detailed company records in full or simplified formats, integrating seamlessly with tools like Claude Code and VS Code.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

apipj MCP logo, by MASTER BI TECNOLOGIA LTDAVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-30Operated by MASTER BI TECNOLOGIA LTDA
MCP endpoint (Streamable HTTP)
https://apipj.com.br/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

4 of 4 have a description · 4 of 4 declare behavior hints · 3 of 3 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to apipj.com.br ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

About apipj MCP

The apipj MCP server provides access to Brazilian company registration data from the Federal Revenue. It allows agents to validate CNPJ formats, check database status, and retrieve detailed company records in full or simplified formats.

Suitable tasks include checking the update month of the database, retrieving detailed company registration data, searching for companies by CNAE or municipality, and validating CNPJ format and check digits.

No sign-in is required to connect and list tools. However, individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

What you can do with it

  • Validate CNPJ format and check digits
  • Retrieve detailed company registration data
  • Check the update month of the database
  • Search for companies by CNAE or municipality

Source and maintenance

Vendor evidenceRegistry 0.2.0

Protocol and capabilities

Server
apipj 0.1.0
MCP protocol negotiated in check
2025-11-25
Tools
4 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Dados cadastrais públicos de empresas brasileiras pelo CNPJ, da carga mensal de dados abertos da Receita Federal. validar_cnpj e status_base funcionam sem conta. consultar_cnpj e buscar_cnpjs usam uma conta apipj, e cada consulta conta no limite por minuto e na cota mensal do plano da conta (na busca, 1 por CNPJ devolvido).

Tools

4 advertised

consultar_cnpj — Consultar CNPJ
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

consultar_cnpj input schema
{
  "type": "object",
  "required": [
    "cnpj"
  ],
  "properties": {
    "cnpj": {
      "type": "string",
      "maxLength": 32,
      "minLength": 1,
      "description": "CNPJ com ou sem pontuação, numérico ou alfanumérico (ex.: 11.378.117/0001-20)"
    },
    "formato": {
      "enum": [
        "completo",
        "simplificado"
      ],
      "type": "string",
      "default": "completo",
      "description": "completo (padrão: objetos aninhados, datas ISO e códigos da Receita) ou simplificado (plano, com datas DD/MM/AAAA e CNPJ, CEP e telefone formatados)"
    }
  },
  "additionalProperties": false
}
consultar_cnpj annotations
{
  "title": "Consultar CNPJ",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
validar_cnpj — Validar CNPJ
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

validar_cnpj input schema
{
  "type": "object",
  "required": [
    "cnpj"
  ],
  "properties": {
    "cnpj": {
      "type": "string",
      "maxLength": 32,
      "minLength": 1,
      "description": "CNPJ com ou sem pontuação, numérico ou alfanumérico (ex.: 11.378.117/0001-20)"
    }
  },
  "additionalProperties": false
}
validar_cnpj annotations
{
  "title": "Validar CNPJ",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
status_base — Status da base
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

status_base input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
status_base annotations
{
  "title": "Status da base",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
buscar_cnpjs — Buscar CNPJs por atividade e município
Advertised by the server during the last successful anonymous check.
Advertised read-only

Lista estabelecimentos ativos da base da Receita Federal pela atividade econômica principal (CNAE, 7 dígitos) e/ou pelo município (código da Receita com 4 dígitos ou do IBGE com 7); pelo menos um dos dois filtros. Devolve {dataset_month, total, resultados, proximo_cursor}: cada resultado tem os dados cadastrais da consulta individual, sem o quadro de sócios. A página tem no máximo o limite por minuto do plano (ou o argumento limite, até esse valor) e cada CNPJ devolvido consome 1 da cota mensal e 1 do limite por minuto; a próxima página vem com cursor = proximo_cursor (null no fim). Exige a conta apipj, como consultar_cnpj.

buscar_cnpjs input schema
{
  "type": "object",
  "properties": {
    "cnae": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1,
      "description": "CNAE da atividade principal, 7 dígitos, com ou sem pontuação (ex.: 4781400 ou 47.81-4-00)"
    },
    "cursor": {
      "type": "string",
      "maxLength": 512,
      "minLength": 1,
      "description": "proximo_cursor da página anterior, com os mesmos filtros"
    },
    "limite": {
      "type": "integer",
      "maximum": 1000,
      "minimum": 1,
      "description": "Tamanho máximo da página, de 1 até o limite por minuto do plano (padrão: esse limite)"
    },
    "formato": {
      "enum": [
        "completo",
        "simplificado"
      ],
      "type": "string",
      "default": "completo",
      "description": "completo (padrão) ou simplificado, como em consultar_cnpj (sem sócios)"
    },
    "municipio": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1,
      "description": "Código do município da Receita (4 dígitos, ex.: 7107 = São Paulo) ou do IBGE (7 dígitos, ex.: 3550308)"
    }
  },
  "additionalProperties": false
}
buscar_cnpjs annotations
{
  "title": "Buscar CNPJs",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (103 of 103 checks answered)

  1. 2026-11-02: 4 of 4 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 2 of 2 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 4 of 4 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 3 of 3 checks answered
  26. 2026-11-29: 4 of 4 checks answered
  27. 2026-11-30: 4 of 4 checks answered
  28. 2026-12-01: 4 of 4 checks answered
  29. 2026-12-02: 4 of 4 checks answered
  30. 2026-12-03: 4 of 4 checks answered
  31. 2026-12-04: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
1689 ms
95th percentile latency
1995 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1386 ms · 4 tool(s)
  • · probe · passed · 2034 ms · 4 tool(s)
  • · probe · passed · 1648 ms · metadata changed · 4 tool(s)
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Try asking

Reviewed prompts from cited playbooks. Connect the listed servers before using them.

Retrieve Brazilian company registration details
Look up the registration details for CNPJ 11.378.117/0001-20 using the apipj-mcp server. Provide the company's legal name, current registration status, and main address.

Agent playbooks using this server

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http apipj-mcp https://apipj.com.br/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add apipj-mcp --url https://apipj.com.br/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable apipj-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "apipj-mcp": {
      "url": "https://apipj.com.br/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "apipj-mcp": {
      "type": "streamableHttp",
      "url": "https://apipj.com.br/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start apipj-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "apipj-mcp": {
      "type": "http",
      "url": "https://apipj.com.br/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http apipj-mcp https://apipj.com.br/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://apipj.com.br/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "apipj-mcp": {
      "serverUrl": "https://apipj.com.br/mcp"
    }
  }
}

Let your agent find its tools

Find servers like apipj MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Frequently asked questions

Can I search for companies by CNAE or municipality?
Yes, the server supports searching for companies by CNAE or municipality using the `buscar_cnpjs` tool.
Do I need an account to use all tools?
No sign-in is required to connect and list tools. However, individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
Can I validate CNPJ format and check digits?
Yes, the server supports validating CNPJ format and check digits using the `validar_cnpj` tool.

Do you run apipj MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing