Skip to main content
Glama

Cryptocurrency Market Data MCP Server

by Nayshins

list-exchanges

Retrieve a comprehensive list of all supported cryptocurrency exchanges to access real-time and historical market data for analysis and trading insights.

Instructions

List all supported cryptocurrency exchanges

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • Handler logic inside handle_call_tool that executes the list-exchanges tool by formatting and returning the list of supported exchanges.
    if name == "list-exchanges": exchange_list = "\n".join([f"- {ex.upper()}" for ex in SUPPORTED_EXCHANGES.keys()]) return [ types.TextContent( type="text", text=f"Supported exchanges:\n\n{exchange_list}" ) ]
  • src/server.py:149-156 (registration)
    Registration of the 'list-exchanges' tool within the handle_list_tools function, including its description and input schema.
    types.Tool( name="list-exchanges", description="List all supported cryptocurrency exchanges", inputSchema={ "type": "object", "properties": {} }, ),
  • Global constant listing all supported exchanges, which is used by the list-exchanges tool handler.
    SUPPORTED_EXCHANGES = { 'binance': ccxt.binance, 'coinbase': ccxt.coinbase, 'kraken': ccxt.kraken, 'kucoin': ccxt.kucoin, 'hyperliquid': ccxt.hyperliquid, 'huobi': ccxt.huobi, 'bitfinex': ccxt.bitfinex, 'bybit': ccxt.bybit, 'okx': ccxt.okx, 'mexc': ccxt.mexc }

Other Tools

Related Tools

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/Nayshins/mcp-server-ccxt'

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