Back to Browse

Mcp MCP Server

Developer ToolsModerate7.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Brazilian company registry (CNPJ), sanctions, funds & market data for AI agents, paid via x402.

About

Brazilian company registry (CNPJ), sanctions, funds & market data for AI agents, paid via x402.

Security Report

7.2
Moderate7.2Low Risk

A well-structured MCP server for Brazilian financial/commodity data with proper authentication via x402 payment protocol. Private keys are correctly managed via environment variables (not hardcoded), and all user inputs are validated with Zod schemas and URL-encoded before API calls. The server acts as a thin client with no direct database access or dangerous operations. Minor code quality observations around error handling breadth do not materially impact security posture. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity).

3 files analyzed · 4 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Private key (0x…) of the wallet that pays for calls (USDC on Base). Optional: without it, only the free sample tools work.Required

Environment variable: BRAZILAYER_PRIVATE_KEY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-brazilayer-mcp": {
      "env": {
        "BRAZILAYER_PRIVATE_KEY": "your-brazilayer-private-key-here"
      },
      "args": [
        "-y",
        "pedagio-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

pedagio-mcp: servidor MCP

Distribuição pública: este servidor é publicado em github.com/brazilayer/mcp (instalação para usuários finais lá). Esta pasta é a fonte interna; alterações aqui devem ser espelhadas no repo público.

Cliente fino da API pública do pedagio (SPEC §8): expõe os dados de CNPJ como ferramentas MCP pagáveis via x402. Sem acesso direto ao banco: cada ferramenta chama a API HTTP e paga com USDC (rede Base) usando a carteira configurada.

Ferramentas

FerramentaEndpointPreço
cnpj_consultar_empresaGET /v1/cnpj/empresa/{cnpj}US$ 0.005
cnpj_listar_sociosGET /v1/cnpj/empresa/{cnpj}/sociosUS$ 0.005
cnpj_consultar_empresa_completoGET /v1/cnpj/empresa/{cnpj}/completoUS$ 0.01
cnpj_buscar_empresasGET /v1/cnpj/buscaUS$ 0.01
cnpj_buscar_por_socioGET /v1/cnpj/socio/buscaUS$ 0.02
cnpj_obter_amostraGET /v1/cnpj/amostragrátis
trust_checkTrust rating of any x402 service before paying it (Agent Economy Report, free)free
skill_checkTrust rating of any agent skill before installing it (Agent Economy Report, free)free
conduct_checkConduct rating of any AI agent or framework before delegating to it (Agent Economy Report arena, free)free

Instalação (Claude Code)

git clone https://github.com/aladaf/pedagio && cd pedagio/mcp && npm install
claude mcp add pedagio -e BRAZILAYER_PRIVATE_KEY=0xSUACHAVE -- npx tsx /caminho/para/pedagio/mcp/servidor.ts

Instalação (Claude Desktop / Cursor)

{
  "mcpServers": {
    "pedagio": {
      "command": "npx",
      "args": ["tsx", "/caminho/para/pedagio/mcp/servidor.ts"],
      "env": {
        "BRAZILAYER_PRIVATE_KEY": "0xCHAVE_DA_CARTEIRA_QUE_PAGA"
      }
    }
  }
}

Variáveis

  • BRAZILAYER_API_URL: default https://api.brazilayer.com
  • BRAZILAYER_PRIVATE_KEY: chave privada (0x…) da carteira que paga as chamadas (precisa de USDC na rede Base; na testnet, USDC de faucet na Base Sepolia). Sem ela, apenas cnpj_obter_amostra funciona; as demais explicam o 402.

⚠️ A chave configurada aqui assina pagamentos reais. Use uma carteira dedicada com saldo pequeno.

Escolha da integração x402↔MCP (SPEC §8)

Avaliado em 2026-07-20: adotados os pacotes oficiais @x402/fetch + @x402/evm (v2.19), que envelopam o fetch com o fluxo 402→assinatura→retry, e o servidor MCP usa esse fetch pagante em cada ferramenta. Alternativas de bridge MCP de terceiros foram descartadas por serem menos mantidas que o SDK oficial.


Building on the agent economy? We publish the Agent Economy Report, a free weekly, data-generated index of the machine-to-machine economy (x402 services, on-chain settlement, MCP and paid-web adoption). One e-mail a week.

Reviews

No reviews yet

Be the first to review this server!