Skip to content
MCP server

apipj · API de CNPJ

Look up Brazilian company records by CNPJ from Receita Federal open data

Install
Pricing
Freemium
Platforms
Web, API
Runs
Remotely
Version
0.2.0
Listing updated
1 day ago

About apipj · API de CNPJ

apipj · API de CNPJ is a freemium MCP server for legal and government. It runs as a hosted remote server, so there is nothing to install locally.

apipj serves Brazilian company registry data, taken from the Receita Federal open data release, and its MCP server gives assistants three read-only tools. validar_cnpj checks format and check digits, including the alphanumeric CNPJ, and does not use quota. status_base reports which month the data load is from and how many CNPJs it holds. consultar_cnpj returns a company's full or simplified record and needs a signed-in account or API key.

The guide is in Portuguese and was tested against the API in October 2026. In Claude you add the endpoint as a custom connector and sign in with Google or email when the first company lookup runs; Claude Code, VS Code and Cursor can use the same login or a bearer key. The full format includes the partner structure as published, with CPFs masked, so the guide suggests the simplified format when only status or address is needed.

The data refreshes monthly, so for an official proof of a company's status the guide points to the certificate on the Receita site. The free plan allows 10 requests a minute and 50,000 a month, shared with API use.

Install

Run in a terminal

claude mcp add --transport http cnpj https://apipj.com.br/mcp

Add to Settings → Connectors → Add custom connector

https://apipj.com.br/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "cnpj": {
      "url": "https://apipj.com.br/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "cnpj": {
      "type": "http",
      "url": "https://apipj.com.br/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cnpj": {
      "serverUrl": "https://apipj.com.br/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

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

What it does

CNPJ validation
Checks check digits, including alphanumeric CNPJs, without using quota.
Database status
Shows the month of the data load and total companies.
Company lookup
Returns full or simplified registry records.
OAuth or API key
Sign in with Google or send a Bearer key.
Clear error results
Rate limits and missing CNPJs come back as readable messages.

Good for

  • Validate a supplier by CNPJ
  • Check a company's registration status and city
  • Confirm a CNPJ's check digits before saving it
  • Let a coding agent test an integration against real data

Pricing

Freemium

Free 50,000 queries/month; Dev R$ 12.90/mo, Pro R$ 59.90/mo

Prices change. Check apipj.com.br before you buy.

apipj · API de CNPJ FAQ

What does it cost?

The free plan allows 50,000 requests a month; Dev is R$ 12,90 a month and Pro R$ 59,90.

Do I need an account for every tool?

No. validar_cnpj and status_base work without one.

How fresh is the data?

It is monthly; the guide cited an October 2026 load.

Are partner details exposed?

The full format includes partners as the Receita publishes them, with CPF masked.

Is apipj · API de CNPJ free?

apipj · API de CNPJ has a free plan, with paid plans for more usage or features.

How do I add apipj · API de CNPJ to Claude Code?

Run this command in your terminal: claude mcp add --transport http cnpj https://apipj.com.br/mcp

What are the best alternatives to apipj · API de CNPJ?

The closest alternatives to apipj · API de CNPJ are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.

Alternatives to apipj · API de CNPJ

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  3. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  4. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  5. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data
  6. New York LLC publication rules, deadline, county prices, clerks and notice text

    • 8 tools
    • Remote
    • Free
    • Legal and government