An MCP server that provides real-time access to Chainlink’s decentralized on-chain price feeds.
https://github.com/kukapay/chainlink-feeds-mcpYou're building with AI agents that need reliable price data, but you're stuck choosing between unreliable free APIs that go down or expensive enterprise solutions that require complex integrations. What if you could access Chainlink's battle-tested, decentralized price feeds directly through MCP?
Most developers end up with a messy combination of:
Meanwhile, billions of dollars in DeFi protocols trust Chainlink's decentralized price feeds for the same data you're trying to cobble together from unreliable sources.
This MCP server connects you directly to Chainlink's on-chain price feeds – the same infrastructure that secures over $7 billion in DeFi protocols. You get:
329 price feeds across 9 major chains including Ethereum, Base, BSC, and emerging networks like Starknet and zkSync. Not just the obvious pairs like BTC/USD, but also DeFi-specific feeds like WSTETH/ETH and emerging token pairs like PEPE/USD.
Real-time, tamper-proof data pulled directly from smart contracts. No middleman APIs that can manipulate data or introduce latency. Your AI agent gets the same price data that million-dollar trades depend on.
Built-in resilience through Chainlink's decentralized oracle network. While centralized APIs have single points of failure, these feeds aggregate from multiple high-quality data sources.
Imagine your AI agent can naturally ask: "What's the current FIL/ETH price on Ethereum?" and get back structured data with price, decimals, round ID, and timestamp – all from a decentralized source that's been battle-tested by the largest DeFi protocols.
// Your AI agent gets this level of detail automatically:
{
"chain": "ethereum",
"pair": "FIL/ETH",
"price": 0.01234,
"decimals": 18,
"roundId": "123456",
"timestamp": "2025-04-17T12:00:00.000Z",
"proxyAddress": "0x0606Be69451B1C9861Ac6b3626b99093b713E801"
}
The MCP protocol means your Claude Desktop, custom agents, or any MCP-compatible client can access this data through natural language queries. No more writing boilerplate API integration code or handling different response formats.
getLatestPrice – The bread and butter. Get current prices for any of the 329 supported pairs across 9 chains.
listSupportedChains – Discover which networks you can query (ethereum, base, bsc, starknet, linea, mantle, scroll, zksync, celo).
listSupportedFeeds – See all available price pairs organized by chain. Perfect for building dynamic interfaces.
listSupportedFeedsByChain – Filter feeds by specific blockchain when you're working within one ecosystem.
queryPriceByRound – Access historical price data by round ID for backtesting and analysis.
Drop this into your Claude Desktop config and you're live:
{
"mcpServers": {
"chainlink-feeds-mcp": {
"command": "node",
"args": ["path/to/chainlink-feeds-mcp/index.js"],
"env": { "INFURA_API_KEY": "your_api_key_here" }
}
}
}
Your AI agents can immediately start making natural language queries about crypto prices without you writing a single line of API integration code. The server handles all the blockchain connectivity, feed parsing, and data formatting.
No rate limits – You're reading directly from blockchain state, not hitting API endpoints that suddenly start charging you.
No API key management – Beyond your Infura key for blockchain access, there's no complex authentication or subscription management.
No schema variations – Every price feed returns the same clean, predictable JSON structure regardless of the underlying token or chain.
No maintenance overhead – Chainlink's feeds are maintained by professional node operators. You don't need to monitor uptime or handle API deprecations.
git clone https://github.com/kukapay/chainlink-feeds-mcp.git
cd chainlink-feeds-mcp
npm install
# Add your Infura API key to the MCP client config
# Start querying 329 price feeds across 9 chains immediately
Stop building your price data infrastructure from scratch. Connect to the same feeds that billion-dollar protocols trust, directly in your AI agents, with zero ongoing maintenance.
The feeds are live, the integration is clean, and your agents are about to get a lot smarter about crypto prices.