Uniswap Universal Router Decoder MCP
A Python-based MCP server that allows AI agents to decode and encode Uniswap Universal Router calldata for V2, V3, and V4 transactions. It provides read-only tools to analyze transaction structures and rebuild calldata from decoded inputs, facilitating DeFi interaction analysis without signing or sending transactions.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Decode Uniswap Universal Router transaction calldata
- Encode calldata from decoded transaction components
- Analyze V2, V3, and V4 swap and liquidity operations
- Rebuild transaction payloads for debugging or simulation
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
uniswap-universal-router-decoder 4.0.0
{
"version": "4.0.0",
"transport": "stdio",
"identifier": "uniswap-universal-router-decoder",
"runtimeHint": "uvx",
"registryType": "pypi",
"runtimeArguments": [
{
"name": "--from",
"type": "named",
"value": "uniswap-universal-router-decoder[mcp]"
},
{
"type": "positional",
"value": "ur-mcp",
"valueHint": "command"
}
],
"environmentVariables": [
{
"name": "RPC_URL",
"format": "string",
"description": "Ethereum RPC endpoint. Optional: only decode_transaction needs it."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"uniswap-universal-router-decoder-mcp": {
"command": "uvx",
"args": [
"uniswap-universal-router-decoder==4.0.0"
],
"env": {
"RPC_URL": "<YOUR_RPC_URL>"
}
}
}
}Cline
{
"mcpServers": {
"uniswap-universal-router-decoder-mcp": {
"command": "uvx",
"args": [
"uniswap-universal-router-decoder==4.0.0"
],
"env": {
"RPC_URL": "<YOUR_RPC_URL>"
}
}
}
}VS Code
{
"servers": {
"uniswap-universal-router-decoder-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"uniswap-universal-router-decoder==4.0.0"
],
"env": {
"RPC_URL": "<YOUR_RPC_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"uniswap-universal-router-decoder-mcp": {
"command": "uvx",
"args": [
"uniswap-universal-router-decoder==4.0.0"
],
"env": {
"RPC_URL": "<YOUR_RPC_URL>"
}
}
}
}Let your agent find its tools
Find servers like Uniswap Universal Router Decoder MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.