# MCP Brazil Cnpj Company Data

> MCP Brazil Cnpj Company Data is a paid MCP server for company data. MCP server that looks up Brazilian companies and their partners by CNPJ number. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI
- **Repository:** https://github.com/mambalabsdev/mcp-brazil-cnpj-company-data
- **MCP Registry name:** com.mambabuilt/mcp-brazil-cnpj-company-data
- **Categories:** [company data](https://ai-powered.com/categories/company-data)
- **Listing updated:** 2026-11-20

## About

Give it one or more Brazilian CNPJ numbers and it returns a row per company covering registration status, size, share capital, economic activities (CNAE), address, phone numbers, Simples Nacional and MEI status, and tax regime. Optionally it adds one row per partner or administrator from the company's QSA records, drawn from Receita Federal open data.

The server is a thin client: each call starts a run of an Apify actor, waits for it to finish, and passes back the dataset rows. A valid Apify API token is required for lookups, and usage is billed per company and per partner row to the user's Apify account.

It suits developers and analysts who want an AI assistant to check whether a Brazilian supplier or counterparty is active, what it does, or who its partners are, without building their own registry integration.

## Features

- **Company registry lookup:** Returns status, size, capital, activities, address and tax regime for each CNPJ provided.
- **Partner (QSA) rows:** Optionally lists each partner or administrator of a company, capped by a configurable limit.
- **Batch input:** Accepts up to 10,000 CNPJs per run, with or without punctuation, and skips duplicates by default.
- **Spend cap:** An optional maximum charge stops a run before it would exceed the set USD amount.
- **Single tool interface:** Exposes one tool, lookup_brazil_cnpj, to any MCP client that supports stdio servers.

## Good for

- Checking whether a Brazilian supplier or customer is an active registered company
- Looking up the partners and administrators behind a Brazilian company
- Enriching a spreadsheet or CRM list of CNPJ numbers with registry data
- Identifying whether a company is an MEI or Simples Nacional taxpayer

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-brazil-cnpj-company-data --env APIFY_TOKEN='<APIFY_TOKEN>' -- npx -y @mambalabsdev/mcp-brazil-cnpj-company-data
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-brazil-cnpj-company-data --env APIFY_TOKEN='<APIFY_TOKEN>' -- npx -y @mambalabsdev/mcp-brazil-cnpj-company-data
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-brazil-cnpj-company-data]
command = "npx"
args = ["-y", "@mambalabsdev/mcp-brazil-cnpj-company-data"]
env = { APIFY_TOKEN = "<APIFY_TOKEN>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e APIFY_TOKEN='<APIFY_TOKEN>' mcp-brazil-cnpj-company-data npx -- -y @mambalabsdev/mcp-brazil-cnpj-company-data

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "mcp-brazil-cnpj-company-data": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-brazil-cnpj-company-data"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 1 tool only read data. From the server's own tool labels and tool names; not verified by us.

- `lookup_brazil_cnpj` (name suggests: reads): Looks up Brazilian companies by CNPJ, with optional partner rows.

## FAQ

### What credentials does the server need?

It requires an Apify API token, set as the APIFY_TOKEN environment variable. The tool is listed without one, but a call needs the token.

### How is usage charged?

Runs are billed per company row and per partner row on Apify, plus a small fee per run start. Rates differ by Apify plan, and repeated or not-found CNPJs are not charged.

### Which data source does MCP Brazil Cnpj Company Data use?

The data comes from Receita Federal open data for Brazilian company registrations.

### Can I limit how many partners are returned?

Yes. The max_partners_per_company input sets a limit from 1 to 1000, with a default of 100.

### Is MCP Brazil Cnpj Company Data free?

No. MCP Brazil Cnpj Company Data is a paid product.

### How do I add MCP Brazil Cnpj Company Data to Claude Code?

Run this command in your terminal: claude mcp add mcp-brazil-cnpj-company-data --env APIFY_TOKEN='<APIFY_TOKEN>' -- npx -y @mambalabsdev/mcp-brazil-cnpj-company-data

### What are the best alternatives to MCP Brazil Cnpj Company Data?

The closest alternatives to MCP Brazil Cnpj Company Data are Brazil Company Data — Bulk CNPJ Lookup & Enrichment, Cadastrelo: Consulta CNPJ em Lote & Brazil Company Search, Consulta CNPJ em Lote — Dados da Receita Federal, Amazon Brasil Sellers com CNPJ — Leads B2B e Receita Federal and Brazil Due Diligence — CNPJ Registry + Reclame Aqui.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Brazil Company Data — Bulk CNPJ Lookup & Enrichment](https://ai-powered.com/mcp/brazil-company-data-bulk-cnpj-lookup-and-enrichment): Brazil Company Data — Bulk CNPJ Lookup & Enrichment is an MCP server for company data.
- [Cadastrelo: Consulta CNPJ em Lote & Brazil Company Search](https://ai-powered.com/mcp/cadastrelo-consulta-cnpj-em-lote-and-brazil-company-search): Cadastrelo: Consulta CNPJ em Lote & Brazil Company Search is a paid MCP server for company data.
- [Consulta CNPJ em Lote — Dados da Receita Federal](https://ai-powered.com/mcp/consulta-cnpj-em-lote-dados-da-receita-federal): Consulta CNPJ em Lote — Dados da Receita Federal is an MCP server for company data.
- [Amazon Brasil Sellers com CNPJ — Leads B2B e Receita Federal](https://ai-powered.com/mcp/amazon-brasil-sellers-com-cnpj-leads-b2b-e-receita-federal): Amazon Brasil Sellers com CNPJ — Leads B2B e Receita Federal is an MCP server for sales and crm.
- [Brazil Due Diligence — CNPJ Registry + Reclame Aqui](https://ai-powered.com/mcp/brazil-due-diligence-cnpj-registry-reclame-aqui): Brazil Due Diligence — CNPJ Registry + Reclame Aqui is an MCP server for company data.
- [Brazil Company Risk Score — Registry, Reputation & Protests](https://ai-powered.com/mcp/brazil-company-risk-score-registry-reputation-and-protests): Brazil Company Risk Score — Registry, Reputation & Protests is an MCP server for company data.
- [Brdata MCP](https://ai-powered.com/mcp/brdata-mcp): Brdata MCP is an open-source MCP server for public data.
- [Brazil Company Check](https://ai-powered.com/mcp/brazil-company-check): Brazil Company Check is a paid MCP server for compliance and regulation.

---
Source: https://ai-powered.com/mcp/mcp-brazil-cnpj-company-data
