Buscador de CNPJ MCP Server

Buscador de CNPJ MCP Server

buscador-de-cnpj•bybuscadordecnpj

An MCP server for searching Brazilian company data through the buscadordecnpj.com API, offering public lookups and premium search tools.

License: MIT License•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides a free public lookup tool that retrieves basic company data by CNPJ without requiring an API key.
  • •Offers premium tools including detailed company lookup, term search in natural language across multiple fields, and advanced structured-filter search.
  • •Supports bulk lookup of multiple CNPJs with optional state and active-status filters.

BEST FOR

  • •Looking up basic details of a specific Brazilian company by its CNPJ.
  • •Searching businesses by natural-language terms such as local bakeries within a region.
  • •Running advanced structured searches, for example for active companies with a given name in a state.

ABOUT BUSCADOR-DE-CNPJ

Buscador de CNPJ MCP Server is cataloged as an MCP server attributed to buscadordecnpj. An MCP server for searching Brazilian company data through the buscadordecnpj.com API, offering public lookups and premium search tools. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Buscador de CNPJ MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Do I need an API key to use the buscador de CNPJ MCP server?

The public lookup tool works without an API key, while premium features require one obtained from buscadordecnpj.com.

Is the public lookup free?

Yes, the public query is described as free and unlimited.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 9c97cd6c042f · 采集于 2026-11-13 13:00:06 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Buscador de CNPJ - MCP Server

Um servidor MCP (Model Context Protocol) para busca de dados de empresas brasileiras usando a API do buscadordecnpj.com.

Demonstração do Buscador de CNPJ funcionando em um agente (GIF)

📋 Funcionalidades

🆓 Consultas Gratuitas

  • cnpj_public_lookup: Busca pública de dados básicos de uma empresa (sem necessidade de API key)

💎 Consultas Premium (requer API key)

  • cnpj_detailed_lookup: Busca detalhada com dados completos da empresa
  • term_search: Busca por termo textual (linguagem natural) em múltiplos campos; ex.: "padarias em SP Tatuapé"
  • cnpj_advanced_search: Busca avançada com filtros estruturados (exatos, intervalos); ideal para fine-tuning

🚀 Instalação

🎯 Instalação Automática (Recomendada)

curl -sSL https://raw.githubusercontent.com/victortavernari/buscador-de-cnpj/main/install.sh | bash

Este script irá:

  • ✅ Detectar seu sistema operacional
  • ✅ Instalar uv (se necessário)
  • ✅ Instalar buscador-de-cnpj
  • ✅ Configurar automaticamente o Claude Desktop
  • ✅ Criar wrapper scripts para compatibilidade

🔧 Instalação Manual

Opção A: Usando uv

# Instale uv (se não tiver)
curl -LsSf https://astral.sh/uv/install.sh | sh
# ou no Windows:
# powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Opção B: Usando pip

pip install buscador-de-cnpj

🔑 Configure sua API key

Para funcionalidades premium, obtenha uma API key em: https://buscadordecnpj.com

🔧 Configuração no Claude Desktop

1. Edite o arquivo de configuração do Claude

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

2. Adicione a configuração do MCP server

Opção A: Usando uvx com script wrapper (recomendado)

1. Crie um script wrapper:

# Crie o diretório se não existir
sudo mkdir -p /usr/local/bin

# Crie o script wrapper
sudo tee /usr/local/bin/uvx-wrapper << 'EOF'
#!/bin/bash
# Encontra uvx automaticamente e executa
UVX_PATH=""

# Possíveis localizações do uvx
POSSIBLE_PATHS=(
    "$HOME/.local/bin/uvx"
    "$HOME/Library/Python/3.*/bin/uvx"
    "/opt/homebrew/bin/uvx"
    "/usr/local/bin/uvx"
    "$(which uvx 2>/dev/null)"
)

for path in "${POSSIBLE_PATHS[@]}"; do
    if [[ -x "$path" ]]; then
        UVX_PATH="$path"
        break
    fi
    # Para paths com wildcard
    for expanded in $path; do
        if [[ -x "$expanded" ]]; then
            UVX_PATH="$expanded"
            break 2
        fi
    done
done

if [[ -z "$UVX_PATH" ]]; then
    echo "Error: uvx not found. Please install uv first." >&2
    exit 1
fi

exec "$UVX_PATH" "$@"
EOF

# Torne executável
sudo chmod +x /usr/local/bin/uvx-wrapper

2. Configure no Claude Desktop:

{
  "mcpServers": {
    "cnpj-search": {
      "command": "/usr/local/bin/uvx-wrapper",
      "args": ["buscador-de-cnpj"],
      "env": {
        "CNPJ_API_KEY": "sua_api_key_aqui"
      }
    }
  }
}

Opção B: Instalação global com pip (mais simples)

pip install buscador-de-cnpj
{
  "mcpServers": {
    "cnpj-search": {
      "command": "buscador-de-cnpj",
      "env": {
        "CNPJ_API_KEY": "sua_api_key_aqui"
      }
    }
  }
}

Opção C: Caminho manual (se outras não funcionarem)

1. Encontre seu caminho do uvx:

