记忆

graph-advocate

用自然语言提问区块链数据问题,返回对应 Graph Protocol 服务的实时数据。

它能做什么

把任意区块链数据问题路由到合适的 Graph Protocol 服务,并在响应中直接返回实时数据。免费层覆盖 Token API(EVM/Solana/TON 上的余额、持有者、Swap、NFT)、Polymarket 市场/OHLCV/持仓、15,500+ 子图注册表检索,以及 Aave 借贷数据。通过 x402 以 Base 上 USDC 结算的付费端点提供跨平台预测市场价差(Polymarket ↔ Limitless、Kalshi ↔ Polymarket)、Hyperliquid 永续分析、Uniswap 交易前检查,以及针对 1.32 亿条 x402 结算记录的自然语言问答。响应中附 `get_started` 链接,智能体可自行获取免费 API key。

什么时候用它

  • 查询 EVM/Solana/TON 上的代币余额、持有者或 Swap 历史
  • 通过 Token API REST 筛选 Polymarket 市场、OHLCV 或用户持仓
  • 对比 Polymarket、Limitless 与 Kalshi 之间的预测市场价格
  • 评估 Hyperliquid 交易员的技能分数、Vault 风险或永续合约成交流

技能文档

Graph Advocate

Ask any blockchain data question in plain English. Get back live data — not just a recommendation.

Routing

Match the user's intent to the right service. Load only the reference you need.

