# apipj · API de CNPJ

> apipj · API de CNPJ is a freemium MCP server for legal and government. Look up Brazilian company records by CNPJ from Receita Federal open data. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API
- **Website:** https://apipj.com.br/guias/consultar-cnpj-ia-mcp
- **MCP Registry name:** br.com.apipj/cnpj
- **Categories:** legal and government, analytics and data
- **Listing updated:** 2026-11-16

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://apipj.com.br/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "cnpj": {
      "url": "https://apipj.com.br/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/apipj-api-de-cnpj
