Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_emission_data

Retrieve emission data for crypto protocols to analyze token distribution and supply metrics using the REI Crypto MCP Server.

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 registration and fetches emission data for the given protocol from the DefiLlama API using the shared make_request helper.
    @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