Supports querying LINK token prices across multiple chains including Polygon, as shown in the example queries.
Fetches real-time token prices from Uniswap V3 on Ethereum Mainnet, with automatic decimal and symbol retrieval.
Delivers real-time token pricing data from Uniswap V3 on Optimism, optimized for DeFi automation.
Provides access to token prices from Uniswap V3 on Polygon network, with support for USD conversion.
Uniswap V3 Price MCP Server
An MCP server that delivers real-time token prices from Uniswap V3 across multiple chains — optimized for AI agents and DeFi automation.
Features
- Supported Chains: Ethereum Mainnet (1), Polygon (137), Arbitrum (42161), Optimism (10).
- Token Price Fetching: Queries Uniswap V3 pools for token prices against USDT, USDC, or WETH (in that order) with automatic decimal and symbol retrieval.
- USD Conversion: Optional USD price conversion using CryptoCompare API for all quote tokens.
Prerequisites
- Node.js (v18 or higher recommended) and npm.
- Infura Account: Obtain an
INFURA_PROJECT_ID
with access to Ethereum, Polygon, Arbitrum, and Optimism (sign up at Infura).
Installation
- Clone the repository:
- Install dependencies:
- Client Configuration:Replace
your_infura_project_id
with your Infura project ID.
Usage
Interact with the server using MCP-compatible clients.
Tools
getSupportedChains
Prompt:
Result:
Chain ID | Chain Name |
---|---|
1 | Ethereum Mainnet |
137 | Polygon |
42161 | Arbitrum |
10 | Optimism |
getTokenPrice
Prompt:
Result:
Prompt:
Result:
License
This project is licensed under the MIT License. See the LICENSE file for details.
Related MCP Servers
- MIT License
- JavaScript
- AsecurityAlicenseAqualityShopify Update MCP ServerLast updated -16764MIT License
- TypeScriptMIT License