get_stablecoin_charts_all
Retrieve historical market cap data for all stablecoins or a specific stablecoin using the REI Crypto MCP Server. Access aggregated crypto insights with minimal setup.
Instructions
GET /stablecoins/stablecoincharts/all
Get historical mcap sum of all stablecoins.
Parameters:
stablecoin: stablecoin ID (optional)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stablecoin | No |
Implementation Reference
- defillama_server.py:165-178 (handler)The handler function for the 'get_stablecoin_charts_all' tool. It is decorated with @mcp.tool() for automatic registration. Fetches historical market cap data for all stablecoins from the DefiLlama API, optionally filtered by a specific stablecoin ID using the shared make_request helper.@mcp.tool() async def get_stablecoin_charts_all(stablecoin: Optional[int] = None) -> str: """GET /stablecoins/stablecoincharts/all Get historical mcap sum of all stablecoins. Parameters: stablecoin: stablecoin ID (optional) """ params = {} if stablecoin is not None: params['stablecoin'] = stablecoin result = await make_request('GET', '/stablecoins/stablecoincharts/all', params) return str(result)