◢■◣ ■P■ ■O■ ◥■◤
Multi-Chain Price Oracle
SERVER URL
http://localhost:3000/api/mcp-server/price-oracleCONNECTION JSON
{
"mcpServers": {
"price-oracle": {
"command": "npx",
"args": [
"mcp-remote@latest",
"http://localhost:3000/api/mcp-server/price-oracle"
]
}
}
}Learn more about supported MCP clients
MCP HOST CONNECTIONS
Connect this MCP server directly to your AI assistant tools by using the JSON config above. Click on a logo to see a demo video.
╔═══╗ ║ ▸ ║ ║ │ ║ ╚═══╝
┌───┐ │ C │ │ L │ └───┘
DESCRIPTION
Aggregated price oracle combining data from Chainlink, Pyth, Uniswap, and centralized exchanges. Provides reliable real-time and historical price data for thousands of tokens.
AVAILABLE TOOLS
getCurrentPrice
Get current token price
getHistoricalPrices
Fetch historical OHLCV data
getVWAP
Calculate volume-weighted average price
CODE EXAMPLES
// Price Oracle Client
import { Client } from '@modelcontextprotocol/sdk';
const client = new Client();
await client.connect('https://oracle-mcp.x402.app/sse');
const price = await client.callTool({
name: 'getCurrentPrice',
arguments: {
token: 'SOL',
currency: 'USD'
}
});
console.log('Price:', price.value);Official MCP SDK Documentation:
https://github.com/modelcontextprotocol/modelcontextprotocol
Installation:
npm install @modelcontextprotocol/sdk
Authentication:
- For MCP Hosts (Cursor, Windsurf, Claude Desktop), saving the JSON config to your tool will automatically trigger the browser OAuth flow
- For programmatic access, obtain the OAuth token by running "npx mcp-remote <url>" in the terminal and follow the instructions