uniswap-price-mcp

uniswap-price-mcp

3.2

If you are the rightful owner of uniswap-price-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server that provides real-time token prices from Uniswap V3 across multiple blockchain networks, optimized for AI agents and DeFi automation.

The Uniswap V3 Price MCP Server is designed to deliver real-time token prices from Uniswap V3 across multiple blockchain networks, including Ethereum Mainnet, Polygon, Arbitrum, and Optimism. This server is optimized for AI agents and DeFi automation, providing accurate and timely price data for various tokens. It supports token price fetching against USDT, USDC, or WETH, with automatic decimal and symbol retrieval. Additionally, it offers optional USD price conversion using the CryptoCompare API for all quote tokens. The server requires Node.js and an Infura account for access to the supported blockchain networks. It is an essential tool for developers and AI agents looking to integrate real-time DeFi data into their applications.

Features

  • Supported Chains: Ethereum Mainnet, Polygon, Arbitrum, Optimism.
  • Token Price Fetching: Queries Uniswap V3 pools for token prices against USDT, USDC, or WETH.
  • USD Conversion: Optional USD price conversion using CryptoCompare API.
  • Automatic Decimal and Symbol Retrieval: Ensures accurate price data.
  • Optimized for AI Agents and DeFi Automation: Provides real-time data for seamless integration.

Tools

  1. getSupportedChains

    Displays a list of all blockchain networks supported by the server.

  2. getTokenPrice

    Fetches the current price of a specified token in USD on a specified network.