MCP server for real-time token prices on the Base chain from on-chain DEX pools. It performs pure on-chain reads via ethers.js, requiring no external APIs or API keys. The server focuses on fetching “current price” data across Uniswap V2/V3 and Aerodrome.
🛠️ Key Features
- Real-time Base token price data from on-chain DEX pools
- Pure on-chain reads via
ethers.js - No external APIs or API keys
- Uses Uniswap V2/V3 and Aerodrome for pricing
🚀 Use Cases
- Provide token price lookups for Base-based agents or applications
- Query current token prices using DEX pool data on-chain
⚡ Developer Benefits
- Install via
npx -y base-price-oracle-mcp - MCP config example includes
RPC_URL: https://mainnet.base.org - Includes a
get_token_pricetool for current price retrieval
⚠️ Limitations
- Price sourcing is limited to on-chain DEX pools (Uniswap V2/V3 and Aerodrome) on Base
- Requires an RPC URL environment value (
RPC_URL) to read the chain
Topics
- aerodrome, ai-agent, base, blockchain, defi, mcp, mcp-server, price-oracle, uniswap