Skip to main content
Glama
AgentData MCP Server

AgentData MCP Server

by speteai

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.

MCP Registry x402 v2 License: MIT

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.

Related MCP server: Alien Plugg x402 MCP Server

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

$0.010

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_perp_funding

$0.002

Perpetual funding and borrowing rates on GMX v2 (Arbitrum) read from the protocol contracts ($0.002 USDC): open interest per side, which side pays, net rate per hour and per year. Use to compare the cost of holding a long or a short.

get_wallet_profile

$0.010

Profile of one wallet on Base from the chain ($0.010 USDC): account type and Basename, first and last transaction, holdings of the main Base tokens, 7 days of USDC flows and top counterparties, x402 payments, sanctions lists, lending health. Use before trusting, paying or following a wallet. No profit and loss, no labels.

check_x402_payee

$0.005

Check an x402 recipient before paying it ($0.005 USDC): sanctions lists and USDC block list, wallet or contract, and its gasless USDC payment history on Base over 30 days. Use before paying a service you do not know, with the payTo address of its 402 reply.

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.

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.

Available Tools

16 tools
get_arbitrage_opportunitiesAInspect

Get cross-exchange arbitrage opportunities between MEXC, Binance, Bybit, OKX. Costs $0.003 USDC.

Inputs: no named parameters.

get_base_activityAInspect

Get Base Mainnet network activity: TPS, block stats, gas utilization. Costs $0.002 USDC.

Inputs: no named parameters.

get_correlationAInspect

Get 30-day price correlation matrix (ETH/BTC, SOL/BTC, SOL/ETH). Costs $0.001 USDC.

Inputs: no named parameters.

get_crypto_pricesAInspect

Get real-time prices for BTC, ETH, SOL, BNB, XRP. Costs $0.001 USDC.

Inputs: no named parameters.

get_defi_yieldsAInspect

Get top DeFi yield opportunities from Aave, Compound, Morpho, Pendle (via DefiLlama). Costs $0.002 USDC.

Inputs: no named parameters.

get_dex_vs_cexAInspect

Get DEX aggregated prices vs CEX prices with spread analysis for BTC/ETH/SOL. Costs $0.003 USDC.

Inputs: no named parameters.

get_funding_ratesAInspect

Get perpetual futures funding rates for BTC/ETH/SOL with long/short signals. Costs $0.001 USDC.

Inputs: no named parameters.

get_gas_pricesAInspect

Get current gas prices for Base, Ethereum, Solana with USD cost estimation. Costs $0.001 USDC.

Inputs: no named parameters.

get_historicalAInspect

Get historical OHLCV candles for backtesting. Costs $0.005 USDC.

Inputs: limit, symbol, interval.

get_liquidation_levelsAInspect

Get estimated liquidation zones by leverage (5x/10x/20x) for BTC/ETH/SOL. Costs $0.002 USDC.

Inputs: no named parameters.

get_market_overviewAInspect

Get full market overview with sentiment bias, arbitrage detection, funding yield. Costs $0.002 USDC.

Inputs: no named parameters.

get_sentimentAInspect

Get composite market sentiment: Fear & Greed Index + Funding-based + composite score. Costs $0.001 USDC.

Inputs: no named parameters.

get_stablecoin_healthAInspect

Get stablecoin peg monitoring (USDC, DAI live depeg check) + top 10 stablecoins by market cap. Costs $0.001 USDC.

Inputs: no named parameters.

get_support_resistanceAInspect

Get support & resistance levels via fractal analysis on 4h timeframe. Costs $0.003 USDC.

Inputs: symbol.

get_technical_indicatorsAInspect

Get RSI, MACD, Bollinger Bands, ATR for a symbol/interval. Costs $0.002 USDC.

Inputs: symbol, interval.

get_volatilityAInspect

Get 24h volatility, range, and annualized volatility for BTC/ETH/SOL. Costs $0.001 USDC.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools are clearly distinct, targeting specific data types. However, get_market_overview overlaps with get_sentiment, get_funding_rates, and get_arbitrage_opportunities, which could confuse agents looking for specific metrics. The descriptions help clarify that market_overview is a summary, but the overlap is notable.

    Naming Consistency5/5

    All 16 tools follow the consistent 'get_' prefix with descriptive snake_case names like get_crypto_prices, get_funding_rates, and get_technical_indicators. The pattern is perfectly uniform across the entire toolset.

    Tool Count4/5

    The server has 16 tools, which is just slightly above the typical 3-15 well-scoped range. Each tool serves a distinct data category, so the count feels justified, but the market_overview tool could arguably be consolidated to reduce redundancy.

    Completeness5/5

    The toolset covers a comprehensive range of crypto market data: prices, funding, volatility, correlation, liquidations, gas, network activity, yields, arbitrage, DEX/CEX spreads, technical indicators, support/resistance, sentiment, stablecoin health, and historical data. There are no obvious missing operations that would impede typical usage for a read-only data provider.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      22 MCP tools for AI agents: crypto prices and trading signals (53 coins), stock prices and company financials, forex rates and conversion, and web scraping with AI summaries. All powered by x402 USDC micropayments on Base. $0.01-$0.25 per request.
      22
      19 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP server that aggregates x402 crypto services as tools for AI agents, providing prices, sentiment, funding rates, and technical indicators with x402 pay-per-call on Base.
      6
      1,535 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to fetch crypto market and on-chain data, including prices across venues, token facts, OHLC candles, market overview, DeFi TVL, and wallet balances, with two free tools and the rest paid per call in USDC on Base via x402.
      8
      MIT