AgentData MCP Server
Provides 16 crypto market data tools for MCP-compatible AI clients with x402/USDC micropayments on Base Mainnet.
README
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.
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
| Tool | Price | Use case |
|---|---|---|
get_crypto_prices |
$0.001 | Real-time BTC/ETH/SOL/BNB/XRP prices |
get_funding_rates |
$0.001 | Perp funding with long/short bias |
get_market_overview |
$0.002 | Full market sentiment + arb signals |
get_volatility |
$0.001 | 24h vol, range, annualized |
get_liquidation_levels |
$0.002 | Leverage-based liq zones |
get_correlation |
$0.001 | 30-day correlation matrix |
get_gas_prices |
$0.001 | Multi-chain gas (Base/ETH/SOL) |
get_base_activity |
$0.002 | Base network TPS + blocks |
get_defi_yields |
$0.002 | Top yields from DefiLlama |
get_arbitrage_opportunities |
$0.003 | Cross-exchange spreads |
get_dex_vs_cex |
$0.003 | DEX vs CEX price comparison |
get_technical_indicators |
$0.002 | RSI, MACD, BB, ATR |
get_support_resistance |
$0.003 | S/R via fractal analysis |
get_sentiment |
$0.001 | Fear & Greed + composite |
get_stablecoin_health |
$0.001 | USDC/DAI peg monitoring |
get_historical |
$0.005 | OHLCV for backtesting |
Environment Variables
| Variable | Default | Description |
|---|---|---|
AGENTDATA_BUYER_PRIVATE_KEY |
— | Wallet for auto-pay (optional) |
AGENTDATA_BASE_URL |
https://agentdata-api.com |
Override 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
- agentdata-api — the underlying service
- elizaos-plugin-agentdata — ElizaOS plugin version
- Live service: https://agentdata-api.com
- Admin dashboard: https://agentdata-api.com/admin
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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。