EchoLedger

io.github.icmoore由 GitHub 帳號 icmoore 發布v0.2.3更新於 Oct 24, 2026

Live LP analytics — Uniswap V2/V3, Balancer, Curve stableswap: PnL, health, slippage, depeg risk.

發布方自己的服務:echo.email Deliverability Test

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

已停用的 MCP 伺服器,用於 Uniswap V2/V3、Balancer 與 Curve stableswap 池的即時 LP 分析:損益、無常損失、滑價、池健康與脫鉤風險。

可以做什麼
  • 分析 LP 部位:對 Uniswap V2/V3、雙資產 Balancer 加權池與雙資產 Curve stableswap 池做損益拆解(無常損失、手續費、淨收益)。
  • 模擬價格或錨定變動,推算儲備、部位價值與無常損失,並可用向量輸入一次掃描整組價格變動或交易量。
  • 檢查池狀態:TVL、儲備、LP 集中度、近期活動、依門檻判斷的跑路訊號,以及指定交易的滑價與價格衝擊。
  • 評估 stableswap 部位在一組脫鉤幅度下的風險曝險。
  • 建立可攜的 State Twin(以 JSON 表示池狀態),由用戶端在本機還原後離線執行反事實分析。
適用情境
僅供參考:此伺服器已停用、端點下線,無法安裝或連線。它原本用於 Uniswap、Balancer 與 Curve 上的 LP 部位與池風險分析。
執行需求
目前無法使用:公開端點已下線,專案不再維護也未部署。依其文件,它原本是免驗證的遠端 streamable-HTTP 端點,不需要帳號或 API 金鑰,但每次工具呼叫需由呼叫方提供 RPC URL。
安裝前請注意
README 說明此伺服器已於 2026-10-23 停用,端點下線、相關清單已移除,連線會失敗。依其設計,每次呼叫需傳入呼叫方自己的 RPC URL 且不儲存資料;README 也提到報告為付費內容。應將其分析視為不可用,而非最新結果。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 EchoLedger,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.icmoore%2Fecholedger-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "echoledger": {
      "type": "http",
      "url": "https://mcp.echoledger.ai/mcp"
    }
  }
}

README

⚠ Decommissioned (2026-10-23). This MCP server is no longer hosted. The public endpoint mcp.echoledger.ai has been taken offline and its listings removed. Kept for reference. Not maintained, not deployed.

echoledger-mcp

EchoLedger's MCP server. Analyze live Uniswap V2/V3, Balancer, and Curve stableswap pools — positions, price moves, pool health, rug signals, slippage, and depeg risk — or build a portable State Twin for off-MCP analysis, from any MCP-compatible AI client. Reads real chain state via a caller-supplied RPC; the endpoint itself is authless.

[License: Apache-2.0] [MCP] [Python] [arXiv] [smithery badge]

Endpoint: https://mcp.echoledger.ai/mcp (streamable-HTTP, authless).

Install

Claude Desktop

Settings → Integrations → Add server. URL: https://mcp.echoledger.ai/mcp

Claude Code

bash
claude mcp add --transport http echoledger https://mcp.echoledger.ai/mcp

Cursor

Settings → MCP → Add new MCP server. Name: echoledger · Type: http · URL: https://mcp.echoledger.ai/mcp

Smithery

Listed at smithery.ai/servers/ic3moore/echoledger — connect via the Smithery gateway from any supported client.

Tools

