Skip to main content
Glama

Global + LATAM AI & x402 API Suite — 10 APIs Serverless para Agentes de IA (x402 + MCP)

English (README.en.md) | Español (README.es.md) | Gateway Unificado (api.brunopompeo.com.br) | Guia B2B (PIX / API Key) | Catálogo JSON | llms.txt

Conjunto de 10 APIs serverless em produção na borda Cloudflare (10–30 ms na América Latina), projetadas para agentes autônomos de IA, fintechs, escritórios de contabilidade, ERPs e automações (n8n / LangChain / Make).

  • Gateway Unificado + 10 Subdomínios Próprios: Acesse tudo em https://api.brunopompeo.com.br ou diretamente em cada subdomínio dedicado (*.brunopompeo.com.br).

  • Liquidação nativa x402 v2 na rede Base (USDC): Zero cadastro, zero assinatura mensal — compatível com Coinbase CDP Facilitator (e fallback automático PayAI), listada em x402-list.com, 402 Index, PayAPI Market, x402scan.com, Wafermap, Glama Connectors e Official MCP Registry.

  • Servidor MCP Unificado em 1 comando: Conecte todas as 10 ferramentas no Claude Desktop, Cursor, VS Code ou Windsurf via npx -y github:brunopompeo1/brazil-ai-fiscal-apis-x402.

  • Amostra gratuita em cada API: Chame GET /sample em qualquer serviço para inspecionar o payload real sem custo antes de pagar.


Global High-Volume Agent Tools (3 APIs)

Serviço

O que resolve na prática

Endpoint Pago (x402)

Preço (Base USDC)

Amostra Grátis

1. Agent Guard Firewall

Detecta prompt injection (Llama Guard 3 + heurística + Base64) e mascara dados sensíveis (CPF, CNPJ, chaves, e-mails) antes do LLM

POST https://guard.brunopompeo.com.br/guard

$0.008

/sample

2. Web Enrichment

Converte qualquer página HTML pesada em Markdown limpo, tabelas JSON e JSON-LD com até 85% de economia de tokens

GET https://web.brunopompeo.com.br/clean?url=https://example.com&format=json

$0.002

/sample

3. Agent Email

Gateway transacional pay-per-call sem mensalidade SaaS: compila Markdown em HTML responsivo com modo dryRun

POST https://email.brunopompeo.com.br/send

$0.005

/sample

Related MCP server: Brazilayer MCP Server

LATAM & Brazil Fintech / Fiscal Suite (7 APIs)

Serviço

O que resolve na prática

Endpoint Pago (x402)

Preço (Base USDC)

Amostra Grátis

4. LATAM Business & FX (NOVO v2.5)

Valida e decodifica documentos fiscais/bancários de 7 países (MX RFC/CURP/CLABE, AR CUIT/CUIL/CBU, CL RUT/RUN, CO NIT, PE RUC, UY RUT, BR CPF/CNPJ) em lote + câmbio LATAM em tempo real (MXN/ARS/CLP/COP/PEN/UYU/BRL/USD/EUR)

POST https://latam.brunopompeo.com.br/latam

$0.008

/sample

5. Auditor XML NF-e & Crédito CBS/IBS (v2.6)

Comprime XML SEFAZ 4.00 (~90% menos tokens), audita crédito tributário CBS/IBS (Compras & Frota, lote xmls[] até 25) na Base RFB V0073, calcula R$ em risco e gera supplierAlert pronto para cobrar o fornecedor

POST https://nfe.brunopompeo.com.br/audit

$0.010

/sample

6. Calculadora RTC Oficial RFB (V0073) & DANFSe (v2.6)

Sem servidor Java 21/Spring Boot: 170 cClassTrib oficiais, reduções automáticas (Construção 50%, Saúde/Educação 60%, Cesta Básica 100%), Simples Nacional, transição 2026–2033 e DANFSe

POST https://danfse.brunopompeo.com.br/generate

$0.005

/sample / /tables

7. Leitor de Boletos & Guias BR

