Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_stablecoin_charts_all

Retrieve historical market capitalization data for stablecoins to analyze trends and performance over time.

Instructions

GET /stablecoins/stablecoincharts/all

Get historical mcap sum of all stablecoins. Parameters: stablecoin: stablecoin ID (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stablecoinNo

Implementation Reference

  • The main handler function for the 'get_stablecoin_charts_all' tool, decorated with @mcp.tool() for registration in FastMCP. It makes an API request to DefiLlama's stablecoin charts endpoint for all stablecoins, optionally filtered by stablecoin ID, and returns the JSON response as a string.
    @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)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0xReisearch/crypto-mcp-beta'

If you have feedback or need assistance with the MCP directory API, please join our Discord server