Uniswap V3 Price MCP Server

Uniswap V3 Price MCP Server

Real-time Uniswap V3 token price server for AI agents and DeFi automation.

2
Stars
2
Forks
2
Watchers
1
Issues
Uniswap V3 Price MCP Server delivers real-time token prices from Uniswap V3 across major EVM-compatible networks, including Ethereum, Polygon, Arbitrum, and Optimism. Optimized for AI agents and DeFi automation, it queries token prices in USD or other stablecoins, with optional conversion via CryptoCompare. The server is designed for compatibility with MCP clients, enabling seamless and standardized integrations. Environment setup is straightforward, leveraging Infura endpoints and Node.js.

Key Features

Real-time token price delivery from Uniswap V3 pools
Support for multiple EVM-compatible chains (Ethereum, Polygon, Arbitrum, Optimism)
Automatic token symbol and decimal retrieval
USD price conversion using CryptoCompare
Standardized MCP server interface
Configurable via environment variables with Infura integration
Examples and prompts for supported queries
Table-formatted chain listing endpoint
Integration with AI and DeFi automation workflows
Open source with MIT License

Use Cases

Powering AI agents requiring real-time DeFi token prices
Automating DeFi operations with up-to-date price feeds
Building multi-chain analytics dashboards for token pricing
Supplying data to algorithmic trading bots
Integrating with decentralized applications requiring price context
Providing data to research tools for multi-chain token price comparisons
Enhancing on-chain price verification systems for oracles
Supporting automated portfolio rebalancing tools
Building monitoring and alerting services for price changes
Supplying backends of financial intelligence platforms

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.

License Node.js Status

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

  1. Clone the repository:

    bash
    git clone https://github.com/kukapay/uniswap-price-mcp.git
    cd uniswap-price-mcp
    
  2. Install dependencies:

    bash
    npm install
    
  3. Client Configuration:

    json
    {
      "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_id with 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.

Star History

Star History Chart

Repository Owner

kukapay
kukapay

User

Repository Details

Language JavaScript
Default Branch main
Size 17 KB
Contributors 1
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

JavaScript
100%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Uniswap Trader MCP

    Uniswap Trader MCP

    Automate token swaps on Uniswap across multiple blockchains for AI agents.

    Uniswap Trader MCP provides an MCP server interface enabling AI agents to automate token swaps on Uniswap V3 across several EVM-compatible blockchains. It offers real-time price quoting, optimized trade route suggestions, and direct execution of swaps with configurable slippage and deadlines. Multi-chain support allows seamless integration with networks such as Ethereum, Polygon, Arbitrum, and others for robust DeFi trading automation.

    • 34
    • MCP
    • kukapay/uniswap-trader-mcp
  • Web3 MCP

    Web3 MCP

    A Model Context Protocol server for unified blockchain data access.

    Web3 MCP is a Model Context Protocol server that provides access to blockchain data through Ankr's Advanced API. It allows large language models to interact seamlessly with multiple blockchain networks such as Ethereum, BSC, Polygon, and Avalanche. With support for NFT, token, and blockchain query APIs, it enables users and AI agents to retrieve on-chain data, statistics, and analytics efficiently within an MCP context.

    • 3
    • MCP
    • tumf/web3-mcp
  • ShopSavvy Data API MCP Server

    ShopSavvy Data API MCP Server

    MCP server providing AI assistants with live product data, pricing, and price tracking from ShopSavvy.

    ShopSavvy Data API MCP Server implements the Model Context Protocol to enable AI assistants to access and interact with ShopSavvy's extensive product database. It supports product lookup, retrieves current and historical pricing from multiple retailers, and allows scheduled monitoring of product prices. The server also manages API usage analytics and credit consumption, offering robust error handling and developer tools for integration.

    • 5
    • MCP
    • shopsavvy/shopsavvy-mcp-server
  • EVM MCP Server

    EVM MCP Server

    Unified Model Context Protocol server for multi-chain EVM blockchain access

    EVM MCP Server provides a comprehensive Model Context Protocol-compliant interface for blockchain services across 30+ EVM-compatible networks. It enables AI agents and other clients to interact programmatically with Ethereum, Optimism, Arbitrum, Base, Polygon, and more via standardized tools and resources. Features include blockchain data access, smart contract interactions, token transfers (including NFTs), ENS name resolution, and multi-network support. The server ensures a consistent and context-aware interface for AI and software agents to discover and leverage on-chain functionality.

    • 340
    • MCP
    • mcpdotdirect/evm-mcp-server
  • Blockchain MCP powered by Tatum

    Blockchain MCP powered by Tatum

    MCP server for universal blockchain data access across 130+ networks.

    Blockchain MCP powered by Tatum is a Model Context Protocol (MCP) server that enables large language models (LLMs) to read and write blockchain data across more than 130 networks. It provides unified access to both the Tatum Blockchain Data API and direct RPC gateways, supporting tools for retrieving balances, portfolios, transactions, and more. The platform is designed for seamless integration via API key and configurable MCP client setups, making it easier to build blockchain-aware AI solutions. Comprehensive documentation and extensive network compatibility facilitate robust development and scalability.

    • 12
    • MCP
    • tatumio/blockchain-mcp
  • Bitcoin MCP Server

    Bitcoin MCP Server

    Real-time Bitcoin blockchain data server for MCP clients.

    Provides tools to deliver real-time Bitcoin blockchain data for use with Model Context Protocol (MCP) clients. Offers specialized endpoints for querying blockchain addresses, transactions, UTXOs, and block information by interfacing with the mempool.space API. Supports easy installation and integration with popular MCP clients, enabling seamless access to blockchain analytics.

    • 0
    • MCP
    • JamesANZ/bitcoin-mcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results