Skip to content
appsgit

Uniswap Universal Router Decoder

Uniswap Universal Router Decoder is an MCP server that adds finance tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Decode and encode Uniswap Universal Router calldata (V2, V3, V4). It has 277 GitHub stars, is released under the MIT license and runs locally with uvx uniswap-universal-router-decoder.

github.com/Elnaril/uniswap-universal-router-decoder (opens in a new tab)

Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error

Install Uniswap Universal Router Decoder

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "uniswap-universal-router-decoder": {
      "command": "uvx",
      "args": [
        "uniswap-universal-router-decoder"
      ],
      "env": {
        "RPC_URL": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env RPC_URL=your-value --transport stdio uniswap-universal-router-decoder -- uvx uniswap-universal-router-decoder

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "uniswap-universal-router-decoder": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "uniswap-universal-router-decoder"
      ],
      "env": {
        "RPC_URL": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "uniswap-universal-router-decoder": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "uniswap-universal-router-decoder"
      ],
      "env": {
        "RPC_URL": "your-value"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
RPC_URLNoEthereum RPC endpoint. Optional: only decode_transaction needs it.

About Uniswap Universal Router Decoder

Many thanks to everyone who has ☕️ offered some coffees! ☕️ or ⭐ starred this project! ⭐ It is greatly appreciated! :) The object of this library is to decode & encode transactions sent to the Uniswap Universal Router (UR) on Ethereum Mainnet, though it would work on any compatible chain where the UR is deployed. See Version Mapping below. This Python SDK is based on, and intended to be used with web3.py

  • decoder
  • defi
  • router
  • uniswap
  • ethereum-dapp
  • encoder
  • decentralized-exchange
  • dex
  • web3py
  • ethereum

FAQ

Uniswap Universal Router Decoder FAQ

Still curious? Email info@appsgit.com.

How do I install the Uniswap Universal Router Decoder MCP server?

Add the command uvx uniswap-universal-router-decoder to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Uniswap Universal Router Decoder free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Uniswap Universal Router Decoder actively maintained?

The most recent commit was on Nov 9, 2026. The latest release is v4.0.0, published Oct 29, 2026. appsgit only lists MCP servers with a commit in the last six months.