About kukapay/uniswap-price-mcp
kukapay/uniswap-price-mcp is an MCP server published by kukapay in the Developer Tools category: an MCP server that delivers real-time token prices from Uniswap V3 across multiple chains.
The repository has 2 stars and 2 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/kukapay/uniswap-price-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (2)
getSupportedChainsReturns a list of supported blockchain networks, including their chain IDs and names, formatted as a Markdown table.
Parameters not published.
getTokenPriceFetches the current price of a token against USDT, USDC/BUSD, or WETH/WBNB (in that order) in a Uniswap V3/PancakeSwap V3 pool with 0.3% fee tier on the specified chain. Automatically retrieves token decimals and symbol. Converts the price to USD using CryptoCompare API for all quote tokens. Returns the price in USD.
Parameters not published.
Ask AI
Ask AI about kukapay/uniswap-price-mcp
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
3 checks have not been run yet.
README
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_IDwith access to Ethereum, Polygon, Arbitrum, and Optimism (sign up at Infura).
Installation
-
Clone the repository:
git clone https://github.com/kukapay/uniswap-price-mcp.git cd uniswap-price-mcp -
Install dependencies:
npm install -
Client Configuration:
{ "mcpServers": { "Uniswap Price": { "command": "node", "args": ["path/to/uniswap-price-mcp/index.js"], "env": { "INFURA_PROJECT_ID": "your_infura_project_id" } } } }Replace
your_infura_project_idwith your Infura project ID.
Usage
Interact with the server using MCP-compatible clients.
Tools
getSupportedChains
Prompt:
Show me a list of all blockchain networks supported by the server, formatted as a table.
Result:
| Chain ID | Chain Name |
|---|---|
| 1 | Ethereum Mainnet |
| 137 | Polygon |
| 42161 | Arbitrum |
| 10 | Optimism |
getTokenPrice
Prompt:
What is the current price of DAI in USD on the Ethereum Mainnet?
Result:
Price of token DAI on chain 1 in USD: 1.00
Prompt:
Get the USD price of Chainlink (LINK) on the Polygon network.
Result:
Price of token LINK on chain 137 in USD: 18.50
License
This project is licensed under the MIT License. See the LICENSE file for details.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.