Uniswap Price MCP

Communauté Finance et paiements

Real-time token prices from Uniswap V3 across multiple chains.

Que pouvez-vous faire avec Uniswap Price MCP ?

  • 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.

Installation

Les étapes d'installation sont dans la documentation ci-dessous. Documentation

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Uniswap V3 Price MCP Server
  2. Features
  3. Prerequisites
  4. Installation
  5. Usage
  6. License

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_ID with access to Ethereum, Polygon, Arbitrum, and Optimism (sign up at Infura).

Installation

  1. Clone the repository:
     git clone https://github.com/kukapay/uniswap-price-mcp.git
     cd uniswap-price-mcp
  2. Install dependencies:
     npm install
  3. 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_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 IDChain Name
1Ethereum Mainnet
137Polygon
42161Arbitrum
10Optimism
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.

Questions fréquentes

Qu'est-ce que Uniswap Price MCP ?

Real-time token prices from Uniswap V3 across multiple chains.

Comment installer Uniswap Price MCP ?

Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.

Uniswap Price MCP est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Uniswap Price MCP ?

Il est publié par kukapay. AI.tn le référence sans le maintenir ni le recommander.

Issu des listes communautaires awesome-mcp-servers et du dépôt GitHub du projet. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.