base-price-oracle-mcp
MCP server for real-time Base chain token price data from on-chain DEX pools. Pure on-chain reads via ethers.js -- no external APIs, no API keys needed.
Install
npx -y base-price-oracle-mcpOr add to your MCP config:
{
"mcpServers": {
"base-price-oracle": {
"command": "npx",
"args": ["-y", "base-price-oracle-mcp"],
"env": {
"RPC_URL": "https://mainnet.base.org"
}
}
}
}Tools (7)
Tool | Description |
| Current price from Uniswap V2/V3 and Aerodrome pools |
| Recent price data points from swap events |
| Price volatility (stddev of returns) from recent swaps |
| Pool reserves and liquidity across all DEXes |
| Estimated price impact for a given trade size |
| Cross-DEX price comparison (arbitrage finder) |
| Combined report: price, volume, liquidity, volatility |
Data Sources
Uniswap V2 (Factory:
0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6)Uniswap V3 (Factory:
0x33128a8fC17869897dcE68Ed026d694621f6FDfD)Aerodrome (Factory:
0x420DD381b31aEf6683db6B902084cB0FFECe40Da)
Environment Variables
Variable | Default | Description |
|
| Base mainnet RPC endpoint |
Related MCP Servers
Package | Tools | What it does |
| 14 | Deploy tokens, trade, earn OBSD |
| 8 | Scan contracts for vulnerabilities |
| 7 | On-chain price feeds from DEX pools |
| 8 | Coordinated multi-wallet trading |
| 5 | Gasless ERC-20 token deployment |
| 7 | Detect arbitrage opportunities |
| 5 | Discover & trade new launches |
| 7 | Wallet balances, gas, tokens |
| 6 | Read any smart contract (free) |
| - | Scaffold a new MCP server |
License
MIT