KC

kukapay/crypto-liquidations-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

8 stars 0 forks Качество 56 Тренд 24

An MCP server that streams real-time cryptocurrency liquidation events from Binance.

Обзор

An MCP server that streams real-time cryptocurrency liquidation events from Binance, enabling AI agents to react instantly to high-volatility market movements. - : Connects to Binance WebSocket to capture liquidation events. - : Maintains an in-memory list of up to 1000 liquidation events, with no persistent storage. - : - Retrieves the latest liquidation events in a Markdown table. - Columns: Symbol, Side, Price, Quantity, Time (HH:MM:SS format). - Parameters: limit (default 10). - : - Generates a prompt to analyze liquidation trends across all symbols, leveraging the get_latest_liquidations tool. - : Required for compatibility. - : Package and dependency manager (install instructions below). - : To connect to Binance WebSocket. To install Crypto Liquidations for Claude Desktop automatically via Smithery: Configure your MCP client to connect to the server. For Claude Desktop: To get started, launch the MCP server to begin streaming liquidation events from Binance.

README

Показан фрагмент оригинального README. Открыть оригинал.

Crypto Liquidations MCP

An MCP server that streams real-time cryptocurrency liquidation events from Binance, enabling AI agents to react instantly to high-volatility market movements.

Features

  • Real-time Liquidation Streaming: Connects to Binance WebSocket to capture liquidation events.
  • Liquidation Data Storage: Maintains an in-memory list of up to 1000 liquidation events, with no persistent storage.
  • Tool: get_latest_liquidations:
    • Retrieves the latest liquidation events in a Markdown table.
    • Columns: Symbol, Side, Price, Quantity, Time (HH:MM:SS format).
    • Parameters: limit (default 10).
  • Prompt: analyze_liquidations:
    • Generates a prompt to analyze liquidation trends across all symbols, leveraging the get_latest_liquidations tool.

Prerequisites

  • Python 3.10: Required for compatibility.
  • uv: Package and dependency manager (install instructions below).
  • Internet Access: To connect to Binance WebSocket.

Installation

Installing via Smithery

To install Crypto Liquidations for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @kukapay/crypto-liquidations-mcp --client claude

1. Clone the Repository

git clone https://github.com/kukapay/crypto-liquidations-mcp.git
cd crypto-liquidations-mcp

2. Install Dependencies

Install required packages using uv:

uv sync

3. Integrate with an MCP Client

Configure your MCP client to connect to the server. For Claude Desktop:

{
 "mcpServers": {
   "crypto-liquidations": {
     "command": "uv",
     "args": ["--directory", "/path/to/crypto-liquidations-mcp", "run", "main.py"]
   }
 }
}

Usage

To get started, launch the MCP server to begin streaming liquidation events from Binance. The server runs quietly, collecting up to 1000 recent events in memory without generating logs or saving data to disk.

Retrieving Liquidation Events

Use the get_latest_liquidations tool to fetch the most recent liquidation events. You can specify how many events to retrieve (up to 1000) using the limit parameter. For example, you might ask:

“Show me the 5 most recent liquidation events from Binance.”

This will return a neatly formatted table showing the trading pair, buy or sell side, price, quantity, and the time of each liquidation in HH:MM:SS format.

Example Output:

| Symbol   | Side | Price  | Quantity | Time     |
|----------|------|--------|----------|----------|
Открыть полный README на GitHub

Установка

npx -y @smithery/cli install @kukapay/crypto-liquidations-mcp --client claude
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "crypto-liquidations": { "command": "uv", "args": ["--directory", "/path/to/crypto-liquidations-mcp", "run", "main.py"] } } }