mcpField
B
Brazilayer: Brazilian Public Data

Brazilayer: Brazilian Public Data

Local
brazilayer.comBusiness & Marketing0Updated 4w ago

About Brazilayer: Brazilian Public Data

Brazilayer's pedagio-mcp exposes Brazilian CNPJ company data and free trust checks as MCP tools. Paid API calls use x402 with USDC on Base from a configured wallet.

Key features

  1. 01Query company registry records
  2. 02List company partners
  3. 03Search companies and partners
  4. 04Retrieve a sample record
  5. 05Check service, skill, and agent trust
  6. 06Pay API requests with USDC on Base

Use cases

  1. 01Look up a Brazilian company's registry data
  2. 02Search companies by partner or query
  3. 03Check trust ratings before paying or delegating

MCP support

The server exposes CNPJ queries and trust checks to MCP clients as tools. Paid data tools call the public API and use x402 to settle with USDC on Base via the configured wallet.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository
Packages
mcpbbrazilayer-mcp.mcpb

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.