DeTracker logo DeTracker

DeTracker MCP

https://detracker.xyz/mcp/mcp

What is this

DeTracker MCP offers two read-only tools for AI agents: list_pools returns pool scores and get_pool_history returns current pool data and 7 days of TVL, Borrowed, APY and Base APY. It speaks JSON-RPC 2.0 over HTTP (a streamable HTTP subset: single JSON responses, no SSE stream).

Datasets

Pool scoring

list_pools returns pool scores across tracked protocols. Pool score (0-100): the equally weighted average of five layers (protocol score, deposit asset, chain, pool size, yield premium) and, where the pool's collateral is read on-chain, a sixth layer, collateral quality; capped by a cap triggered on the protocol score, the asset depeg cap and live risk signals. Published scores, layers and signals are returned without recomputing.

Freshness: Pool data (TVL, APY) is synced hourly and scores are recomputed hourly. Published data is rewritten only when it changes; rendered_at is the time of the last change.

Fields: pool, element_id, protocol, chain, pool_score, pool_band, pool_grade, protocol_score, protocol_band, protocol_grade, tvl_usd, apy, utilization, layers, signals, report_url, pool_url, rendered_at. Score bands: green (70+), orange (40-69), red (under 40); grades A-E, NR when not rated.

Pool data, 7 days

get_pool_history returns current values, 7-day medians and standard deviations, and 7 days of TVL, Borrowed, APY and Base APY series from DefiDash for a pool identified by element_id from list_pools. Each series has up to 200 points in chronological order; an empty series is returned as an empty list.

Freshness: Fetched on demand; successful responses are cached for up to 120 seconds. The source determines the spacing of series points.

Fields: element_id, pool, chain, protocol, pool_url, days (7); current: tvl_usd, borrowed_usd, apy, base_apy, utilization, updated_at; stats_7d: median and stdev for each metric; series: tvl_usd, borrowed_usd, apy, base_apy, with points {t, v}. APY values are percentages; utilization is a ratio.

Quick start

Endpoint: https://detracker.xyz/mcp/mcp

Initialize a raw JSON-RPC client first:

curl -X POST https://detracker.xyz/mcp/mcp \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"example","version":"1.0"}}}'

Then list or call tools:

curl -X POST https://detracker.xyz/mcp/mcp \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
curl -X POST https://detracker.xyz/mcp/mcp \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_pools","arguments":{"limit":3}}}'

Add to Claude Code:

claude mcp add --transport http detracker https://detracker.xyz/mcp/mcp --header "X-API-Key: YOUR_API_KEY"

Tools

Available MCP tools, descriptions, and parameter contracts
Name Description Parameters
list_pools Pool scores from published reports of tracked protocols, with the protocol score alongside each pool score, layers, live risk signals and timestamps. Filter by protocol slug, chain (case-insensitive) or min_pool_score; unrated pools are excluded when min_pool_score is set. Sorted by pool score descending, unrated last, then pool name and protocol slug. Limit defaults to 50 (maximum 200); total counts matching pools before limit. Reads published data without recomputing scores. protocol: string; optional, chain: string; optional, min_pool_score: number; optional, limit: integer; optional; default=50
get_pool_history Current pool data and 7 days of TVL, borrowed amounts, APY and base APY from DefiDash, with 7-day medians and standard deviations. Use element_id from list_pools. Returns up to 200 points per metric in chronological order; empty series are valid. Responses are cached for up to 120 seconds. element_id: integer; required

Examples

One ready-to-run call per registered tool:

list_pools

curl -X POST https://detracker.xyz/mcp/mcp -H "Content-Type: application/json" -H "X-API-Key: YOUR_API_KEY" -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_pools","arguments":{"min_pool_score":70,"limit":5}}}'

get_pool_history

curl -X POST https://detracker.xyz/mcp/mcp -H "Content-Type: application/json" -H "X-API-Key: YOUR_API_KEY" -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_pool_history","arguments":{"element_id":49}}}'

Limits & fair use

  • Rate limit: 10 requests per second, burst up to 20.
  • Request body at most 256 KB.
  • Read-only: tools return pool data and scores; nothing is written.
  • API key required: send it in the X-API-Key header or as Authorization: Bearer. Keys are issued by the DeTracker operator.
  • Always inspect returned timestamps before acting on the data.
Chat Close

Hi! Leave a message here and it goes straight to the founder.