Integrations
Streams real-time cryptocurrency liquidation events from Binance's WebSocket API, enabling access to market volatility data including trading pairs, prices, quantities, and buy/sell directions.
Formats liquidation data into Markdown tables with columns for Symbol, Side, Price, Quantity, and Time, making the information more readable and structured.
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
2. Install Dependencies
Install required packages using uv
:
3. Integrate with an MCP Client
Configure your MCP client to connect to the server. For Claude Desktop:
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:
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.
You must be authenticated.
crypto-liquidations-mcp
Related Resources
Related MCP Servers
- -securityAlicense-qualityAn MCP server that tracks newly created liquidity pools on Uniswap across nine blockchain networks.Last updated -1PythonMIT License
- -securityAlicense-qualityAn MCP server providing a range of cryptocurrency technical analysis indicators and strategies.Last updated -64JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server providing unified access to blockchain operations, bridging, swapping, and crypto trading strategies for AI agents.Last updated -20191PythonGPL 3.0
- TypeScriptMIT License