EchoLedger MCP server
2026년 10월 24일 커밋실시간 블록체인 상태를 사용하여 Uniswap, Balancer, Curve의 유동성 풀 포지션, 상태 및 디페깅(depeg) 위험을 분석합니다.
다른 이름 echoledger/echoledger-mcp, echoledger-mcp
- 스타
- 0
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.2.3
- 마지막 커밋
- 2026년 10월 24일
- 라이선스
- Apache-2.0
EchoLedger MCP란?
EchoLedger은(는) MCP server입니다. 실시간 블록체인 상태를 사용하여 Uniswap, Balancer, Curve의 유동성 풀 포지션, 상태 및 디페깅(depeg) 위험을 분석합니다.
프로젝트 README에서 생성된 요약
EchoLedger MCP server 정보
EchoLedger는 Uniswap V2/V3, Balancer, Curve stableswap 프로토콜 전반의 유동성 풀 포지션에 대한 실시간 블록체인 상태 분석을 제공합니다. Claude Desktop, Claude Code, Cursor와 같은 MCP 호환 클라이언트를 사용하는 개발자와 DeFi 분석가를 위해 설계된 이 MCP server는 풀의 상태, 슬리피지 및 디페깅 위험을 심층적으로 조사할 수 있도록 지원합니다. 인증이나 API 키가 필요 없는 streamable HTTP 엔드포인트를 통해 작동하지만, 사용자는 실시간 체인 데이터에 액세스하기 위해 각 도구 호출 시 직접 RPC URL을 제공해야 합니다.
이 server에는 직접 쿼리를 위한 10개의 반응형 도구와 BuildStateTwin이라는 독특한 11번째 도구가 포함되어 있습니다. 이 빌더는 휴대 가능한 JSON State Twin을 생성하여, 클라이언트가 추가적인 RPC 요청 없이 로컬에서 무제한의 가상 시뮬레이션을 수행할 수 있도록 합니다. 반응형 도구가 AnalyzePosition 또는 DetectRugSignals와 같은 특정 작업을 처리하는 동안, State Twin 기능은 2-asset weighted Balancer 풀 및 2-asset plain Curve stableswap 풀에 대한 가격 변동 및 비영구적 손실(impermanent loss)의 복잡한 오프서버 모델링을 가능하게 합니다.
활용 사례
- 1스테이블코인 디페깅 노출 평가2-asset Curve stableswap 풀에 대해 다양한 디페깅 수준에 따른 상당한 손실 위험을 평가할 수 있습니다.
- 2로컬 시뮬레이션 환경 구축개발자는 풀 상태의 JSON 스냅샷을 생성하여 추가적인 블록체인 쿼리 없이 로컬에서 여러 수학적 시나리오를 실행할 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
EchoLedger MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 EchoLedger MCP 설치
$ claude mcp add --transport http echoledger-mcp https://mcp.echoledger.ai/mcpCursor에 EchoLedger MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"echoledger-mcp": {
"url": "https://mcp.echoledger.ai/mcp"
}
}
}VS Code에 EchoLedger MCP 설치
.vscode/mcp.json
{
"servers": {
"echoledger-mcp": {
"type": "http",
"url": "https://mcp.echoledger.ai/mcp"
}
}
}VS Code CLI에 EchoLedger MCP 설치
$ code --add-mcp '{"name":"echoledger-mcp","type":"http","url":"https://mcp.echoledger.ai/mcp"}'Codex에 EchoLedger MCP 설치
$ codex mcp add echoledger-mcp --url https://mcp.echoledger.ai/mcpCodex config.toml에 EchoLedger MCP 설치
~/.codex/config.toml
[mcp_servers.echoledger-mcp] url = "https://mcp.echoledger.ai/mcp"
Gemini CLI에 EchoLedger MCP 설치
$ gemini mcp add -s user --transport http echoledger-mcp https://mcp.echoledger.ai/mcpGemini settings.json에 EchoLedger MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"echoledger-mcp": {
"url": "https://mcp.echoledger.ai/mcp",
"type": "http"
}
}
}구성
ECHOLEDGER_TEST_RPC_URL
| 이름 | 설명 | 유형 |
|---|---|---|
| ECHOLEDGER_TEST_RPC_URL | — |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능echoledger/echoledger-mcp is public and reachablegithub.com/echoledger/echoledger-mcp ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-10-24github.com/echoledger/echoledger-mcp ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답Endpoint did not answer initialize: HTTP 404결함 발견
README
GitHub에서 보기⚠ Decommissioned (2026-10-23). This MCP server is no longer hosted. The public endpoint
mcp.echoledger.aihas 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.
Endpoint: https://mcp.echoledger.ai/mcp (streamable-HTTP, authless).
Install
Claude Desktop
Settings → Integrations → Add server.
URL: https://mcp.echoledger.ai/mcp
Claude Code
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_typeenums; vectorized scenario inputs on the four scenario tools; andBuildStateTwin— 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
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
Run the server over streamable HTTP (binds to $PORT, default 8080):
PORT=8080 python -m echoledger_mcp.server # endpoint at http://localhost:8080/mcp
Or over stdio for a local MCP Inspector smoke-test:
python -m echoledger_mcp.server --stdio
npx @modelcontextprotocol/inspector python -m echoledger_mcp.server --stdio
Tests (offline — fake provider + real twin/primitives):
pytest tests/
Live-RPC gate (real mainnet Uniswap V2/V3, Balancer, and Curve pools; needs your own RPC):
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
- DeFiPy (open-source substrate): https://defipy.org
- EchoLedger: https://echoledger.ai
- State Twins paper: https://arxiv.org/abs/2605.11522
EchoLedger MCP 질문
EchoLedger MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --transport http echoledger-mcp https://mcp.echoledger.ai/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
EchoLedger MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
어떤 유동성 풀을 분석할 수 있나요?
Uniswap V2/V3, 2-asset weighted Balancer 풀, 2-asset plain Curve stableswap 풀을 지원합니다.
RPC 호출을 추가로 하지 않고 시뮬레이션을 실행할 수 있나요?
네, BuildStateTwin 도구를 사용하여 휴대 가능한 JSON 상태를 생성하면 추가 RPC 호출 없이 로컬에서 무제한으로 가상 시나리오 분석을 수행할 수 있습니다.