mcp server
EchoLedger
Live LP analytics — Uniswap V2/V3, Balancer, Curve stableswap: PnL, health, slippage, depeg risk.
Description as published by the maintainer. Source
- version 0.2.3
- active
- analytics
active — Registry entry last updated 2026-08-05. Dashed tags are derived by ZBS Index from the published description, not stated by the maintainer.
What this server can do
11 functions, named and described by the server itself. Parameter names are shown because they say more about what a function does than its name usually does.
AnalyzeBalancerLP(rpc_url, chain_id, pool_type, lp_init_amt, block_number, pool_address, entry_opp_amt, entry_base_amt, holding_period_days)- Analyze a 2-asset Balancer weighted-pool LP position's PnL. Decomposes impermanent loss using the weighted-pool formula where the base token's weight affects IL magnitude. Values are denominated in opp-token units per BalancerImpLoss's convention; fee income is not attributed in v1 because Balancer pools only expose vault-level fees with no per-LP attribution. Required: lp_init_amt, entry_base_amt, entry_opp_amt, pool_address, rpc_url, pool_type.
AnalyzePosition(rpc_url, chain_id, lwr_tick, upr_tick, pool_type, entry_x_amt, entry_y_amt, lp_init_amt, block_number, pool_address, holding_period_days)- Analyze why a Uniswap V2 or V3 LP position is gaining or losing money. Decomposes PnL into impermanent loss, accumulated fees, and net result, with optional real APR if a holding period is supplied. Returns current value, hold value, IL percentage, fee income, net PnL, real APR, and a diagnosis label. Required: lp_init_amt, entry_x_amt, entry_y_amt, pool_address, rpc_url, pool_type.
AnalyzeStableswapLP(rpc_url, chain_id, pool_type, lp_init_amt, block_number, pool_address, entry_amounts, holding_period_days)- Analyze a 2-asset Curve-style Stableswap LP position's PnL using the amplified-invariant IL formula where small depegs can produce surprisingly large IL at high A. Values are in peg-numeraire (tokens valued 1:1); fee income is not attributed in v1 (pool-global only); positions whose implied alpha is in the unreachable regime return None on il_percentage, net_pnl, and real_apr. Required: lp_init_amt, entry_amounts, pool_address, rpc_url, pool_type.
AssessDepegRisk(rpc_url, chain_id, pool_type, compare_v2, lp_init_amt, block_number, depeg_levels, pool_address, depeg_token_name)- Quantify a 2-asset Curve-style Stableswap LP position's exposure to a stablecoin depeg. Computes IL at multiple depeg levels (default 2%, 5%, 10%, 20%, 50%) via the closed-form stableswap-invariant expansion, with an optional V2 constant-product benchmark at each level. Some depeg levels are physically unreachable at high A — unreachable scenarios return null on il_pct, lp_value_at_depeg, and hold_value_at_depeg; the V2 benchmark stays populated. Required: lp_init_amt, pool_address, rpc_url, pool_type.
BuildStateTwin(rpc_url, chain_id, lwr_tick, upr_tick, pool_type, block_number, pool_address)- Read a pool's on-chain state once and return it as a serialized State Twin (JSON): the protocol-specific snapshot plus a content_hash, in the wire form a client rehydrates locally. Use this to pull a single managed-RPC twin, then run any number of counterfactuals (price moves, IL, slippage) client-side, off this server. Covers Uniswap V2/V3, Balancer 2-asset weighted, and Curve 2-asset plain stableswap pools. The endpoint stores and logs nothing — your rpc_url is never persisted. Required: pool_address, rpc_url, pool_type.
CalculateSlippage(rpc_url, chain_id, lwr_tick, upr_tick, amount_in, pool_type, amounts_in, block_number, pool_address, token_in_name)- Calculate slippage and price-impact decomposition for a proposed swap on a Uniswap V2 or V3 pool. Returns spot vs execution price, slippage percentage, slippage cost in output-token units, and price impact. Also returns the maximum trade size that stays within 1% slippage for V2 pools; V3 returns null for that field because tick-crossing math has not yet been inverted. Required: pool_address, rpc_url, pool_type, token_in_name.
CheckPoolHealth(rpc_url, chain_id, pool_type, block_number, pool_address, recent_window)- Snapshot pool-level health metrics for a Uniswap V2 or V3 pool: TVL in token0 numeraire, reserves, accumulated fees, LP concentration, and swap activity. Answers 'is this a pool I would deposit into?' at the pool level (not position level). num_swaps and fee_accrual_rate_recent are V2-only; V3 returns null for these because V3 has no per-swap history array. A single-block live snapshot also returns null for the LP-concentration and swap metrics (unrecoverable from state alone). Required: pool_address, rpc_url, pool_type.
DetectRugSignals(rpc_url, chain_id, pool_type, tvl_floor, block_number, pool_address, lp_concentration_threshold)- Detect rug-pull signals on a Uniswap V2 or V3 pool via three threshold checks: suspiciously low TVL, top-LP concentration above a limit, and inactive-pool-with-liquidity. Composes over CheckPoolHealth and returns per-signal booleans plus a count-based risk level (low/medium/high/critical). The inactive-with-liquidity signal is V2-only; V3 pools report False for it with a note in details. Required: pool_address, rpc_url, pool_type.
SimulateBalancerMove(rpc_url, chain_id, pool_type, lp_init_amt, block_number, pool_address, price_change_pct, price_change_pcts)- Project a 2-asset Balancer weighted-pool LP position's value at a hypothetical price change from the CURRENT pool state. The shock is applied to the base-token price in opp units; IL depends on both the shock magnitude and the pool's weights. Returns new value in opp-numeraire, IL at the simulated price, and percentage change. Required: lp_init_amt, pool_address, rpc_url, pool_type.
SimulatePriceMove(rpc_url, chain_id, lwr_tick, upr_tick, pool_type, block_number, pool_address, position_size_lp, price_change_pct, price_change_pcts)- Project a Uniswap V2 or V3 LP position's value at a hypothetical price change from the CURRENT pool state (not from entry). A price_change_pct of -0.30 asks 'what if price drops 30% from here'. Returns new value, IL at the simulated price, and percentage change in position value. Fee projection is not modeled (always null). Required: position_size_lp, pool_address, rpc_url, pool_type.
SimulateStableswapMove(rpc_url, chain_id, pool_type, lp_init_amt, block_number, pool_address, price_change_pct, price_change_pcts)- Project a 2-asset Curve-style Stableswap LP position's value at a hypothetical depeg from the CURRENT pool state. The shock multiplies the pool's current alpha by (1 + price_change_pct); at high A, large shocks may be physically unreachable and in that case new_value, il_at_new_price, and value_change_pct are returned as null. Values are in peg-numeraire. Required: lp_init_amt, pool_address, rpc_url, pool_type.
Last successful function declaration observed on . Source: https://mcp.echoledger.ai/mcp. We list what the server declared; we do not call any of these functions.
Endpoint status observed on . Source: https://mcp.echoledger.ai/mcp.
Signals
These are separate measurements of different things. They are deliberately not combined into one score, because a popularity number that mixes website traffic with saves and stars cannot be checked or acted on.
| Signal | Value | What it measures | Window | Observed | Source |
|---|---|---|---|---|---|
| Latest published version | 0.2.3 | Latest version string the maintainer published to the registry. | as of fetch | Model Context Protocol | |
| Registry record last updated | 2026-08-05 | When the registry record was last updated by its maintainer. | point in time | Model Context Protocol | |
| First listed in the MCP Registry | 2026-08-05 | Date this server was first published to the official MCP Registry. Not a usage or quality measure. | point in time | Model Context Protocol | |
| mcp tools declared | 11 tools | Number of functions the server itself declared when asked to list them. This is what the server offers an agent, not a measure of how well any of them work. | as of probe | mcp.echoledger.ai | |
| mcp endpoint status | ok | The server listed 11 functions when asked. | as of probe | mcp.echoledger.ai |
Where to get it
This record as data
Every field on this page, with its source and observation date, is in the catalog JSON. Fetch the whole kind at once instead of parsing this HTML.
GET /api/v1/entries/mcp_server.json