convez.ai
MCP ServerIntegração & APIsIntermediário
thebrierfox

x402-toolkit

thebrierfox/x402-toolkit

210+ data tools com pagamento automático em USDC, zero config

Ver no GitHub
InicialPluginScore · de 0 a 100

Cliente MCP server para pagamentos x402 sem configuração prévia, integrando 210+ ferramentas de dados (cotações, análise on-chain, pesquisa, clima) com micropagamentos automáticos em USDC na Base. Funciona direto com Claude Code e Cursor, sem necessidade de chaves de API individuais.

Instalação

$npx convez-ai thebrierfox/x402-toolkit

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
28%
Último commit
há 1 mês
Versão
—
Issues abertas
2
Contribuidores
1

Casos de uso

  • Agentes IA consultarem dados de mercado (ações, cripto, commodities) com pagamento automático
  • Análise on-chain e DeFi em tempo real sem gerenciar múltiplas APIs
  • Pesquisa e inteligência de mercado (arXiv, processos judiciais, dados econômicos) sob demanda

Veredito

Solução inovadora que remove fricção de integração de múltiplas APIs de dados ao abstrair autenticação e pagamento. Ideal para agentes IA que precisam acesso versátil a dados financeiros e mercado; exige compreensão de wallets blockchain e contratos x402, mas simplifica significativamente o stack técnico.

README

A tradução para o português deste README ainda está na fila.

x402-toolkit

Zero-config x402 payment client for AI agents. 210+ data tools — market data, chain analytics, research, weather — all paid automatically in USDC on Base. No API keys.

npx -y x402-toolkit        # start MCP server (exposes all tools to Claude Code, Cursor, etc.)
npm install x402-toolkit   # or use programmatically

Quick Start

export X402_PRIVATE_KEY=0x...your_base_wallet_private_key...
npx -y x402-toolkit

Add to Claude Code:

{
  "mcpServers": {
    "x402-toolkit": {
      "command": "npx",
      "args": ["-y", "x402-toolkit"],
      "env": { "X402_PRIVATE_KEY": "0x..." }
    }
  }
}

$5 USDC covers 280–5,000 data calls. Each call runs against the best available x402 endpoint — pre-wired, no configuration.

Tools

CategoryFunctionsPrice
US EquitiesgetStockPrice, getOptionsChain, getGEX, getInsiderTrades, getAnalystRatings$0.001–$0.015/call
Crypto & DeFigetCryptoPulse, getDeFiYields, getKimchiPremium$0.003–$0.008/call
Prediction MarketsgetPolymarket, getPolymarketWhales$0.004–$0.007/call
Company IntelgetCompanyDueDiligence, getSecFilings$0.008–$0.012/call
Chain AnalyticsgetWalletBalance, getChainPulse, getEVMLogs$0.003–$0.005/call
ResearchsearchArxiv, getClinicalTrials, searchLegal$0.004–$0.008/call
Weather / TravelgetWeather, getAirQuality, getFlightTracker$0.005–$0.007/call
Web IntelligencescrapeContent, getWhois$0.003–$0.006/call
MacrogetMacroIndicators, getTreasuryYields, getFOMC$0.003–$0.005/call
SentimentgetNewsSentiment, getMarketOverview, getCommodityFutures$0.003–$0.005/call
ForexgetForexRates$0.003/call

Default provider: the-stall.intuitek.ai — override with X402_BASE_URL.

Wallet Setup

npx x402-toolkit wallet    # print your wallet address + funding instructions

Or use a CDP-managed wallet:

export CDP_API_KEY_NAME=...
export CDP_API_KEY_PRIVATE_KEY=...

CDP path auto-creates a wallet on first run. No private key management.

Programmatic Use

import { getStockPrice, getMarketOverview } from "x402-toolkit";

// X402_PRIVATE_KEY must be set in env
const price = await getStockPrice("AAPL");
const market = await getMarketOverview();

Weekly Watch Templates

Templates create recurring paid jobs:

import { createPriceAlert, createMarketRegimeMonitor } from "x402-toolkit/templates";

// Fire daily at 9am if AAPL drops below $180
createPriceAlert({
  ticker: "AAPL",
  threshold: { below: 180 },
  schedule: "0 9 * * 1-5",
  notify: process.env.NOTIFY_WEBHOOK,
});

// Weekly market regime digest every Monday 7am
createMarketRegimeMonitor({
  schedule: "0 7 * * 1",
  notify: process.env.NOTIFY_WEBHOOK,
});

Override Defaults

Point to any x402-compatible endpoint:

export X402_BASE_URL=https://your-x402-provider.example.com/cap

License

MIT

Ver o original no GitHub

Bom para

Relacionados