🔗 MCP API

Metrics Tools

Reference for the Market Data MCP metrics tools, including classic metrics and V2 external metrics.

Market Data MCP Metrics Tools

The Market Data MCP server exposes two metric families:

  • Classic metrics (metrics_*) for exchange, symbol, and asset metrics
  • V2 metrics (metrics_v2_*) for external metrics such as TVL, fees, volumes, and stablecoin-related series

Classic metrics

Listing tools

ToolRequired argumentsOptional argumentsWhat it does
metrics_listnonenoneLists all classic metric identifiers available in the system.
metrics_get_current_for_exchangeexchange_idmetric_idLists available classic metrics for one exchange.
metrics_get_current_for_symbolnonesymbol_id, exchange_id, metric_idLists available classic metrics for one symbol or symbol context.
metrics_get_current_for_assetnoneasset_id, exchange_id, asset_id_external, metric_idLists available classic metrics for one asset context.

Current values tools

ToolRequired argumentsOptional argumentsWhat it does
metrics_get_values_for_exchangeexchange_idmetric_idReturns current metric values for one exchange.
metrics_get_values_for_symbolnonesymbol_id, exchange_id, metric_idReturns current metric values for one symbol context.
metrics_get_values_for_assetnoneasset_id, exchange_id, metric_idReturns current metric values for one asset context.

History tools

ToolRequired argumentsOptional argumentsWhat it does
metrics_get_history_for_exchangemetric_id, exchange_idtime_start, time_end, period_id, limitReturns exchange metric history.
metrics_get_history_for_symbolmetric_id, symbol_idtime_start, time_end, period_id, limitReturns symbol metric history.
metrics_get_history_for_assetmetric_id, exchange_idasset_id, asset_id_external, time_start, time_end, period_id, limitReturns asset metric history in exchange context.

Classic metrics notes

  • metrics_get_current_for_* tools describe what is available for a given entity.
  • metrics_get_values_for_* tools return actual current metric values.
  • History endpoints use period_id plus optional time_start and time_end.
  • Default limit is 100, with a maximum of 100000.

V2 metrics

Listing tools

ToolRequired argumentsOptional argumentsWhat it does
metrics_v2_listnonenoneLists all V2 metrics, including external metrics.
metrics_v2_get_for_exchangeexchange_idnoneLists V2 metrics available for one exchange.
metrics_v2_get_for_assetasset_idnoneLists V2 metrics available for one stablecoin asset such as USDC.
metrics_v2_get_for_chainchain_idnoneLists V2 metrics available for one blockchain such as ETHEREUM.

History tools

ToolRequired argumentsOptional argumentsWhat it does
metrics_v2_get_history_for_exchangemetric_id, exchange_idtime_start, time_end, time_format, period_id, limitReturns exchange V2 metric history such as TVL, FEES, or VOLUMES.
metrics_v2_get_history_for_assetmetric_id, asset_idtime_start, time_end, time_format, period_id, limitReturns stablecoin metric history such as circulating or bridged supply.
metrics_v2_get_history_for_chainmetric_id, chain_idtime_start, time_end, time_format, period_id, limitReturns blockchain metric history such as TVL or stablecoin supply on chain.

V2 metrics notes

  • V2 metrics cover external or onchain-oriented series that do not fit the classic market-data metric model.
  • time_format can be omitted for ISO 8601 or set to unix_sec or unix_millisec.
  • Common V2 metric IDs include TVL, FEES, VOLUMES, STABLES_CIRCULATING_USD, and STABLES_BRIDGED_USD.

Which metrics tool should you use?

NeedRecommended tools
Discover available metric IDs globallymetrics_list or metrics_v2_list
See which metrics exist for a specific exchangemetrics_get_current_for_exchange or metrics_v2_get_for_exchange
Read current metric values nowmetrics_get_values_for_exchange, metrics_get_values_for_symbol, or metrics_get_values_for_asset
Read historical metric seriesmetrics_get_history_for_* or metrics_v2_get_history_for_*
Work with TVL, fees, volumes, or stablecoin metricsmetrics_v2_*

Practical patterns

Explore metrics for one exchange

  1. Call metrics_get_current_for_exchange or metrics_v2_get_for_exchange.
  2. Pick a metric_id.
  3. Call the matching history endpoint for time series analysis.

Analyze a stablecoin

  1. Call metrics_v2_get_for_asset with USDC, USDT, or another supported asset.
  2. Pick a V2 metric such as STABLES_CIRCULATING_USD.
  3. Call metrics_v2_get_history_for_asset.

Compare onchain ecosystems

  1. Call chains_list.
  2. Use metrics_v2_get_for_chain for each chain of interest.
  3. Pull metrics_v2_get_history_for_chain for trend analysis.
Service StatusGitHub SDK