# LiqFlow MCP server Source of the hosted MCP server at **`https://liqflow.app/mcp`**: Hyperliquid liquidation levels, whale positions, stop orders, liquidation fills, trader cohorts and cross-exchange funding, as 15 read-only tools an AI assistant can call. The data is read from [LiqFlow](https://liqflow.app)'s own Hyperliquid node. It is free and needs no key or sign-in. ## Use it You don't need to run anything from this repository. Point your MCP client at the hosted server: ``` https://liqflow.app/mcp ``` It speaks Streamable HTTP. For example, in Claude Code: ```bash claude mcp add --transport http liqflow https://liqflow.app/mcp ``` Setup for Claude, ChatGPT, Cursor and other clients is at . The server is listed in the official MCP Registry as `app.liqflow/liqflow`. ## Tools | Tool | What it answers | |---|---| | `market_overview` | How many perps lean bullish vs bearish on liquidation pressure, and which lean hardest | | `list_markets` | Which markets are covered; resolves a name ("solana") to its symbol (SOL) | | `open_interest_ranking` | Markets ranked by open interest | | `coin_snapshot` | One market right now: price, liquidation-pressure score, exposure each side, nearest cluster | | `liquidation_map` | Liquidation prices, stop orders and book depth in price bands around the mark: the "liquidation heatmap" | | `funding` | Funding per venue for one market, or the most extreme rates across all | | `coin_history` | History of score, funding, depth or volume for one market | | `recent_liquidations` | Individual liquidation fills, newest first | | `liquidation_totals` | Liquidated USD ranked by market, or per time bucket for one market | | `cascades` | Past sharp moves paired with the liquidation exposure that sat in their path | | `top_positions` | The largest open positions, with leverage and liquidation price | | `wallet` | One wallet: account value, PnL, positions and open orders | | `cohort_positioning` | Long/short positioning by account size and by profitability | | `cohort_top_coins` | The coins one trader cohort is most long and most short on | | `leaderboard` | Wallets ranked by all-time PnL or 30-day volume | Every tool is annotated read-only, and returns a compact JSON summary with a `source` link back to the page or endpoint it came from. ## What is in this repository | File | | |---|---| | `backend/mcp_server/server.py` | The tools: their descriptions, arguments, and how each summarises the API response | | `backend/mcp_server/upstream.py` | Calls to LiqFlow's two HTTP APIs | | `backend/mcp_server/auth.py` | Which API key a request's calls are made with | | `backend/mcp_server/test_mcp_server.py` | Unit tests (no network) | | `backend/mcp_server/server.json` | The MCP Registry manifest | This is a copy of the server's directory from LiqFlow's main codebase, kept here so the code behind the hosted server can be read. It is not a standalone product: the server reaches its data through LiqFlow's Data and Node APIs on the same machine, which are not part of this repository. The public versions of those APIs are documented at . The tests do run on their own: ```bash python -m venv venv && venv/bin/pip install -r backend/mcp_server/requirements.txt PYTHONPATH=. venv/bin/python -m pytest -q backend/mcp_server ``` ## Questions and problems Open an issue here, or write to support@liqflow.app.