uniswap-tx-builder

uniswap-tx-builder is a skill for Claude Code from Yummybait-fin/uniswap-tx-builder-mcp. It costs 0 tokens per session (3,459 once invoked), scanned A, original, Apache-2.0.

A set of instructions for building unsigned Uniswap v3 liquidity-position transactions with an MCP server. Uniswap v3 is a token-trading system where users can provide liquidity; the instructions never hold keys or sign transactions.

In plain words
What is it for?
Use it to list positions, collect fees, close or burn positions, mint or increase liquidity, approve token spending, wrap ETH, swap WETH, and optionally simulate transactions.
Why use it?
It gives you transaction data ready for your own wallet while leaving nonce, fee, gas, signing, and broadcasting under your control.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the uniswap-tx-builder plugin — 1 skill, 1 MCP server shipped together

Good fit Use it to list positions, collect fees, close or burn positions, mint or increase liquidity, approve token spending, wrap ETH, swap WETH, and optionally simulate transactions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yummybait-fin/uniswap-tx-builder-mcp/uniswap-tx-builder
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 Yummybait-fin/uniswap-tx-builder-mcp --skill uniswap-tx-builder
Clone the repo
git clone --depth 1 https://github.com/Yummybait-fin/uniswap-tx-builder-mcp

Made for: Claude Code.

Or install uniswap-tx-builder, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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 uniswap-tx-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/yummybait-fin/uniswap-tx-builder-mcp/uniswap-tx-builder/github.svg)](https://agentmods.dev/skills/yummybait-fin/uniswap-tx-builder-mcp/uniswap-tx-builder)
Your own site
<a href="https://agentmods.dev/skills/yummybait-fin/uniswap-tx-builder-mcp/uniswap-tx-builder"><img src="https://agentmods.dev/badge/skills/yummybait-fin/uniswap-tx-builder-mcp/uniswap-tx-builder/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 uniswap-tx-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/yummybait-fin/uniswap-tx-builder-mcp/uniswap-tx-builder"><img src="https://agentmods.dev/badge/skills/yummybait-fin/uniswap-tx-builder-mcp/uniswap-tx-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,459 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.00000 $0.03459
Opus 5 $0.00000 $0.01729
Sonnet 5 $0.00000 $0.00692
Haiku 4.5 $0.00000 $0.00346

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

Security

Grade A, and why

uniswap-tx-builder 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.

skills/uniswap-tx-builder/SKILL.md · 152 lines

How it starts

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

uniswap-tx-builder

This skill ships with the uniswap-tx-builder MCP — a public, keyless server that builds unsigned Uniswap v3 position transactions and (optionally) simulates them. It never holds keys and never signs. You build calldata here, then sign + broadcast with your own wallet (any signer — a CDP wallet MCP, viem, etc.).

Tools

All build tools return tx = { to, data, value, chainId }, rlp, and a description. value is "0" except build_wrap/build_swap with native ETH (payable). Addresses are 0x…40; positionId/amounts are decimal strings (they exceed JS safe integers).

rlp is the unsigned EIP-1559 (type-2) serialization of tx with nonce, fees and gas zeroed — pass it directly to signing services that populate those at signing time (e.g. a CDP wallet MCP send_transaction). If your signer manages nonces itself, serialize tx instead.

Tool Args Notes
build_collect chainId, positionId, recipient, simulate? Collect all uncollected fees to recipient.
build_close chainId, positionId, recipient, burn?, simulate? Remove all liquidity + collect. burn: true also burns the now-empty NFT in the same multicall. Returns the read position (token0/1, fee, tickLower/Upper, liquidity).
build_mint chainId, token0, token1, fee, tickLower, tickUpper, amount0Desired, amount1Desired, recipient, slippageBps?, simulate? Mint a new position. Get the amounts from get_pool_state immediately before this call.
build_increase chainId, positionId, amount0Desired, amount1Desired, recipient, slippageBps?, simulate? Add liquidity to an existing position.
build_approve chainId, token, spender, amount, sender?, simulate? Approve spender (e.g. the NFPM, or Permit2) to move up to amount of token. amount: "max" for an unlimited (uint256 max) allowance.
build_wrap chainId, amountWei, recipient?, sender?, deadline?, simulate? Native ETH → WETH via Universal Router WRAP_ETH (payable; works under UR-allowlisting wallet policies where WETH.deposit() doesn't).
build_swap chainId, tokenIn, amountInWei, tokenOut, fee, amountOutMin, recipient?, wrapWei?, unwrapOut?, permit2?, permit2Signature?, sender?, deadline?, simulate? Exact-in single-hop tokenIntokenOut. Pays tokenIn via Permit2 by default. Pass sender and this auto-detects whether the allowance is enough — see Permit2 payment below for the no-on-chain-approval flow. With wrapWei (≥ amountInWei, requires tokenIn = WETH9): wraps that much native ETH first, swaps amountInWei, sweeps the WETH remainder — one payable tx, for wallets holding native ETH instead of WETH (mutually exclusive with Permit2 payment/permit2). With unwrapOut (requires tokenOut = WETH9): unwraps the swap output to native ETH before it reaches recipient — for selling a token for ETH. wrapWei and unwrapOut are mutually exclusive. Get amountOutMin from get_swap_quote right before calling this.
get_swap_quote chainId, tokenIn, tokenOut, amountInWei, fee, slippageBps? Read-only. Quotes the same exact-in single-hop shape as build_swap via Uniswap v3 QuoterV2 (quoteExactInputSingle) — the live amountOut the pool would give at its current price, no tx sent. Returns amountOut, amountOutMin (amountOut after slippageBps, default 0.5% — feed straight into build_swap), sqrtPriceX96After, initializedTicksCrossed, gasEstimate.
plan_position chainId, token0, token1, fee, priceLower, priceUpper, amount0?, amount1? Read-only. Human price range + human amounts → aligned ticks + wei amounts.
get_pool_state chainId, token0, token1, fee, rangePct?, tickLower?, tickUpper?, balance0?, balance1? Read-only. Live pool, tick, sqrtPriceX96, price (token1 per token0, human), tickSpacing. See below.
get_positions chainId, owner Read-only. Every position NFT owner holds (token0/1, fee, tickLower/Upper, liquidity, tokensOwed0/1). Feed a positionId into build_collect/build_close/build_increase.

Read the full file on GitHub · 152 lines

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 · 152 lines · 0 tokens per session scan A dd86b085314e

Subscribe to this mod's changes

uniswap-tx-builder is a skill published in the GitHub repository Yummybait-fin/uniswap-tx-builder-mcp (0 stars, last pushed 3d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,459 tokens. 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.