convez.ai
MCP ServerIntegração & APIsIntermediário
kukapay

Uniswap V3 Price MCP Server

kukapay/uniswap-price-mcp

Preços reais de tokens Uniswap V3 para agents e automação DeFi

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP que fornece preços de tokens em tempo real do Uniswap V3 em múltiplas blockchains (Ethereum, Polygon, Arbitrum, Optimism). Otimizado para agentes de IA e automação DeFi, com suporte a conversão para USD via CryptoCompare.

Instalação

$npx convez-ai kukapay/uniswap-price-mcp

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
3
Forks
3
Acompanhando
0
Saúde
42%
Último commit
há 1 ano
Versão
—
Issues abertas
1
Contribuidores
1

Casos de uso

  • Obter preços em tempo real de tokens em múltiplas chains
  • Automatizar consultas de preços para bots de trading e agentes DeFi
  • Integrar dados de preços em dashboards e aplicações descentralizadas

Veredito

MCP server robusto e bem documentado para consultas de preços Uniswap V3 com suporte multi-chain. Ideal para devs DeFi que precisam de dados de preços confiáveis em agentes Claude, exigindo apenas uma conta Infura para funcionar.

README

A tradução para o português deste README ainda está na fila.

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:

    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.

Ver o original no GitHub

Bom para

Relacionados