# CNPJ — MCP server on mcp.ai > Consulta cadastral pública de CNPJ (razão social, nome fantasia, situação, CNAE, porte e sócios) via BrasilAPI, grátis, sem credencial. Também descobre os processos judiciais da empresa (e dos sócios) por nome, via Diário (DJEN). By: mcp.ai · official Page: https://new.mcp.ai/cnpj ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_cnpj?ms=1796396580000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## Install in your AI client (step by step) Link to paste in any client: https://api.mcp.ai/p_cnpj ### Claude 1. Copy the CNPJ link above (Copy button). 2. In Claude, Plugins → Add → Add custom connector: name CNPJ, paste the link and click Continue. Under Authentication, choose Sign in now and click Add. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. CNPJ needs no other account: it works right after sign-in. 5. Done: just ask in the chat. Open: https://claude.ai/plugins ### ChatGPT 1. Copy the CNPJ link above (Copy button). 2. In ChatGPT (web), Plugins → Add → Add custom MCP server: name CNPJ, paste the link, under Authentication choose OAuth or no authentication, check I understand, click Create as a plugin, then Sign in with CNPJ. 3. The first time, ChatGPT opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. CNPJ needs no other account: it works right after sign-in. 5. Done: just ask in the chat. Open: https://chatgpt.com/plugins ### Cursor 1. Copy the CNPJ link above (Copy button). 2. In Cursor, Settings → MCP → "Add new MCP server", paste the link and save. 3. The first time, Cursor opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. CNPJ needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ### Claude Desktop 1. Copy the CNPJ link above (Copy button). 2. Added it in Claude? The connector lives in your account and shows up on Desktop. If not, Plugins → Add → Add custom connector, paste the link and choose Sign in now. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. CNPJ needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ### Manus 1. Copy the CNPJ link above (Copy button). 2. Paste the link into a Manus chat and ask it to connect the MCP server. 3. The first time, Manus opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. CNPJ needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ### Agents 1. Copy the CNPJ link above (Copy button). 2. Paste the link into your MCP-compatible agent (remote HTTP server). 3. The first time, agent opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. CNPJ needs no other account: it works right after sign-in. 5. Done: just ask in the chat. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/cnpj/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/cnpj/ Authorization: Bearer sk_live_… # create one at https://new.mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs Install guide (prompt + clients + REST), markdown: https://new.mcp.ai/cnpj/index.md How to use (MCP or REST), markdown: https://new.mcp.ai/cnpj/skill.md Postman collection (v2.1): https://new.mcp.ai/cnpj/postman.json ## Tools - cnpj_consultar(cnpj: string) — Consulta cadastral de um CNPJ (grátis): razão social, nome fantasia, situação cadastral, CNAE principal, porte, município/UF e SÓCIOS (QSA). Útil pra identificar a empresa e seus sócios antes de busca - cnpj_processos(cnpj: string, incluir_socios?: boolean) — DESCOBERTA por CNPJ: resolve o CNPJ em razão social (e sócios) e busca os processos por NOME no Diário (DJEN) — grátis, com número de processo completo. Opcionalmente inclui os processos dos sócios. C ## Example prompts - "Consulte o CNPJ 33.000.167/0001-01 e liste os sócios" - "Quais processos da empresa do CNPJ 33.000.167/0001-01?" - "Inclua os processos dos sócios também" ## Links Docs: https://mcp.ai/docs/mcps/cnpj Website: https://mcp.ai/mcps/cnpj