IntentServiceReferenceUse for
Token balances, holders, swaps, NFTstoken-apitoken-api.mdWallet data across EVM, Solana, TON
Polymarket markets, OHLCV, P&L, positionstoken-apitoken-api.mdREST endpoints under /v1/polymarket/* — no npm install
Find a subgraph for a protocolsubgraph-registrysubgraph-registry.mdSearch 15,500+ subgraphs by protocol/chain
Aave lending datagraph-aave-mcpaave.md40 tools — V2/V3/V4, liquidations, rates
Polymarket advanced (orderbook, disputes, trader winrate/drawdown)graph-polymarket-mcppolymarket.md31 tools — live CLOB, UMA resolution, subgraph-specific P&L stats
Hyperliquid perps — trader skill, vaults, liquidationstoken-api + /hyperliquid/*hyperliquid.mdRaw markets/users/vaults via token-api; derived skill scores via GA's paid /hyperliquid/* endpoints
Cross-protocol lendinggraph-lending-mcpMessari standardized — 40+ protocols on 15 chains
Limitless prediction marketsgraph-limitless-mcpMarkets on Base
Cross-venue prediction-market spread (Polymarket ↔ Limitless)/predmarket/spread (paid)Same-topic markets paired across venues, per-pair yes-mid spread (bps), arbitrage direction. JOIN single-venue passthroughs can't return. $0.05 USDC.
Narrative vs on-chain flow/narrative/divergence (paid)Trending tokens ranked by the gap between social momentum and on-chain flow acceleration. Finds hype with no money behind it, and real flow nobody is tweeting about. $0.05 USDC.
Uniswap pre-trade check/uniswap/pretrade (paid)graph-uniswap-mcpReal liquidity, deepest venue, honeypot flow, volume trend. $0.02 USDC.
Uniswap spot vs perp basis/uniswap/basis (paid)Uniswap spot against the Hyperliquid perp — cross-venue JOIN. $0.05 USDC.
Uniswap per-wallet flow/uniswap/traders (paid)graph-uniswap-mcpAccumulators vs distributors for a token. $0.02 USDC.
Polymarket leaderboard/polymarket/leaders (paid)graph-polymarket-mcpTop traders with derived skill metrics. $0.02 USDC.
Hyperliquid fill stream/hyperliquid/fills (paid)Recent perp fills for a coin with bid/ask flow summary. $0.02 USDC.
Hyperliquid trader skill score/hyperliquid/score (paid)Composite skill metrics for one HL trader. $0.02 USDC.
Hyperliquid per-coin PnL/hyperliquid/pnl (paid)Scores + open positions + recent activity. $0.05 USDC.
Hyperliquid counterparty risk/hyperliquid/risk (paid)Liquidation rate, funding burn, outflow flag. $0.02 USDC.
Polymarket wallet skill score/polymarket/pnl-quick (paid)graph-polymarket-mcpSkill score + classification for a wallet. $0.01 USDC.
Polymarket full PnL/polymarket/pnl (paid)graph-polymarket-mcpScores + per-position records. $0.05 USDC.
Polymarket market screen/polymarket/screen (paid)Top wagerers on a market with ghost-fill risk per holder (N capped at 10). $0.02 USDC.
Polymarket ghost-fill risk/polymarket/risk (paid)Wallet-type detection + ghost-fill classification. $0.02 USDC.
Cross-source prediction-market spread (Kalshi ↔ Polymarket)/kalshi-polymarket/spread (paid)Same-topic markets across Kalshi + Polymarket with mid-spread and arbitrage direction. $0.05 USDC.
Agent reputation score (0-100)/agent/score (paid)Composite from ERC-8004 registration + USDC settlement velocity + on-chain feedback registry, aggregated across all of owner's agents. Hard 8004 gate filters burns/CEX. Buyer-agent's "should I trust this peer" call. Response includes counterparty-ref-v1 conformant SHA-256 + preimage + canonical JCS string so a verifier can re-derive byte-exact without callback. $0.02 USDC.
Kalshi consensus trend/kalshi/consensus-trend (paid)Slope/acceleration/volatility band from Kalshi forecast_history. $0.05 USDC.
Kalshi sports live-edge/kalshi/sports-live-edge (paid)Play-by-play momentum vs market candlesticks; flags latency-arb windows. $0.05 USDC.
Predict.fun prediction marketspredictfun-mcpBNB Chain prediction markets
x402 payment analytics — NL question/ask (paid)Natural-language Q&A over 132M settlements + daily_stats (May 2025 → Jun 2026). Sonnet + DuckDB. $0.05 USDC.
x402 address lookup — onchain receipts/onchain-x402/address (paid)Decentralized lookup via x402 Base subgraph: lifetime stats by role (payer/recipient), recent payments, facilitator, indexed_through_block. $0.01 USDC.
x402 payment analytics (legacy reference)x402-analyticsx402.mdPayment volume, facilitators, daily stats on Base
Raw block data, streamingsubstreamsTraces, logs, custom transformations
Agent discovery (ERC-8004)8004scanFind AI agents by capability
MCP server authmcp8004ERC-8004 identity verification

Polymarket routing rule: Prefer token-api for common queries (markets, OHLCV, activity, user positions, P&L, platform stats). Only route to graph-polymarket-mcp for advanced queries: live orderbook depth, live spreads, disputed markets, UMA resolution, trader winrate/drawdown/profit factor, CTF splits/merges/redemptions.

If the request spans two services, use both and combine results.

Quick Examples

"Top 10 USDC holders on Ethereum"           → token-api
"Best subgraph for Uniswap V3 on Arbitrum?" → subgraph-registry
"Aave V3 liquidations above $50K"           → graph-aave-mcp
"Hottest Polymarket markets"                → token-api (/v1/polymarket/markets)
"Polymarket OHLCV for Bitcoin market"       → token-api (/v1/polymarket/markets/ohlc)
"Polymarket trader P&L for 0x..."           → token-api (/v1/polymarket/users/positions)
"Polymarket live orderbook depth"           → graph-polymarket-mcp (advanced)
"Polymarket trader winrate/drawdown"        → graph-polymarket-mcp (subgraph P&L stats)
"Score Hyperliquid trader 0x..."            → /hyperliquid/score (paid)
"Hyperliquid top traders for HYPE"          → /hyperliquid/screen (paid)
"Evaluate Hyperliquid vault 0x..."          → /hyperliquid/vault (paid)
"Compare Aave vs Compound TVL"              → graph-lending-mcp
"x402 payment volume on Base today"         → x402-analytics
"Top 10 x402 recipients in the last 30 days" → /ask (paid, NL→SQL)
"When did x402 volume on Base inflect?"     → /ask (paid, NL→SQL)
"Has 0x0FF5A6… ever been paid via x402?"     → /onchain-x402/address (paid, decentralized)
"Polymarket vs Limitless spread on 'trump'"  → /predmarket/spread (paid, cross-venue JOIN)
"Kalshi vs Polymarket fed-rate arbitrage"    → /kalshi-polymarket/spread (paid)
"Find agents that do trading"               → 8004scan

How It Works

  1. Agent sends plain-English question
  2. Graph Advocate identifies the best service
  3. Searches the subgraph registry (15,500+ subgraphs with query hints)
  4. Executes the query and returns live data in the response
  5. Includes get_started link for agents to get their own free API key

Response Format

{
  "recommendation": "subgraph-registry",
  "reason": "why this service fits",
  "confidence": "high",
  "query_ready": { "tool": "...", "args": {...} },
  "execution_result": { "source": "subgraph-gateway", "data": {...} },
  "get_started": "Free API key: https://thegraph.com/studio/",
  "cache_for_seconds": 86400
}

Endpoints

MethodURLPurpose
POSThttps://graphadvocate.com/A2A JSON-RPC 2.0
POSThttps://graphadvocate.com/chatFree, no identity or wallet. Returns the query to run and how to get your own Token API JWT — never the data itself
GEThttps://graphadvocate.com/.well-known/agent-card.jsonAgent card
GEThttps://graphadvocate.com/agents/capabilities.jsonMachine-readable capability list
GEThttps://graphadvocate.com/mcp/catalogList of installable MCP servers
GEThttps://graphadvocate.com/llms.txtLLM-friendly discovery file
GEThttps://graphadvocate.com/quota?sender=0x...Free-tier quota remaining today (no charge)
GEThttps://graphadvocate.com/dashboardLive monitoring
POSThttps://graphadvocate.com/feedbackAgent feedback

Default mode: no wallet, free tier

This skill is fully functional with no wallet attached. The default routing — plain-English question in, JSON recommendation + live data out — runs against the free tier and never asks for funds. Agents that don't expose an x402-enabled runtime simply never see a payment challenge.

If you're evaluating Graph Advocate for the first time, start without a wallet, use the free tier, and decide later whether the paid endpoints are worth opting into.

Optional paid mode (opt-in)

Some endpoints settle in USDC on Base via the x402 protocol. Paid mode is opt-in: it only activates when your agent runtime is configured to accept x402 payment challenges. Without that configuration, paid endpoints return 402 Payment Required and the call stops there — no funds move.

Pricing

  • /route — 3 free queries/sender/day, then $0.01 USDC per call (Base mainnet)
  • /polymarket/* — paid from call 1 ($0.01 - $0.05 per call)
  • /hyperliquid/* — paid from call 1 ($0.02 - $0.10 per call)
  • /predmarket/spread — paid from call 1 ($0.05 USDC) — Polymarket ↔ Limitless cross-venue spread on a topic. POST {topic, limit?} returns per-pair yes-mid spread (bps) and arbitrage direction. JOIN that single-venue passthroughs structurally can't return.
  • /kalshi-polymarket/spread — paid from call 1 ($0.05 USDC) — Kalshi ↔ Polymarket cross-source spread on a topic.
  • /kalshi/consensus-trend, /kalshi/sports-live-edge — paid from call 1 ($0.05 USDC each).
  • /ask — paid from call 1 ($0.05 USDC) — natural-language Q&A over the x402 Base settlements warehouse. 132M+ payments + pre-aggregated daily_stats (388 days). Returns {answer, sql_trace, model, upstream_ms} so callers can verify the data path.
  • /onchain-x402/address — paid from call 1 ($0.01 USDC) — decentralized address lookup against the x402 Base subgraph on The Graph Network. POST {address} returns lifetime stats (payer + recipient roles), recent 10 payments in each direction, facilitator metadata, and indexed_through_block for freshness.

402 challenge — preview before paying

Every paid endpoint's 402 response body includes an output_example field with a sample of the payload you'll receive after paying. Inspect this before signing — if the shape doesn't fit your use case, bail without spending.

Every paid call is preceded by an HTTP 402 challenge that names the price, the recipient address, and the settlement network:

HTTP/1.1 402 Payment Required
X-Payment: { "amount": "0.01", "currency": "USDC", "network": "base",
             "recipient": "0x0FF5A6ec…7C86", "challenge": "" }

The 402 challenge is the per-call approval surface. Configure your runtime to surface 402 challenges to the user before any payment is signed — most x402 clients accept an interactive-approval flag (e.g. confirmBeforePay). With per-call approval enabled, you see the exact price and recipient on every paid request and decide yes/no per call. This is the recommended posture for any wallet that holds more than a trivial amount.

If you instead configure your runtime to accept 402 challenges automatically, paid calls settle without an interactive prompt. That is a runtime-level choice, not a property of this skill — and if you choose it, the spend controls below become load-bearing.

Free-quota visibility (no-charge)

Before any paid call, check today's remaining free-tier quota:

GET https://graphadvocate.com/quota?sender=0x

Returns:

{
  "sender": "0x…",
  "free_quota_daily": 3,
  "used_today": 1,
  "remaining_today": 2,
  "free_tier_exhausted": false,
  "next_call_paid": false,
  "price_usdc_per_paid_call": 0.01
}

/quota is a no-charge metadata route. Use it to:

  1. Display "N free queries remaining today" in your UI before the agent runs.
  2. Halt autonomous loops when remaining_today hits 0 instead of accepting the 402 challenge.
  3. Audit per-sender spend by polling daily.

Required spend controls before autonomous use

  1. Dedicated low-balance wallet. Fund only what you're willing to spend in a session (e.g. $5 USDC). Never connect a wallet that holds your treasury.
  2. Spend caps in your agent runtime. Most x402 clients accept maxAmountPerCall and maxTotalSpend parameters. If yours does not, wrap calls to this skill in a counter that breaks after N invocations.
  3. Stop conditions. Add at least one of:
    • Hard cap on call count per task (e.g. max_calls_per_run = 5)
    • Time bound on the task (e.g. abort after 5 minutes)
    • Cost ceiling check before each call (read wallet USDC balance; halt if below threshold)
  4. First-run probe mode. Treat the first execution as a probe — log every call, inspect spend, then enable autonomous mode only after confirming the per-task cost matches expectations.

Receipts and no-charge surface

  • Every paid call returns an x-payment-response header with the on-chain settlement reference. Log it. If a call doesn't return that header but charged your wallet, file an issue — the contract is "no settlement, no charge."
  • No-charge endpoints never trigger payment: /.well-known/agent-card.json, /agents/capabilities.json, /mcp/catalog, /llms.txt, /dashboard, /chat, /quota, GET /.

Payments are received by Ampersend smart account 0x0FF5A6ecef783BBA35463ec2F8403B9B5e9e7C86.

External Endpoints

EndpointData sentPurpose
graphadvocate.comYour plain-English queryRoutes to the right Graph service
gateway.thegraph.com/api/GraphQL queriesExecutes subgraph queries for live data
api.pinax.network/REST requestsFetches token/NFT/swap data
api.studio.thegraph.comGraphQL queriesx402 payment analytics

Security & Privacy

  • Instruction-only skill — no code is downloaded or executed on your machine
  • No credentials required — Graph Advocate does not need API keys from you
  • No local file access — reads nothing from your filesystem
  • Stateless — no session data persists between requests

Identity

Trust Statement

By using this skill, your plain-English data queries are sent to graphadvocate.com (hosted on Railway, operated by @paulieb14). The service returns structured JSON with live data. Queries may include wallet addresses and protocol/trading intent — do not send sensitive private context (private keys, seed phrases, internal strategy details) and only install if you trust this endpoint operator.

Paid mode is opt-in. This skill never requests credentials from you. Paid endpoints only settle when your agent runtime is configured to accept x402 payment challenges. Configure interactive approval if you want a per-call y/N prompt, and always use a low-balance wallet — see the "Optional paid mode" section above for the recommended posture and spend controls.

常见问题

需要绑定钱包吗?
不需要。默认免费层无需钱包或支付配置即可使用。付费端点仅在智能体运行时接受 x402 挑战时启用;否则会返回 402 Payment Required 并停止调用,不会扣款。
免费层覆盖哪些数据?
Token API 查询(EVM/Solana/TON 上的余额、持有者、Swap、NFT)、15,500+ 子图注册表搜索、Polymarket 通过 REST 提供市场/OHLCV/持仓、Aave V2/V3/V4 借贷工具、graph-lending-mcp 跨协议借贷,以及 Limitless/Predict.fun 市场。
付费端点如何计费?
通过 x402 在 Base 上以 USDC 结算,单次调用 0.01–0.05 美元,每次调用前都有 402 审批。每个 402 响应都包含 `output_example` 字段,可在签名付款前预览返回结构。

相关技能

多 EVM 链自主代理钱包 SDK,自管密钥,内置身份、支付与跨链流动性。

51 次安装1 星标

通过一个命令行工具完成多链加密货币交易、钱包管理与 AI 市场分析。

162 次安装109 星标

用 Binance 价格动量作为信号,通过 Simmer SDK 在 Polymarket 上交易 5 分钟/15 分钟 BTC 闪盘。

262 次安装50 星标

一条提示词搞定代币、DeFi、链上数据与组合策略的深度加密研究。

118 次安装8 星标

研究 Polymarket 行情与鲸鱼流向,跟踪聪明钱盈亏榜;获授权后在 Polygon 钱包下单并受硬性风控约束。

276 次安装27 星标

Access CoinAnk crypto derivatives market data via API key or Agent Payments Protocol/x402 pay-per-call.

37 次安装