Liquidity Pools MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Liquidity Pools MCP Server Fetch liquidity pools for token 0xe6DF05CE8C8301223373CF5B969AFCb1498c5528 on chain 56."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Liquidity Pools MCP Server
. An MCP server that tracks and analyzes DEX liquidity pools to power intelligent DeFi agents and automated strategies.
Features
Liquidity Pool Data Retrieval: Fetches liquidity pool details for a specified chain ID and token address using the DexScreener API.
Markdown Table Output: Presents pool data in a clear markdown table with columns for Dex ID, Pair Address, Base/Quote Token Symbols, Price USD, 24h Buy/Sell Transactions, 24h Volume, Liquidity USD, and Market Cap.
Total Liquidity Calculation: Computes and displays the total liquidity in USD across all pools.
Prompt Guidance: Includes a prompt to guide users on analyzing liquidity pool data, including pool count, table output, total liquidity, and notable metrics.
Related MCP server: solana-pools-x402
Prerequisites
Python 3.10 or higher.
uv: Recommended for managing dependencies (documentation).
Installation
Clone the Repository:
git clone https://github.com/kukapay/liquidity-pools-mcp.git cd liquidity-pools-mcpInstall Dependencies:
Using
uv(recommended for faster dependency management):uv syncOr using
pip:pip install mcp[cli]Installing to Claude Desktop:
Install the server as a Claude Desktop application:
uv run mcp install main.py --name "Liquidity Pools"Configuration file as a reference:
{ "mcpServers": { "Liquidity Pools": { "command": "uv", "args": [ "--directory", "/path/to/liquidity-pools-mcp", "run", "main.py" ] } } }Replace
/path/to/liquidity-pools-mcpwith your actual installation path.
Usage
Use the MCP Inspector or integrate with a client (e.g., Claude Desktop) to call the get_liquidity_pools tool.
Example Prompt:
Fetch the liquidity pools for token 0xe6DF05CE8C8301223373CF5B969AFCb1498c5528 on chain bsc.Example Output:
| Dex ID | Pair Address | Base/Quote | Price USD | 24h Buys/Sells | 24h Volume | Liquidity USD | Market Cap |
|-------------|-------------------------------------------|------------|-----------|----------------|------------|---------------|------------|
| pancakeswap | 0x123...abc | CAKE/BUSD | 2.45 | 150/100 | 500000 | 1000000 | 2000000 |
| apeswap | 0x456...def | CAKE/BNB | 2.43 | 80/50 | 300000 | 800000 | 1900000 |
**Total Liquidity USD**: 1800000License
This project is licensed under the MIT License. See the LICENSE file for details.
Available Tools
1 toolget_liquidity_poolsA
Fetch all liquidity pools for a given chain ID and token address from DexScreener API.
Args:
chain_id (str): The blockchain identifier (e.g., 'bsc' for Binance Smart Chain, 'eth' for Ethereum)
token_address (str): The contract address of the token (e.g., '0xe6DF05CE8C8301223373CF5B969AFCb1498c5528')
ctx (Context): MCP context for logging and request handling
Returns:
str: A markdown table containing liquidity pool details including dexId, pairAddress,
base/quote token symbols, price USD, 24h buy/sell transactions, 24h volume,
liquidity USD, and market cap, followed by total liquidity USD
Inputs: chain_id (required), token_address (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is nothing to confuse it with. Its purpose—fetching liquidity pools for a chain/token—is clear and unambiguous.
With a single tool named get_liquidity_pools, it follows a clean verb_noun snake_case convention. No inconsistencies are possible in a one-tool surface.
A single tool is thin for a server whose domain (liquidity pools/DEX data) naturally invites related queries like token lookup, pair details, or multi-chain aggregation. One narrowly-scoped read tool feels under-built.
The surface covers only pool listing for a token on a chain; there is no support for looking up a specific pair, searching tokens, or retrieving other DEX metrics. Agents hitting those needs will dead-end.
Maintenance
Related MCP Connectors
Fetches live DEX liquidity pools, FDV, 24h volume, price impact, and rug-pull flags for any token.
Fetches live DexScreener liquidity pools, FDV, 24h volume, and 1h buy/sell orderflow pressure.
Top DeFi pools by chain and TVL with yields, live from DefiLlama. x402 per call.
Evidence-based market data for AI agents deploying capital in DeFi. Empirical, not advertised.
Related MCP Servers
- AlicenseAqualityDmaintenanceCross-chain DeFi intelligence MCP server for AI agents. 7 tools for yield discovery, pool analysis, profit simulation, risk scoring, whale tracking, impermanent loss calculation, and DeFi overview across 86 chains and 6,500+ liquidity pools.71AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceEnables checking liquidity depth for Solana DEX pools (Raydium, Orca, Meteora) via pay-per-call x402 micropayments. Returns TVL, slippage estimates, volume, and fee tier for a given token mint.MIT
- AlicenseAqualityDmaintenanceProvides live cross-DEX market data on six EVM chains, including per-venue prices, liquidity, and gross spreads with optimal trade sizes. Enables AI agents to query real on-chain data for BSC, Polygon, Arbitrum, Base, Avalanche, and Optimism via MCP tools.472 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to analyze Uniswap V3 pool liquidity depth and estimate price impact at 1%, 2%, 5%, and 10% levels before large trades, with pay-per-call micropayments via x402.MIT