The endpoint ships 11 tools over live Uniswap V2/V3, Balancer weighted (2-asset), and Curve stableswap (2-asset) pools. Two surfaces:

  • 10 reactive primitives — one question, one answer, one chain read. Four of them also take a vector input (e.g. price_change_pcts[], amounts_in[]) to sweep a whole grid/curve in one call.
  • BuildStateTwin — returns a portable State Twin (the pool's state as JSON) that a client rehydrates locally to run unlimited counterfactuals off the MCP, zero further RPC.

Every call takes pool_address, rpc_url, and pool_type, plus an optional chain_id guard and block_number pin — nothing is stored. Each reactive tool is protocol-specific and advertises only the pool_type values it accepts; pointing one at an unsupported type returns a clean error before any chain read.

Full reference — params, returns, and a verified example per tool: docs/TOOLS.md.

Scope: the Balancer tools cover 2-asset weighted pools; the stableswap tools cover 2-asset plain Curve pools (rate-bearing pools — metapools, LSD — are a later release). A stableswap tool pointed at a 3-coin or rate-bearing pool fails cleanly.

Uniswap V2/V3

AnalyzePosition

PnL decomposition for an LP position — impermanent loss, fees, and net.

"Analyze my position in the V3 USDC/ETH pool."

SimulatePriceMove

"What if price moves X%?" — projected reserves, position value, and IL.

"If ETH drops 20%, what happens to my V3 ETH/DAI position?"

CheckPoolHealth

TVL, reserves, LP concentration, and recent activity for a pool.

"Is this V3 pool healthy?"

DetectRugSignals

Threshold-based rug flags on a pool's on-chain state.

"Any rug signals on this V2 pair?"

CalculateSlippage

Slippage, price impact, and max trade size for a given trade.

"How much slippage on a 50 ETH buy in this V3 pool?"

Balancer (2-asset weighted)

AnalyzeBalancerLP

PnL decomposition for a 2-asset Balancer weighted-pool position, using the weighted-pool IL formula where the token weight shapes IL magnitude.

"How is my 80/20 BAL/WETH Balancer position doing?"

SimulateBalancerMove

"What if the base token moves X%?" — projected value and IL on a 2-asset weighted pool, weight-aware.

"If BAL drops 30%, what happens to my BAL/WETH Balancer LP?"

Curve stableswap (2-asset plain)

AnalyzeStableswapLP

PnL decomposition for a 2-asset Curve stableswap position via the amplified-invariant IL formula — small depegs can produce outsized IL at high A.

"Analyze my position in the crvUSD/USDC pool."

SimulateStableswapMove

"What if the peg shifts X%?" — projected value and IL on a 2-asset stableswap pool. At high A, large shocks may be physically unreachable (returned as null).

"What happens to my USDC/DAI Curve LP if USDC depegs 2%?"

AssessDepegRisk

IL across a ladder of depeg levels (default 2%, 5%, 10%, 20%, 50%) for a 2-asset stableswap position, with an optional constant-product benchmark.

"How exposed is my crvUSD/USDC position to a depeg?"

State twin builder (all four pool types)

BuildStateTwin

Reads a pool once and returns a portable State Twin — the pool's state as JSON (__type__ + fields + a content_hash). A client rehydrates it locally and runs unlimited counterfactuals (price moves, IL, slippage) off the MCP, with zero further RPC — build once, run N. Spans all four pool types. See the twin round-trip in docs/TOOLS.md and the echoledger package.

"Build me a reusable twin of the USDC/ETH 0.05% pool."

(Honest gap: it's a single-block STATE twin — history-derived health metrics stay server-side reads inside CheckPoolHealth/DetectRugSignals.)

How it works

echoledger-mcp reads live Uniswap V2/V3, Balancer, and Curve stableswap pool state through a caller-supplied RPC endpoint (BYO-RPC, passed per tool call). The endpoint is authless — no API key, no account. Nothing is logged or stored; each call pulls state, runs the analysis, and returns a typed result.

The analytics are powered by open-source DeFiPy — the same primitives, twin, and tools that run against synthetic recipes, now pointed at real pools. The math is open; the reports are paid.

Roadmap

  • v0.2 — Balancer & Stableswap live reads ✓ shipped. The 5 Balancer/Stableswap tools went live on DeFiPy 2.2's LiveProviders (2-asset weighted + 2-asset plain Curve).
  • v0.2.2 — honest schemas, vectors & the twin builder ✓ shipped. Per-tool pool_type enums; vectorized scenario inputs on the four scenario tools; and BuildStateTwin — the 11th tool — for portable, off-MCP twin analysis.
  • N-asset & rate-bearing pools — 3-asset Balancer, N-coin and rate-bearing (metapool/LSD) Curve, once the upstream DeFiPy primitives extend past 2 assets.
  • Distribution polish — OCI-package listing, DNS-verified namespace, and OIDC auto-publish.

Develop

bash
python -m venv .venv && source .venv/bin/activatepip install -e ".[dev]"

Run the server over streamable HTTP (binds to $PORT, default 8080):

bash
PORT=8080 python -m echoledger_mcp.server      # endpoint at http://localhost:8080/mcp

Or over stdio for a local MCP Inspector smoke-test:

bash
python -m echoledger_mcp.server --stdionpx @modelcontextprotocol/inspector python -m echoledger_mcp.server --stdio

Tests (offline — fake provider + real twin/primitives):

bash
pytest tests/

Live-RPC gate (real mainnet Uniswap V2/V3, Balancer, and Curve pools; needs your own RPC):

bash
ECHOLEDGER_TEST_RPC_URL="https://eth-mainnet.example/v2/<key>" pytest tests/test_live.py -v

License

Apache-2.0. See LICENSE and NOTICE.

This project adapts code from DeFiPy (Apache-2.0).

See also

來源:README.md,提交 f7fa461

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v0.2.3最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Echo 整合