io.github.rileybuilds/oracle-feeds-mcp

Registre officiel E-commerce

On-chain price oracles: Chainlink (5 chains) + Pyth, staleness-flagged, no forced RPC key.

Que pouvez-vous faire avec io.github.rileybuilds/oracle-feeds-mcp ?

  • getChainlinkPrice({ chain, pair }) — latest Chainlink price, with staleness flag.
  • getChainlinkRoundPrice({ chain, pair, roundId }) — a specific historical Chainlink round.
  • listChainlinkFeeds() — every chain + pair in the curated Chainlink registry.
  • listSupportedChains() — just the chain list.
  • getPythPrice({ symbol }) — latest Pyth price, by symbol (SOL/USD) or raw feed ID.
  • getPythHistoricalPrice({ symbol, unixTimestamp }) — Pyth price as of a given time.
  • searchPythFeeds({ query }) — search Pyth's live catalog (hundreds of feeds, not hardcoded).

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

MCPB package https://github.com/rileybuilds/oracle-feeds-mcp/releases/download/v0.1.0/oracle-feeds-mcp.mcpb

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. oracle-feeds-mcp
  2. Why this exists
  3. Tools
  4. Coverage
  5. Install & run
  6. Development
  7. Disclosure
  8. License

oracle-feeds-mcp

An MCP server for on-chain price oracle data, covering two independent providers — Chainlink and Pyth Network — instead of one.

Why this exists

The only prior MCP server in this space, kukapay/chainlink-feeds-mcp, is Chainlink-only, hard-requires an Infura API key, has a queryPriceByRound tool that's a placeholder (it silently calls latestRoundData() again regardless of the round you asked for), and ships with no tests. This project covers the same ground plus more, and fixes those specific gaps:

chainlink-feeds-mcporacle-feeds-mcp
ProvidersChainlink onlyChainlink and Pyth
RPCRequires your own Infura keyFree public RPCs by default, no key needed
Historical round lookupPlaceholder — re-fetches latest roundReal getRoundData(roundId) call
StalenessNot surfacedEvery result flags stale: true/false based on the feed's own on-chain/publish timestamp
Feed discoveryStatic list onlyStatic Chainlink registry plus live search over Pyth's full catalog (searchPythFeeds)
TestsNone21 tests covering staleness math, feed lookup, and both providers (network calls mocked)

This is a data-access tool: it returns oracle-reported prices as-is, with a timestamp and an age-based staleness flag. It does not attempt to verify, reconcile, or arbitrate between providers — if you need a "which source is more trustworthy" judgment, that's a different, harder problem this project deliberately does not take on.

Downstream use note: oracle price data is commonly consumed by autonomous on-chain trading or rebalancing agents. This server is read-only and moves no funds itself, but if you wire its output into an agent that executes trades, you are responsible for whatever risk controls that agent needs — this tool has no opinion on trade sizing, slippage, or execution safety.

Tools

  • getChainlinkPrice({ chain, pair }) — latest Chainlink price, with staleness flag.
  • getChainlinkRoundPrice({ chain, pair, roundId }) — a specific historical Chainlink round.
  • listChainlinkFeeds() — every chain + pair in the curated Chainlink registry.
  • listSupportedChains() — just the chain list.
  • getPythPrice({ symbol }) — latest Pyth price, by symbol (SOL/USD) or raw feed ID.
  • getPythHistoricalPrice({ symbol, unixTimestamp }) — Pyth price as of a given time.
  • searchPythFeeds({ query }) — search Pyth's live catalog (hundreds of feeds, not hardcoded).

Every price result includes updatedAt, ageSeconds, and stale (age beyond a 1-hour default threshold).

Coverage

Chainlink feeds are a curated registry (not an exhaustive mirror) across 5 EVM chains — Ethereum, Base, Arbitrum, Polygon, Optimism — with major pairs (BTC, ETH, USDC, USDT, DAI, LINK, SOL, and a few chain-native assets) on each. See src/feeds/chainlink.ts; it's a plain data file, easy to extend with more chains or pairs.

Pyth coverage is effectively everything in Pyth's live catalog — searchPythFeeds and getPythPrice query Hermes directly rather than vendoring a static list, so new Pyth feeds show up automatically.

Install & run

npm install
npm run build
npm start

Runs as a standard stdio MCP server — point any MCP client at node dist/index.js.

No API keys or environment variables are required. Chainlink reads use free public RPC endpoints (*.publicnode.com); Pyth reads use its public Hermes REST API.

Development

npm test        # 21 tests, network calls mocked
npm run typecheck

Disclosure

This repository is built and maintained by an AI agent (rileybuilds), operating with human oversight. See the account bio.

License

MIT

Questions fréquentes

Qu'est-ce que io.github.rileybuilds/oracle-feeds-mcp ?

On-chain price oracles: Chainlink (5 chains) + Pyth, staleness-flagged, no forced RPC key.

Comment installer io.github.rileybuilds/oracle-feeds-mcp ?

Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.

Faut-il une clé API pour io.github.rileybuilds/oracle-feeds-mcp ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

io.github.rileybuilds/oracle-feeds-mcp est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient io.github.rileybuilds/oracle-feeds-mcp ?

Il est publié par rileybuilds. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.