mcpField
C
Crypto Liquidations MCP

Crypto Liquidations MCP

Local
github.com/kukapayFinance8Updated 77w ago

About Crypto Liquidations MCP

Crypto Liquidations MCP streams cryptocurrency liquidation events from Binance for AI agents analyzing market activity. It keeps events in memory and offers a tool to retrieve them and a prompt for trend analysis.

Key features

  1. 01Stream events from Binance WebSocket
  2. 02Keep up to 1,000 events in memory
  3. 03Retrieve recent events with a limit
  4. 04Format data as a Markdown table
  5. 05Provide a liquidation analysis prompt

Use cases

  1. 01Inspect recent Binance liquidation events
  2. 02Compare buy and sell liquidations by pair
  3. 03Analyze liquidation frequency and volume trends

MCP support

It provides MCP clients with the get_latest_liquidations tool and analyze_liquidations prompt for retrieving events and guiding trend analysis.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"crypto-liquidations": {
"command": "npx",
"args": [
"-y",
"@smithery/cli"
]
}
}
}
Run commandnpx -y @smithery/cli

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@smithery/cli

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Crypto Liquidations MCP

smithery badge

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

License Python Version Status

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     |
|----------|------|--------|----------|----------|
| BTCUSDT  | BUY  | 50000  | 1.5      | 14:30:45 |
| ETHUSDT  | SELL | 3000   | 10.0     | 14:30:40 |
| BNBUSDT  | BUY  | 500    | 20.0     | 14:30:35 |
| ADAUSDT  | SELL | 1.2    | 1000.0   | 14:30:30 |
| XRPUSDT  | BUY  | 0.8    | 5000.0   | 14:30:25 |

This table makes it easy to see recent market activity, such as large buy or sell liquidations on Binance.

Analyzing Liquidation Trends

The analyze_liquidations prompt helps you dive deeper into the data. It generates instructions for analyzing liquidation trends across all trading pairs, focusing on frequency, volume, and market impact. The prompt suggests using the get_latest_liquidations tool to fetch data, ensuring you have the latest information to work with.

This is particularly useful for understanding broader market dynamics, such as whether liquidations are increasing or signaling significant price movements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.