Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Cryptocurrency Server

БесплатноНе проверен

Python-based MCP server that provides real-time and historical cryptocurrency data from 100+ exchanges via CCXT, with tools for tickers, OHLCV, markets, and ord

GitHubEmbed

Описание

Python-based MCP server that provides real-time and historical cryptocurrency data from 100+ exchanges via CCXT, with tools for tickers, OHLCV, markets, and order books.

README

Python-based Model Context Protocol server for real-time and historical cryptocurrency data from 100+ exchanges via CCXT.

Features

  • 4 MCP Tools: Real-time tickers, historical OHLCV, market listings, order books
  • 100+ Exchanges: Binance, Coinbase, Kraken, and more via CCXT
  • Smart Caching: TTL-based caching for performance
  • Error Handling: Custom exception hierarchy
  • Full Tests: Comprehensive pytest coverage

Setup

cd crypto-mcp-server
python3 -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt

Usage

Run Server:

python -m crypto_mcp_server

Run Tests:

pip install -r requirements-dev.txt
pytest tests/ -v

MCP Inspector (optional)

You can install the MCP inspector globally with npm and run it against the package. This is useful for inspecting the MCP endpoints and payloads.

npm install -g @modelcontextprotocol/inspector
mcp-inspector python -m crypto_mcp_server

MCP Tools

get_ticker

Get real-time price data.

{"symbol": "BTC/USDT"}

get_ohlcv

Get historical candlestick data.

{"symbol": "BTC/USDT", "timeframe": "1d", "limit": 100}

get_markets

List all available markets.

{}

get_order_book

Get order book depth.

{"symbol": "BTC/USDT", "limit": 20}

Configuration

Optional .env file:

CACHE_TTL=60
DEFAULT_EXCHANGE=binance
LOG_LEVEL=INFO

Project Structure

crypto-mcp-server/
├── crypto_mcp_server/      # Core server
│   ├── server.py           # MCP implementation
│   ├── data_fetcher.py     # CCXT integration
│   ├── cache.py            # Caching layer
│   └── exceptions.py       # Error handling
├── tests/                  # Test suite
├── requirements.txt        # 3 dependencies
└── test_mcp_tools.py       # Integration test

Dependencies

Core (3):

  • mcp - MCP server framework
  • ccxt - Exchange integration
  • python-dotenv - Configuration

Dev (2):

  • pytest - Testing
  • pytest-asyncio - Async tests

Implementation

  • Architecture: Modular design with separated concerns
  • Async/Await: Full async support
  • Caching: In-memory TTL cache
  • Testing: Unit + integration tests

License

MIT

from github.com/Diya28-mehra/crypto_mcp_server

Установка Cryptocurrency Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Diya28-mehra/crypto_mcp_server

FAQ

Cryptocurrency Server MCP бесплатный?

Да, Cryptocurrency Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Cryptocurrency Server?

Нет, Cryptocurrency Server работает без API-ключей и переменных окружения.

Cryptocurrency Server — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Cryptocurrency Server в Claude Desktop, Claude Code или Cursor?

Открой Cryptocurrency Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Cryptocurrency Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development