
crypto-liquidations-mcp
crypto-liquidations-mcp
Tools
get_latest_liquidations
Retrieve the latest liquidation events from Binance in a table format. Args: limit (int): The maximum number of liquidation events to return (default: 10, max: 1000). ctx (Context, optional): The MCP context for logging and server interaction. Defaults to None. Returns: str: A Markdown table containing the latest liquidation events, sorted by timestamp in descending order.
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.
- Generates a prompt to analyze liquidation trends across all symbols, leveraging the
Prerequisites
- Python 3.10: Required for compatibility.
- uv: Package and dependency manager (install instructions below).
- Internet Access: To connect to Binance WebSocket.
Installation
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.