realizedSAFE
Advertised LP APR has no price term, so it cannot show a loss. REALIZED computes fees + impermanent loss from The Graph — live API, 7 MCP tools, canary-gated. ETHOnline 2026.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Start here
Repo layout
packages/core/src/ the library — all math and subgraph access (start at realized.js, v4.js) bin/ api.js (HTTP) · mcp-server.js (7 agent tools) scripts/ build-*.js regenerate everything; spike-hunt*/probe-* are the experiments we ran and published as failures, kept on purpose data/ generated corpora + the evidence behind published findings. Large and tracked deliberately — see REVIEW-GUARDRAILS.md before grepping test/ canary.test.js — the negative control this project exists for
TL;DR — Every DEX shows liquidity providers an APR made only of fees, so it can never display a loss. Realized computes the number that can: **fees + im
2cd447a771d1OBSERVED · 2026-10-12Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add core --env GRAPH_API_KEY=${GRAPH_API_KEY} --env ONEINCH_API_KEY=${ONEINCH_API_KEY} -- npx -y @realized-lp/[email protected]{
"mcpServers": {
"core": {
"command": "npx",
"args": [
"-y",
"@realized-lp/[email protected]"
],
"env": {
"GRAPH_API_KEY": "${GRAPH_API_KEY}",
"ONEINCH_API_KEY": "${ONEINCH_API_KEY}"
}
}
}
}Exposed tools (7)
6 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
audit_pools | read | Corpus-wide sweep: across many live pools, how many advertise a positive APR while LPs actually |
explain_gap | read | Plain-language verdict for ONE pool plus the evidence chain that produced it. Use when the user |
find_pool | write | START HERE when the user names tokens rather than an address. Resolves |
position_realized | read | THE MAIN TOOL for a real user with a real position. |
rank_pools | read | Rank live pools by what LPs ACTUALLY took home (fees + impermanent loss) instead of by advertised |
realized_return | read | What the AVERAGE LP earned in a pool over a recent trailing window: fee income PLUS impermanent |
simulate_exit | read | DECISION SUPPORT for closing a position TODAY. Not a new claim -- reframes the exact same |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (5 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (5)
.grepignore
@modelcontextprotocol/sdk
data/corpus.json
data/llama-grade-backdated.json
data/llama-predictions-t0.json
Gates applied: no_behavioural_pass.
2cd447a771d1full audit observations/trust-audit/mcp-server/jiggy-cadence__realized.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | 2cd447a771d1 | SAFE | B | 89 | first audit |
Questions
What is the realized MCP server?
Advertised LP APR has no price term, so it cannot show a loss. REALIZED computes fees + impermanent loss from The Graph — live API, 7 MCP tools, canary-gated. ETHOnline 2026.
What tools does realized expose?
7 in total: 6 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is realized safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does realized need?
It reads GRAPH_API_KEY and ONEINCH_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does realized run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @realized-lp/core at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (2cd447a771d1), read on 2026-10-12. The repository is watched and re-audited when it changes.