Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_bridge_volume

Retrieve historical bridge volumes for a specific chain or across all chains, optionally filtered by bridge ID, using detailed and accessible crypto data from REI Crypto MCP Server.

Instructions

GET /bridgevolume/{chain}

Get historical volumes for a bridge, chain, or bridge on a particular chain. Parameters: chain: chain slug (e.g., 'Ethereum') or 'all' for volume on all chains id: bridge ID (optional, can be retrieved from /bridges)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYes
idNo

Implementation Reference

  • Handler function for the 'get_bridge_volume' MCP tool. It is registered via the @mcp.tool() decorator and implements the logic to query the DefiLlama API for historical bridge volumes on a specific chain or all chains, optionally filtered by bridge ID.
    @mcp.tool() async def get_bridge_volume( chain: str, id: Optional[int] = None ) -> str: """GET /bridgevolume/{chain} Get historical volumes for a bridge, chain, or bridge on a particular chain. Parameters: chain: chain slug (e.g., 'Ethereum') or 'all' for volume on all chains id: bridge ID (optional, can be retrieved from /bridges) """ params = {} if id is not None: params['id'] = id result = await make_request('GET', f'/bridgevolume/{chain}', 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