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.
https://apipj.com.br/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (4)
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
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
{
"tools": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
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.
{
"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
}{
"title": "Consultar CNPJ",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}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.
{
"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
}{
"title": "Validar CNPJ",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}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.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"title": "Status da base",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}buscar_cnpjs — Buscar CNPJs por atividade e município
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.
{
"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
}{
"title": "Buscar CNPJs",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
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.
- 2026-11-02: 4 of 4 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 2 of 2 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 4 of 4 checks answered
- 2026-11-30: 4 of 4 checks answered
- 2026-12-01: 4 of 4 checks answered
- 2026-12-02: 4 of 4 checks answered
- 2026-12-03: 4 of 4 checks answered
- 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.
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.
Claude Code
claude mcp add --transport http apipj-mcp https://apipj.com.br/mcpCodex
codex mcp add apipj-mcp --url https://apipj.com.br/mcpCursor
{
"mcpServers": {
"apipj-mcp": {
"url": "https://apipj.com.br/mcp"
}
}
}Cline
{
"mcpServers": {
"apipj-mcp": {
"type": "streamableHttp",
"url": "https://apipj.com.br/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"apipj-mcp": {
"type": "http",
"url": "https://apipj.com.br/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http apipj-mcp https://apipj.com.br/mcpClaude Desktop
https://apipj.com.br/mcpWindsurf
{
"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.
Other data and analytics servers
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.