MCP Hub
Back to servers

agentdata-mcp

Crypto market data for AI agents via x402. 16 tools: prices, funding, DeFi yields, arbitrage, TA.

Registry
Updated
Apr 11, 2026

AgentData MCP Server

Model Context Protocol server exposing 16 crypto market data tools for Claude Desktop, Cursor, and any MCP-compatible AI client. Payments via x402 / USDC on Base Mainnet.

npm MCP Registry x402 v2 License: MIT

What this is

A thin MCP wrapper around the AgentData API — a production x402 service on Base Mainnet. Any MCP-compatible LLM can use these 16 tools with no setup beyond adding one line to your client config.

Two modes

Proxy mode (default) — No wallet needed. When a tool is called, the server returns the x402 payment instructions so the MCP client can handle payment however it prefers.

Auto-pay mode — Set AGENTDATA_BUYER_PRIVATE_KEY to a wallet funded with USDC on Base. The server signs ERC-3009 TransferWithAuthorization automatically using viem. Payments are gasless for the buyer — the facilitator covers settlement gas.

Quick Start

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

Option 1: Remote MCP (easiest, no install)

{
  "mcpServers": {
    "agentdata": {
      "url": "https://agentdata-api.com/mcp"
    }
  }
}

Option 2: Local stdio

{
  "mcpServers": {
    "agentdata": {
      "command": "npx",
      "args": ["-y", "agentdata-mcp"],
      "env": {
        "AGENTDATA_BUYER_PRIVATE_KEY": "0xYourWalletKeyHere"
      }
    }
  }
}

Restart Claude Desktop. The tools become available immediately.

Cursor

Settings → MCP → Add Server with the same config as above.

Install from source

git clone https://github.com/speteai/agentdata-mcp.git
cd agentdata-mcp
npm install
node index.js

Available Tools

ToolPriceUse case
get_crypto_prices$0.001Real-time BTC/ETH/SOL/BNB/XRP prices
get_funding_rates$0.001Perp funding with long/short bias
get_market_overview$0.002Full market sentiment + arb signals
get_volatility$0.00124h vol, range, annualized
get_liquidation_levels$0.002Leverage-based liq zones
get_correlation$0.00130-day correlation matrix
get_gas_prices$0.001Multi-chain gas (Base/ETH/SOL)
get_base_activity$0.002Base network TPS + blocks
get_defi_yields$0.002Top yields from DefiLlama
get_arbitrage_opportunities$0.003Cross-exchange spreads
get_dex_vs_cex$0.003DEX vs CEX price comparison
get_technical_indicators$0.002RSI, MACD, BB, ATR
get_support_resistance$0.003S/R via fractal analysis
get_sentiment$0.001Fear & Greed + composite
get_stablecoin_health$0.001USDC/DAI peg monitoring
get_historical$0.005OHLCV for backtesting

Environment Variables

VariableDefaultDescription
AGENTDATA_BUYER_PRIVATE_KEYWallet for auto-pay (optional)
AGENTDATA_BASE_URLhttps://agentdata-api.comOverride API base URL

Cost Economics

For an agent querying all 16 tools once: ~$0.031 USDC. For common queries (prices + sentiment): ~$0.002 USDC per full context update.

Fund your buyer wallet with $5 USDC → good for ~2500 sentiment checks or ~150 full backtesting queries.

No ETH needed on the buyer wallet. The AgentData facilitator pays settlement gas.

Related

Keywords

Model Context Protocol, MCP server, Claude Desktop MCP, Cursor MCP, crypto market data MCP, x402 MCP, AI agent tools, agentic payments, USDC micropayments, Base Mainnet API, DeFi data for AI, crypto tools for LLM, autonomous agent data, agent economy, DeFAI

License

MIT — see LICENSE.

Reviews

No reviews yet

Sign in to write a review