An MCP server that delivers real-time token prices from Uniswap V3 across multiple chains — optimized for AI agents and DeFi automation. - 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:
Add this skill
npx mdskills install kukapay/uniswap-price-mcpWell-documented MCP server providing real-time DeFi prices across four chains with clear examples
1# Uniswap V3 Price MCP Server23An MCP server that delivers real-time token prices from Uniswap V3 across multiple chains — optimized for AI agents and DeFi automation.45678910## Features11- **Supported Chains**: Ethereum Mainnet (1), Polygon (137), Arbitrum (42161), Optimism (10).12- **Token Price Fetching**: Queries Uniswap V3 pools for token prices against USDT, USDC, or WETH (in that order) with automatic decimal and symbol retrieval.13- **USD Conversion**: Optional USD price conversion using CryptoCompare API for all quote tokens.1415## Prerequisites16- **Node.js** (v18 or higher recommended) and **npm**.17- **Infura Account**: Obtain an `INFURA_PROJECT_ID` with access to Ethereum, Polygon, Arbitrum, and Optimism (sign up at [Infura](https://infura.io/)).1819## Installation201. Clone the repository:21 ```bash22 git clone https://github.com/kukapay/uniswap-price-mcp.git23 cd uniswap-price-mcp24 ```25262. Install dependencies:27 ```bash28 npm install29 ```30313. **Client Configuration**:3233 ```json34 {35 "mcpServers": {36 "Uniswap Price": {37 "command": "node",38 "args": ["path/to/uniswap-price-mcp/index.js"],39 "env": {40 "INFURA_PROJECT_ID": "your_infura_project_id"41 }42 }43 }44 }45 ```46 Replace `your_infura_project_id` with your Infura project ID.4748## Usage4950Interact with the server using MCP-compatible clients.5152### Tools5354#### getSupportedChains5556**Prompt**:57```58Show me a list of all blockchain networks supported by the server, formatted as a table.59```60**Result**:6162| Chain ID | Chain Name |63|----------|------------------|64| 1 | Ethereum Mainnet |65| 137 | Polygon |66| 42161 | Arbitrum |67| 10 | Optimism |6869#### getTokenPrice7071**Prompt**:72```73What is the current price of DAI in USD on the Ethereum Mainnet?74```7576**Result**:77```78Price of token DAI on chain 1 in USD: 1.0079```8081**Prompt**:82```83Get the USD price of Chainlink (LINK) on the Polygon network.84```8586**Result**:87```88Price of token LINK on chain 137 in USD: 18.5089```9091## License92This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.93
Full transparency — inspect the skill content before installing.