AgentData MCP Server
Model Context Protocol server exposing the live AgentData crypto catalogue to Claude Desktop, Cursor and other MCP clients. Payments use x402 and USDC on Base Mainnet.

What this is
A thin MCP wrapper around the AgentData API, a production x402 service on Base Mainnet. Free tools work through the remote MCP immediately. Paid tools accept a caller-signed payment payload or auto-pay through the local stdio package.
Two modes
Proxy mode (default) — No wallet needed. Free tools return data; paid tools return canonical x402 requirements that a capable client can sign and submit.
Auto-pay mode — Set AGENTDATA_BUYER_PRIVATE_KEY to a wallet funded with USDC on Base. The package signs the exact x402 v2 requirement and retries automatically. It defaults to a 0.05 USDC per-call cap; the facilitator covers settlement gas.
Use a dedicated, low-balance buyer wallet. Never place a treasury or primary personal wallet key in an MCP configuration.
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 (free tools or externally signed payments)
{
"mcpServers": {
"agentdata": {
"url": "https://agentdata-api.com/mcp"
}
}
}
Option 2: Local stdio with auto-pay
{
"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
OpenClaw
A skill for OpenClaw agents lives in skills/agentdata and on ClawHub:
openclaw skills install @speteai/agentdata
It starts with the free samples and the calibration record, and explains how to register this server
with the buyer key referenced from the environment instead of written into the config.
Available Tools
Generated from the package catalogue by npm run sync-docs. npm run check-docs and the
live catalogue comparison both run before publication, so tool counts and prices cannot drift silently.
| Tool |
Price |
What it gives you |
get_memecoin_risk |
$0.005 |
Red-flag check for one memecoin on Solana, Base or Robinhood Chain ($0.005 USDC): real-asset liquidity, pool age; on Solana mint and freeze authority, Token-2022 powers and holders from the chain; on Base and Robinhood Chain honeypot, sell tax, liquidity lock, holders; unknowns reported as unknown. Use when assessing one specific new token. Not a buy or sell signal: most new tokens die within a week whatever the level says, and each response carries that record. |
get_wallet_risk |
$0.005 |
Lending health of one wallet on Base ($0.005 USDC): Aave v3, Compound v3, Moonwell and every Morpho Blue market, read on-chain, with health factor, band and how far collateral may fall before liquidation, weakest first. Use before adding risk to a wallet you manage, or to check a position you are not watching. A snapshot, not a forecast; Fluid, Euler and other chains are not covered. To be woken when it falls, use watch_condition with signal=wallet-health. |
get_crypto_news |
$0.003 |
Recent crypto headlines from The Defiant with links, each item already labelled with assets, sentiment (bullish/bearish/neutral), relevance and category, plus counts per sentiment and asset ($0.003 USDC). Use for questions like what is the news on BTC today, or to scan headlines without reading feeds. Filters: hours (1-72), asset, relevance. Labels say what the news claims, not where the price goes. |
classify_crypto_text |
$0.005 |
Label one crypto text you already have, up to 1,000 characters ($0.005 USDC): assets, sentiment, relevance and category from fixed vocabularies, never free text. Use for a post, message or headline that is not in get_crypto_news. Not for private text: independent GPU operators on AI Power Grid process it in plain text. Not charged when it fails. |
try_sentiment |
free |
FREE SAMPLE, no payment: the Fear & Greed component of market sentiment. Use once to test the connection or for a rough mood reading. Rate-limited to 30 requests/min. The paid get_sentiment returns the same index with yesterday and last week. |
watch_condition |
free |
Leave a condition on a wallet health factor and let this always-on server check it every 5 minutes ($0.010 USDC, up to 168h). Use when you will not be running at the moment it matters. Pass webhook= (signed POST) or ntfy= (push topic) to be woken when it fires; /watch/status?wallet=&token= stays free. For a wallet use signal=wallet-health&subject=&op=below&threshold=1.3. Not for reading a value now. |
get_signal_calibration |
free |
FREE. Track record of every signal here that makes a prediction, scored against a naive baseline: hit rate, error, whether it beats the baseline (beatsBaseRate, beatsNaive), and known weaknesses. Use before relying on any signal as a forecast, or to weight sources against each other. Every claim is recorded before its outcome exists. |
get_tool_pricing |
free |
FREE. The price in USDC of every paid tool here, in one call, and how payment works. Use to plan a budget before a loop of calls. Prices are fixed: the 402 reply to a call is the binding quote, and nothing is charged unless data is delivered. |
get_dex_prices |
$0.002 |
ETH and BTC prices in USDC read on-chain from the deepest Uniswap v3 pool on Base ($0.002 USDC): spot and 30-minute average, pool and USDC depth. Use when you need a price you can verify on Base yourself. Not an exchange price, quoted in USDC. |
get_stablecoin_peg |
$0.002 |
Peg of USDT, DAI and USDbC against USDC from their Uniswap v3 pools on Base ($0.002 USDC): deviation in percent, a flag at 0.5%, thin pools marked. Use before relying on a stablecoin for payment or collateral. Cannot see a depeg of USDC itself. |
get_base_launches |
$0.010 |
New token launches on Base from the factories' creation events, each assessed once with the memecoin checks and kept from $10,000 real-asset liquidity ($0.010 USDC). Use to see what just launched on Base. Not a buy signal: most new tokens die within days. |
get_x402_market |
$0.005 |
The x402 payment market on Base per day, measured from the chain ($0.005 USDC): gasless USDC authorizations, distinct payers, Coinbase facilitator share, median amount, receiver concentration. Use to size or track the agent payment economy. Aggregates only. |
get_gas_prices |
$0.002 |
Gas prices on Base and Ethereum in gwei, plus Solana priority fees ($0.002 USDC). Use before sending a transaction, to estimate its cost or to pick a chain. |
get_base_activity |
$0.003 |
Base network activity: latest block, transactions per second, block gas use ($0.003 USDC). Use to check whether Base is congested before sending. |
get_sentiment |
$0.002 |
Market sentiment: the Crypto Fear & Greed Index by alternative.me with yesterday and last week ($0.002 USDC). Use for the mood of the crowd right now. Not a forecast. |
Every tool carries MCP annotations: the three free tools are readOnlyHint: true; paid tools are deliberately not read-only and not idempotent, because with a buyer key each call pays again. Clients that ask before non-read-only calls will therefore ask before every payment.
Paid answers come with a signed receipt (EIP-191 over the SHA-256 of the answer, bound to the payment authorization's nonce), appended to the tool result; check it free at /receipts/verify or offline against the signer in /.well-known/agentdata-receipts.json. watch_condition can wake an agent by signed webhook or ntfy push, including on a wallet's lending health (signal=wallet-health).
Since 2.0.0 (2026-11-29) the package offers only data whose upstream sources allow reselling it: exchange market data, history tiers and the bundles built on them were withdrawn, and the hosted endpoints answer 410. Run npm run check-catalogue before publishing to compare this package with the live service.
Environment Variables
| Variable |
Default |
Description |
AGENTDATA_BUYER_PRIVATE_KEY |
— |
Wallet for auto-pay (optional) |
AGENTDATA_MAX_PAYMENT_USDC |
0.05 |
Hard per-call auto-pay cap |
AGENTDATA_SESSION_BUDGET_USDC |
1.00 |
Total auto-pay spend per process |
AGENTDATA_BASE_URL |
https://agentdata-api.com |
Override API base URL |
The per-call cap is not a spending limit on its own — an agent in a loop pays it
on every iteration. AGENTDATA_SESSION_BUDGET_USDC is the limit that actually
stops: once the process has spent it, further paid calls fail with an error
instead of signing another authorization. Refused settlements cost nothing and
do not count against it.
Cost Economics
The free calibration tool should be read before paying for an assessment.
Fund your buyer wallet with $5 USDC and it covers roughly 1,000 memecoin or wallet risk checks, or 2,500 sentiment checks.
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
Provider and terms
AgentData API is a product of IT-Dienstleistungen Falco Naumann, Nesselwang, Germany. It is offered to
businesses and developers, not to consumers, and returns descriptive market data — not investment advice.
License
MIT — see LICENSE.