which uvx

2. Use o caminho completo:

{
  "mcpServers": {
    "cnpj-search": {
      "command": "/seu/caminho/para/uvx",
      "args": ["buscador-de-cnpj"],
      "env": {
        "CNPJ_API_KEY": "sua_api_key_aqui"
      }
    }
  }
}

3. Reinicie o Claude Desktop

Feche e abra novamente o Claude Desktop para carregar o novo servidor MCP.

📖 Como Usar

Para detalhes de deploy, validação e melhores práticas, consulte também o QWEN.md.

Consulta Pública (Gratuita)

Busque informações da empresa com CNPJ 11.222.333/0001-81

Busca Detalhada (Premium)

Faça uma busca detalhada da empresa com CNPJ 11.222.333/0001-81

Busca em Lote

Busque informações das empresas com CNPJs: 11.222.333/0001-81, 22.333.444/0001-92

Busca Avançada

Busque empresas com nome "Petrobras" no estado do Rio de Janeiro que estejam ativas

🛠️ Exemplos de Uso Direto

1. Consulta Pública

{
  "tool": "cnpj_public_lookup",
  "arguments": {
    "cnpj": "11.222.333/0001-81"
  }
}

2. Busca Detalhada

{
  "tool": "cnpj_detailed_lookup",
  "arguments": {
    "cnpj": "11222333000181"
  }
}

3. Busca em Lote

{
  "tool": "cnpj_bulk_lookup",
  "arguments": {
    "cnpjs": ["11222333000181", "22333444000192"],
    "state": "SP",
    "active": true
  }
}

4. Busca por Termo (Texto Livre)

{
  "tool": "term_search",
  "arguments": {
    "term": "padarias em SP Tatuapé",
    "uf": "SP",
    "pagina": 1,
    "limite": 100
  }
}

Dica: use term para linguagem natural; combine com uf, municipio, bairro para acelerar e refinar.

5. Busca Avançada (Filtros Estruturados)

{
  "tool": "cnpj_advanced_search",
  "arguments": {
    "razao_social": "*padaria*",
    "uf": "SP",
    "municipio": "São Paulo",
    "bairro": "Tatuapé",
    "situacao_cadastral": "2",
    "pagina": 1,
    "limite": 100
  }
}

🔍 Parâmetros Disponíveis

cnpj_public_lookup

  • cnpj (obrigatório): CNPJ da empresa (com ou sem formatação)

cnpj_detailed_lookup

  • cnpj (obrigatório): CNPJ da empresa (com ou sem formatação)

cnpj_bulk_lookup

  • cnpjs (obrigatório): Lista de CNPJs
  • state (opcional): Filtrar por estado (UF)
  • active (opcional): Filtrar apenas empresas ativas (true/false)
  • name (opcional): Nome da empresa ou parte do nome
  • activity (opcional): Atividade principal da empresa
  • state (opcional): Estado (UF)
  • city (opcional): Cidade
  • registration_status (opcional): Status do registro (ATIVA, BAIXADA, etc.)
  • page (opcional): Página dos resultados (padrão: 1)
  • per_page (opcional): Resultados por página (máximo: 50)

💰 Custos da API

  • Consulta Pública: Gratuita e ilimitada
  • Consulta Detalhada: 1 crédito por consulta bem-sucedida
  • Busca em Lote: 1 crédito por 20 CNPJs
  • Busca Avançada: 2 créditos por busca

🚨 Solução de Problemas

Erro: "spawn uvx ENOENT"

O Claude Desktop não encontra o uvx. Soluções:

1. Encontre o caminho do uvx:

which uvx

2. Use o caminho completo na configuração:

{
  "command": "/caminho/completo/para/uvx",
  "args": ["buscador-de-cnpj"]
}

3. Se o uvx não estiver instalado:

# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

4. Ou use a Opção B com pip install

Erro: "spawn buscador-de-cnpj ENOENT"

O pacote não está instalado globalmente. Execute:

pip install buscador-de-cnpj

Erro: "API key required"

Para funcionalidades premium:

  1. Defina a variável de ambiente: export CNPJ_API_KEY="sua_key"
  2. Ou configure no arquivo de configuração do Claude Desktop
  3. Obtenha uma API key em: https://buscadordecnpj.com

Erro: "Unknown tool"

Verifique se:

  1. O Claude Desktop foi reiniciado após a configuração
  2. A configuração JSON está correta (sem erros de sintaxe)
  3. O nome do servidor está correto: "cnpj-search"

Servidor não conecta

Confirme que:

  1. Python 3.11+ está instalado
  2. O pacote foi instalado corretamente
  3. Não há conflitos de dependências

🔍 Debugging

Para testar o servidor MCP localmente, use o MCP Inspector:

Com uvx

npx @modelcontextprotocol/inspector uvx buscador-de-cnpj

Com pip install

npx @modelcontextprotocol/inspector buscador-de-cnpj

Isso abrirá uma interface web onde você pode testar as ferramentas do MCP server diretamente.

📞 Suporte

📄 Licença

Este projeto está licenciado sob a MIT License.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Buscador de CNPJ MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/buscador-de-cnpj)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research