uniswap-price-mcp
uniswap-price-mcp
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.