Skip to main content
ClaudeWave
MCP ServersRegistry oficial0 estrellas0 forksPythonApache-2.0Actualizado today
ClaudeWave Trust Score
77/100
Trusted
Passed
  • Open-source license (Apache-2.0)
  • Actively maintained (<30d)
  • Documented (README)
Flags
  • !No description
Last scanned: 8/6/2026
Install in Claude Code / Claude Desktop
Method: pip / Python · -e
Claude Code CLI
claude mcp add echoledger-mcp -- python -m -e
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "echoledger-mcp": {
      "command": "python",
      "args": ["-m", "venv"],
      "env": {
        "ECHOLEDGER_TEST_RPC_URL": "<echoledger_test_rpc_url>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install -e
Detected environment variables
ECHOLEDGER_TEST_RPC_URL
Casos de uso

Resumen de MCP Servers

# 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](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
[![MCP](https://img.shields.io/badge/MCP-streamable--http-6ea8ff)](https://modelcontextprotocol.io)
[![Python](https://img.shields.io/badge/Python-3.11+-3776ab)](https://www.python.org)
[![arXiv](https://img.shields.io/badge/arXiv-2605.11522-b31b1b.svg)](https://arxiv.org/abs/2605.11522)
[![smithery badge](https://smithery.ai/badge/ic3moore/echoledger)](https://smithery.ai/servers/ic3moore/echoledger)

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](https://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`](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`](docs/TOOLS.md) and
the [`echoledger` package](https://github.com/echoledger/echoledger).

> "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](https://defipy.org) —
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/activate
pip 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 --stdio
npx @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](LICENSE) and [NOTICE](NOTICE).

This project adapts code from [DeFiPy](https://defipy.org) (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

Lo que la gente pregunta sobre echoledger-mcp

¿Qué es echoledger/echoledger-mcp?

+

echoledger/echoledger-mcp es mcp servers para el ecosistema de Claude AI con 0 estrellas en GitHub.

¿Cómo se instala echoledger-mcp?

+

Puedes instalar echoledger-mcp clonando el repositorio (https://github.com/echoledger/echoledger-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar echoledger/echoledger-mcp?

+

Nuestro agente de seguridad ha analizado echoledger/echoledger-mcp y le ha asignado un Trust Score de 77/100 (tier: Trusted). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene echoledger/echoledger-mcp?

+

echoledger/echoledger-mcp es mantenido por echoledger. La última actividad registrada en GitHub es del 2026-08-05, con 0 issues abiertos.

¿Hay alternativas a echoledger-mcp?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega echoledger-mcp en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: echoledger/echoledger-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/echoledger-echoledger-mcp)](https://claudewave.com/repo/echoledger-echoledger-mcp)
<a href="https://claudewave.com/repo/echoledger-echoledger-mcp"><img src="https://claudewave.com/api/badge/echoledger-echoledger-mcp" alt="Featured on ClaudeWave: echoledger/echoledger-mcp" width="320" height="64" /></a>

Más MCP Servers

Alternativas a echoledger-mcp