# CNPJ

> CNPJ is an MCP server for legal and government. Free Brazilian CNPJ lookup (legal name, status, partners) + lawsuit discovery. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Repository:** https://github.com/mcp-dir/cnpj-mcp
- **MCP Registry name:** io.github.mcp-dir/cnpj-mcp
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-18

## About

Free Brazilian CNPJ lookup (legal name, status, partners) + lawsuit discovery. Public data, no login

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http cnpj-mcp https://api.mcp.ai/p_cnpj
```

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

```sh
https://api.mcp.ai/p_cnpj
```

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

```json
{
  "mcpServers": {
    "cnpj-mcp": {
      "url": "https://api.mcp.ai/p_cnpj"
    }
  }
}
```

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

```json
{
  "servers": {
    "cnpj-mcp": {
      "type": "http",
      "url": "https://api.mcp.ai/p_cnpj"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "cnpj-mcp": {
      "serverUrl": "https://api.mcp.ai/p_cnpj"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "cnpj-mcp": {
      "type": "http",
      "url": "https://api.mcp.ai/p_cnpj"
    }
  }
}
```

## FAQ

### How do I add CNPJ to Claude Code?

Run this command in your terminal: claude mcp add --transport http cnpj-mcp https://api.mcp.ai/p_cnpj

### What are the best alternatives to CNPJ?

The closest alternatives to CNPJ are CNPJ Completo, CNPJ e CEP, Empresas BR (CNPJ due diligence), Radar Cnpj and Libelus.

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [CNPJ Completo](https://ai-powered.com/mcp/cnpj-completo): CNPJ Completo is a freemium MCP server for legal and government.
- [CNPJ e CEP](https://ai-powered.com/mcp/cnpj-e-cep): CNPJ e CEP is a free MCP server for legal and government.
- [Empresas BR (CNPJ due diligence)](https://ai-powered.com/mcp/empresas-br-cnpj-due-diligence): Empresas BR (CNPJ due diligence) is a freemium MCP server for legal and government.
- [Radar Cnpj](https://ai-powered.com/mcp/radar-cnpj): Radar Cnpj is a freemium MCP server for legal and government.
- [Libelus](https://ai-powered.com/mcp/libelus): Libelus is a freemium MCP server for legal and government.
- [apipj · API de CNPJ](https://ai-powered.com/mcp/apipj-api-de-cnpj): apipj · API de CNPJ is a freemium MCP server for legal and government.
- [BitBusca Empresas](https://ai-powered.com/mcp/bitbusca-empresas): BitBusca Empresas is an MCP server for legal and government.
- [Fichário — CNPJ Brasil](https://ai-powered.com/mcp/fichario-cnpj-brasil): Fichário — CNPJ Brasil is a free MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/cnpj
