agent-data-api

v1.0.1
io.github.Ptrgit1/agent-data-api Checked 1 day ago Published 4 months ago

19 pay-per-call data tools for AI agents: crypto/DeFi, web, PDF, FX, weather, DNS.

MCP server exposing 18 pay-per-call data tools + 1 free tool for AI agents: crypto & DeFi market data (cross-exchange funding rates, market-regime signal, TVL, yields, stablecoin pegs), web extraction (clean text, Markdown, metadata), PDF-to-text, RSS/Atom parsing, FX rates, crypto prices, weather, DNS and email validation. Payments use the x402 protocol — USDC on Base, per-call, no API keys, no accounts, no subscriptions. Then ask your agent to try the free tool:

Summary extracted from the README.

Agent Data API — MCP Server

MCP server exposing 18 pay-per-call data tools + 1 free tool for AI agents: crypto & DeFi market data (cross-exchange funding rates, market-regime signal, TVL, yields, stablecoin pegs), web extraction (clean text, Markdown, metadata), PDF-to-text, RSS/Atom parsing, FX rates, crypto prices, weather, DNS and email validation.

Payments use the x402 protocol — USDC on Base, per-call, no API keys, no accounts, no subscriptions.

Quick start (Claude Desktop / Cursor / any MCP client)

{
  "mcpServers": {
    "agent-data-api": {
      "command": "npx",
      "args": ["-y", "agent-data-api-mcp"]
    }
  }
}

Then ask your agent to try the free tool:

"Use crypto_fear_greed to check crypto market sentiment."

Tools

Tool Price (USDC)
crypto_fear_greed FREE
crypto_funding_rates — Binance/Bybit/OKX perp funding + crowding bias $0.01
crypto_market_regime — trend/chop/vol regime from 200×4h candles $0.02
defi_tvl — protocol / chain / top-20 TVL $0.005
defi_yields — top pools, min $1M TVL, APY breakdown $0.01
defi_stablecoins — top 20 with live peg deviation $0.005
web_extract / web_markdown / web_metadata $0.005–0.01
pdf_to_text $0.005
parse_feed $0.005
fx_rates / crypto_prices / weather $0.005
dns_lookup / validate_email $0.005
za_public_holidays / za_tax_tables $0.005–0.01

How payment works

The free tool returns data immediately. Paid tools call the API; if payment is required, the tool returns the machine-readable x402 payment requirements (price, network eip155:8453, asset USDC, pay-to address) so an x402-capable client or wallet-equipped agent can settle and retry. This MCP server holds no keys and signs nothing.

Config

Env var Default Purpose
AGENT_DATA_API_URL the hosted API Point at a different deployment

Market-data responses are informational only — not financial advice.