Skip to main content
ClaudeWave

MCP server for Brazilian public data (company registry + sanctions) — paid per call via x402, no API keys

MCP ServersOfficial Registry0 stars0 forksTypeScriptMITUpdated today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 9/13/2026
Install in Claude Code / Claude Desktop
Method: NPX · tsx
Claude Code CLI
claude mcp add mcp -- npx -y tsx
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": ["-y", "tsx"],
      "env": {
        "BRAZILAYER_PRIVATE_KEY": "<brazilayer_private_key>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Detected environment variables
BRAZILAYER_PRIVATE_KEY
Use cases

MCP Servers overview

# pedagio-mcp — servidor MCP

> **Distribuição pública:** este servidor é publicado em **[github.com/brazilayer/mcp](https://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

| Ferramenta | Endpoint | Preço |
|------------|----------|-------|
| `cnpj_consultar_empresa` | `GET /v1/cnpj/empresa/{cnpj}` | US$ 0.005 |
| `cnpj_listar_socios` | `GET /v1/cnpj/empresa/{cnpj}/socios` | US$ 0.005 |
| `cnpj_consultar_empresa_completo` | `GET /v1/cnpj/empresa/{cnpj}/completo` | US$ 0.01 |
| `cnpj_buscar_empresas` | `GET /v1/cnpj/busca` | US$ 0.01 |
| `cnpj_buscar_por_socio` | `GET /v1/cnpj/socio/busca` | US$ 0.02 |
| `cnpj_obter_amostra` | `GET /v1/cnpj/amostra` | grátis |
| `trust_check` | Trust rating of any x402 service before paying it (Agent Economy Report, free) | free |
| `skill_check` | Trust rating of any agent skill before installing it (Agent Economy Report, free) | free |
| `conduct_check` | Conduct rating of any AI agent or framework before delegating to it (Agent Economy Report arena, free) | free |

## Instalação (Claude Code)

```bash
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)

```json
{
  "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 — 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](https://agenteconomy.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.
brazilcnpjmcpsanctionsx402

What people ask about mcp

What is brazilayer/mcp?

+

brazilayer/mcp is mcp servers for the Claude AI ecosystem. MCP server for Brazilian public data (company registry + sanctions) — paid per call via x402, no API keys It has 0 GitHub stars and its last recorded update is dated 2026-09-12.

How do I install mcp?

+

You can install mcp by cloning the repository (https://github.com/brazilayer/mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is brazilayer/mcp safe to use?

+

Our security agent has analyzed brazilayer/mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains brazilayer/mcp?

+

brazilayer/mcp is maintained by brazilayer. The last recorded GitHub activity is dated 2026-09-12, with 1 open issues.

Are there alternatives to mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: brazilayer/mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/brazilayer-mcp)](https://claudewave.com/repo/brazilayer-mcp)
<a href="https://claudewave.com/repo/brazilayer-mcp"><img src="https://claudewave.com/api/badge/brazilayer-mcp" alt="Featured on ClaudeWave: brazilayer/mcp" width="320" height="64" /></a>

More MCP Servers

mcp alternatives