graph-uniswap

graph-uniswap is a skill for Claude Code, Codex from PaulieB14/graph-uniswap-mcp. It costs 120 tokens per session (1,044 once invoked), scanned A, original, MIT.

A skill for checking Uniswap markets and simulating token swaps with current indexed blockchain data. Uniswap is a cryptocurrency exchange system; the simulation estimates the received amount, effective price, and price impact before a trade.

In plain words
What is it for?
Use it to find pools, check token prices, inspect pool activity, compare markets, or estimate a swap before executing it. It requires a free Graph API key.
Why use it?
It helps answer trade-cost questions without running a blockchain node or using a private key. It can also find pools and prices across the listed Uniswap versions and networks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to find pools, check token prices, inspect pool activity, compare markets, or estimate a swap before executing it. It requires a free Graph API key.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paulieb14/graph-uniswap-mcp/graph-uniswap
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PaulieB14/graph-uniswap-mcp --skill graph-uniswap
Clone the repo
git clone --depth 1 https://github.com/PaulieB14/graph-uniswap-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for graph-uniswap

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulieb14/graph-uniswap-mcp/graph-uniswap/github.svg)](https://agentmods.dev/skills/paulieb14/graph-uniswap-mcp/graph-uniswap)
Your own site
<a href="https://agentmods.dev/skills/paulieb14/graph-uniswap-mcp/graph-uniswap"><img src="https://agentmods.dev/badge/skills/paulieb14/graph-uniswap-mcp/graph-uniswap/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for graph-uniswap

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulieb14/graph-uniswap-mcp/graph-uniswap"><img src="https://agentmods.dev/badge/skills/paulieb14/graph-uniswap-mcp/graph-uniswap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,044 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.01044
Opus 5 $0.00060 $0.00522
Sonnet 5 $0.00024 $0.00209
Haiku 4.5 $0.00012 $0.00104

Measured 11d ago against content hash 8954b9dd342a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

graph-uniswap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

openclaw-skill/graph-uniswap/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Graph Uniswap

Answer Uniswap questions with live subgraph data — and, uniquely, answer "what would this trade actually cost me?" without an RPC, a node, or a private key.

Setup

Needs a free Graph API key (https://thegraph.com/studio, 100k queries/month free) in GRAPH_API_KEY. The server runs over stdio via npx -y graph-uniswap-mcp.

Picking a tool

The user is asking… Use
"how much would I get for X", "what's the slippage/price impact", "is this pool deep enough" quote_swap
"what's WETH worth", "price of X" get_token_price
"best pools on ", "most active pools" top_pools
"the USDC/WETH pool", "which fee tier" find_pool
"stats for this pool" pool_info
"recent trades", "who is trading" recent_swaps
"what chains/versions are supported" list_markets
anything the above cannot express raw_query

Typical flow for a trade question: find_pool → pick the pool → quote_swap.

quote_swap — the one to reach for

Simulates an exact-input swap against the pool's real tick liquidity.

quote_swap  pool=0x8ad5…e6d8  tokenIn=WETH  amountIn=100  chain=ethereum  version=v3
→ amount_out 223661.14 USDC · effective_price 2236.61 · price_impact_pct 0.6291 · ticks_crossed 2

price_impact_pct is measured against the fee-adjusted spot, so it isolates depth rather than restating the fee. fee_pct is reported separately.

Always check quotable. When it is false, report the reason — do not substitute a guess or fall back to a TVL figure. It refuses on:

  • V4 pools with a hook — hooks can override fee and curve, so vanilla math would be wrong. On Base the top V4 pools by volume are hook-driven.
  • Trades bigger than the visible liquidity — you get lower_bound_amount_out, not a quote. Suggest splitting the trade, or quoting on-chain.
  • Zero in-range liquidity, or a deployment exposing no ticks (V3 on Base).

The number simulates the most recently indexed block. Real execution depends on state at inclusion — say so when the amount is material. It is single-pool: not a router, no multi-hop, no splitting.

Read the full file on GitHub · 79 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 79 lines · 120 tokens per session scan A 8954b9dd342a

Subscribe to this mod's changes

graph-uniswap is a skill published in the GitHub repository PaulieB14/graph-uniswap-mcp (0 stars, last pushed 22d ago), licensed MIT. It adds 120 tokens to every session and 1,044 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.