Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_emission_data

Retrieve emission data for a specific crypto protocol by inputting the protocol slug. Simplifies access to token emissions without managing API keys.

Instructions

GET /api/emission/{protocol}

Unlocks data for a given token/protocol. Parameters: protocol: protocol slug (e.g., 'aave')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
protocolYes

Implementation Reference

  • The handler function for the 'get_emission_data' tool. It is decorated with @mcp.tool() for automatic registration in FastMCP. The function takes a protocol parameter, makes a GET request to the DefiLlama API endpoint /api/emission/{protocol}, and returns the result as a string.
    @mcp.tool() async def get_emission_data(protocol: str) -> str: """GET /api/emission/{protocol} Unlocks data for a given token/protocol. Parameters: protocol: protocol slug (e.g., 'aave') """ result = await make_request('GET', f'/api/emission/{protocol}') 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