Valida e decodifica Boletos FEBRABAN (47/44 dígitos, fator pós-22/02/2025), guias DARF/FGTS/IPTU (48 dígitos) e chaves NF-e

POST https://docs.brunopompeo.com.br/parse

$0.008

/sample

8. Motor Tributário & Folha BR

Calcula Simples Nacional (Anexos I–V + otimização Fator R 28%), INSS/IRRF + FGTS e retenções B2B de NFS-e

POST https://tax.brunopompeo.com.br/calc

$0.008

/sample

9. Business Intel CNPJ & PIX

Dossiê completo de CNPJ (QSA, Simples/MEI, score de risco B2B), Geo-CEP IBGE, validador CPF/CNPJ e PIX EMVCo CRC16

POST https://intel.brunopompeo.com.br/intel

$0.010

/sample

10. Calculadoras Banco Central

Correção monetária oficial (IPCA, IGP-M, INPC, Selic, CDI via SGS), câmbio PTAX oficial (BRL/USD/EUR/GBP) e simulador Price/SAC

POST https://fin.brunopompeo.com.br/fin

$0.005

/sample


Receita Pronta: 4 Agentes da Reforma Tributária (Zero Servidor Java)

  • Guia Copy-Paste Completo (Compras, Medição/Construção 50%, Frota em Lote e Faturamento XML→DANFSe→E-mail): docs/RECEITA_4_AGENTES_REFORMA_TRIBUTARIA.md

  • Script Executável: node examples/rtc-4-agents-workflow.mjs (funciona grátis via /tables e /sample, ou ao vivo com B2B_API_KEY / x402)


Kit "Copie e Cole" para Produção (examples/)


Como usar agora mesmo

Descobrir não executa uma ferramenta paga. Sem credenciais, o conector inicia em discovery_only: lista todas as ferramentas, mas chamadas reais retornam HTTP 402. Configure localmente X402_PRIVATE_KEY (carteira com USDC na Base) ou BRAZIL_AI_API_KEY (plano B2B).

1. Servidor MCP Unificado (Claude Desktop, Cursor, VS Code, Windsurf)

Cole no seu claude_desktop_config.json ou .cursor/mcp.json:

{
  "mcpServers": {
    "latam-brazil-ai-x402": {
      "command": "npx",
      "args": ["-y", "github:brunopompeo1/brazil-ai-fiscal-apis-x402"],
      "env": {
        "X402_PRIVATE_KEY": "",
        "X402_MAX_USDC_PER_CALL": "0.05"
      }
    }
  }
}

2. Teste rápido via curl

# Amostra gratuita da API LATAM (MX, AR, CL, CO, PE, UY, BR + FX)
curl -s https://latam.brunopompeo.com.br/sample

# Handshake x402 v2 no Gateway Unificado (retorna HTTP 402 com PAYMENT-REQUIRED)
curl -i -X POST https://api.brunopompeo.com.br/latam \
  -H "Content-Type: application/json" \
  -d '{"rfc":"XAXX010101000","cuit":"30-50001091-2","ruc":"20131312955","fx":{"amount":100,"from":"USD","to":["MXN","ARS","BRL"]}}'

3. Planos B2B para Empresas e Escritórios (PIX / API Key)

Prefere pagar mensalidade fixa em Reais via PIX com API Key dedicada (X-API-Key) sem carteira cripto? Confira docs/GUIA_EMPRESAS_B2B.md.


Descoberta Automática para Agentes

Available Tools

8 tools
agent_guard_sanitizeBInspect

Hybrid Edge AI firewall (@cf/meta/llama-guard-3-8b + multi-language regex + Base64 decoder) that detects prompt injection and masks corporate PII/secrets ($0.020 USDC via x402 on Base).

Inputs: text (required), maskPii, deepScan.

brazil_ai_suite_statusAInspect

FREE: Lists all 7 Brazil AI & x402 Suite microservices, live USDC prices on Base, endpoints, and current MCP client payment mode (x402 wallet, B2B API Key, or discovery-only).

Inputs: no named parameters.

br_business_intelBInspect

Brazilian Corporate CNPJ KYB Dossier (QSA partners, Simples/MEI, B2B Risk Score), IBGE Geo-CEP lookup, CPF/CNPJ Mod-11 validator, and Central Bank PIX BRCode (EMVCo + CRC16) generator/decoder ($0.010 USDC via x402 on Base).

Inputs: cep, cnpj, aiSummary, pixDecode, +2 more.

br_docs_parserBInspect

Brazilian FEBRABAN Bank Boleto (47/44), Tax/Utility Slip DARF/FGTS/IPTU (48/44), and NF-e Access Key (44) validator & decoder with post-2025 due date engine ($0.008 USDC via x402 on Base).

Inputs: code (required), aiSummary, documentType.

br_fin_calculatorsBInspect

Official Central Bank of Brazil (BCB) IPCA/IGPM/Selic/CDI monetary correction, PTAX currency conversion, and Price/SAC loan simulator ($0.005 USDC via x402 on Base).

Inputs: loan, ptax, aiSummary, correction.

br_nfe_xml_auditorBInspect

Brazilian NF-e/NFC-e XML-to-JSON compressor (~90% token savings), mathematical & CFOP tax auditor, and 44-digit Access Key Mod-11 decoder ($0.010 USDC via x402 on Base).

Inputs: xml, accessKey, aiSummary, includeItems.

br_tax_payroll_calcAInspect

Deterministic Brazilian tax & payroll calculator: Simples Nacional (Anexos I-V + Fator R), progressive INSS/IRRF, FGTS, and B2B NFS-e withholdings ($0.008 USDC via x402 on Base).

Inputs: payroll, simples, aiSummary, nfseRetention.

web_enrichment_cleanBInspect

Scrapes any URL at the Cloudflare Edge and returns clean Markdown, structured HTML tables as JSON, Schema.org JSON-LD, and token compression metrics ($0.002 USDC via x402 on Base).

Inputs: url (required), format.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 8 tools

    Disambiguation4/5

    Each tool targets a different domain (status, NF-e XML, documents/boleto, web scraping, payroll tax, KYB/PIX, BCB financial math, security sanitization), so most selections are obvious. However, the 44-digit NF-e access key decoder appears in both br_nfe_xml_auditor and br_docs_parser, and CPF/CNPJ Mod-11 validation lives in br_business_intel while similar document validation lives in br_docs_parser, creating a few boundary collisions.

    Naming Consistency3/5

    Six tools share a 'br_' domain prefix but the suffixes mix verb and noun forms (_auditor, _parser, _calc, _calculators, _sanitize, _clean), and three tools break the prefix pattern entirely (brazil_ai_suite_status, web_enrichment_clean, agent_guard_sanitize). The set is still readable and roughly domain-clustered, but there is no single predictable pattern.

    Tool Count5/5

    Eight tools map cleanly onto the advertised seven microservices plus a status/discovery endpoint. Nothing is redundant padding and nothing essential appears merged away; the scope is compact and each tool earns its place.

    Completeness4/5

    The suite covers the main Brazilian business/finance surface—document parsing and validation, NF-e auditing, tax/payroll, credit-risk KYB, PIX generation/decoding, BCB indices, and edge scraping/security. Minor gaps remain (PIX decoding is bundled rather than explicit, no PDF/image document OCR, no standalone CEP or CPF utilities), but agents can reach these through existing tools.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Connects AI agents to Brazilian tax compliance data (CNPJ, CPF, NFe, SPED, eSocial) and provides tools for due diligence, risk scoring, and tax regime comparison.
      44
      279 PyPI
      437
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that exposes Brazilian tax infrastructure as tools, resources, and prompts, enabling AI agents to emit and manage fiscal documents (NF-e, NFC-e, NFS-e, CT-e, MDF-e, DC-e) through natural language.
      -
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI assistants and automation tools to query and analyze Brazilian fiscal data, including CNPJ, Simples Nacional, NF-e, NFS-e, SPED, eSocial, tax regime comparison, and supplier risk assessment without requiring API keys.
      44
      MIT