
Pythia Oracle Mcp
io.github.pythia-the-oracle由 GitHub 帳號 pythia-the-oracle 發布v0.12.3更新於 Oct 27, 2026
Every smart contract deserves intelligence, not just data. On-chain indicators via Chainlink.
概覽
本機 MCP 伺服器,提供 Pythia 以 Chainlink 為基礎的鏈上技術指標、事件訂閱與 Visions 資料,讓助理查詢 feed、健康狀態與 Solidity 整合程式碼。
- 可以做什麼
- 列出已追蹤代幣、其指標 feed、合約地址及系統整體市場概況
- 檢查各代幣預言機 30 天可用率、資料來源狀態與故障紀錄
- 讀取定價方案、Events 與 Visions 說明、訂閱細節,並反查事件 feedId
- 取得指標最新值與免費的公開指標歷史(依日期範圍)
- 回傳可直接部署的 Solidity 程式碼,用於消費 feed、訂閱 Events 或 Visions
- 檢視近期觸發的 Visions、其完整內容,以及某地址的進行中訂閱
- 適用情境
- 適合在助理協助設計或審查使用 Pythia 鏈上指標的智慧合約、交易代理時使用,也適合需要在不離開對話的情況下取得 Pythia 的 feed 名稱、地址、可用率、定價與整合程式碼的情境。
- 執行需求
- 以本機 Python 套件執行(pythia-oracle-mcp,也可用 python -m pythia_oracle_mcp),在 MCP 用戶端設定為 stdio 指令。需要能連線至 Pythia 狀態 feed 的網路;未宣告帳號、API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Pythia Oracle Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Pythia Oracle MCP Server
[PyPI] [License: MIT] [pythia-oracle-mcp MCP server]
Every smart contract deserves intelligence, not just data.
Pythia is the first oracle delivering calculated technical indicators on-chain — EMA, RSI, VWAP, Bollinger Bands, volatility — for any token, on any Chainlink-supported chain. The same indicators traders use, available to smart contracts and AI agents with a single call via Chainlink.
Pythia Events lets smart contracts subscribe to indicator conditions (RSI below 30, EMA crossover, Bollinger breakout) and get called automatically when they trigger. No keeper, no off-chain bot, no polling — your contract reacts to markets on its own.
Pythia Visions delivers walk-forward validated market intelligence on-chain — pattern type, confidence score, indicator snapshot, and feeds-to-watch for confirmation, all in one event. Backtested across 9 years of history. FREE to subscribe. For the current live token + pattern catalog with accuracy stats and fire frequency, call get_visions_info from the MCP tools below.
Why Pythia?
Most oracles only give you price. Pythia gives you computed analysis: EMA, RSI, Bollinger Bands, VWAP, volatility — for tokens like BTC, SOL, TAO, RENDER, ONDO, AAVE, UNI, and more, across 4 timeframes, delivered on-chain via Chainlink. New tokens and indicators are added on demand. If your AI agent, DeFi protocol, or trading bot needs on-chain RSI, EMA, or Bollinger Bands — Pythia is the only source.
Use cases:
- AI trading agents that need on-chain technical signals
- DeFi vault rebalancing based on RSI or volatility thresholds
- Smart contract risk management using Bollinger Band width
- AI-powered portfolio analysis with real-time calculated metrics
- Event-driven strategies — subscribe to RSI thresholds or EMA crossovers, your contract gets triggered automatically
- Automated DeFi bots without keepers — no Gelato, no cron jobs, no off-chain infrastructure
Quick Start
Claude Desktop
Add to claude_desktop_config.json:
Claude Code
Cursor / Windsurf / VS Code
Add to MCP settings:
OpenAI Agents / GPT
Any MCP-compatible client works — just point it at pythia-oracle-mcp.
Run directly
Available Tools
Example Prompts
Ask your AI agent:
"What indicators does Pythia have for Bitcoin?"
Calls get_token_feeds("bitcoin") — returns all indicator feeds for Bitcoin, grouped by type.
"Is Pythia reliable enough to integrate?"
Calls check_oracle_health() — returns per-token uptime, data source health, and active incidents.
"Give me a Solidity contract to consume Pythia's speed bundle"
Calls get_integration_guide("speed") — returns a complete, deployable contract with correct addresses and job IDs.
"What tokens does Pythia cover and are they all working?"
Calls get_market_summary() — returns ecosystem coverage, status breakdown, and infrastructure health.
"How do Pythia Events work? I want my contract to react when BTC RSI drops below 30."
Calls get_events_info() — returns how subscriptions work, supported conditions, and pricing.
"Give me the Solidity code to subscribe to an EMA crossover event."
Calls get_events_guide() — returns a deployable EventSubscriber contract with subscribe/receive pattern.
"What are Pythia Visions? What patterns does it detect?"
Calls get_visions_info() — returns walk-forward validated patterns with accuracy range, fire frequency, contract address, and how it works.
"Show me recent BTC Visions that fired"
Calls get_vision_history("BTC") — returns recent pattern detections with confidence and price.
"Give me Solidity code to subscribe to Pythia Visions"
Calls get_visions_guide() — returns a contract that subscribes to VisionFired events.
What Pythia Provides
- Any token, any Chainlink-supported chain — currently serving BTC, SOL, TAO, RENDER, ONDO, AAVE, UNI, MORPHO, and more, with new tokens added on demand
- 6 indicator types: EMA, RSI, Bollinger Bands (upper/lower), VWAP, Volatility, USD Price
- 4 timeframes: 5-minute, 1-hour, 1-day, 1-week
- 4 pricing tiers: Discovery / Analysis / Speed / Complete — for current LINK fees call
get_pricing - Free trial: PythiaFaucet contract — no LINK needed
- Pythia Events: Subscribe to indicator conditions (ABOVE/BELOW thresholds) — your contract gets called when they trigger. Prepaid in LINK, unused time refunded on cancel or fire. No keeper infrastructure needed.
- Pythia Visions: Walk-forward validated market intelligence on-chain — pattern type + confidence + indicator snapshot + feeds-to-watch, delivered via Chainlink. FREE to subscribe. For the live list of patterns + tokens, call
get_visions_info. - Public indicator history: free, immutable JSON archive of every published indicator value — one file per feed per closed UTC day at
https://pythia.c3x-solutions.com/history/{chain}/{feed_name}/{YYYY-MM-DD}.json(start fromhistory/manifest.json). Re-derive or audit any indicator condition over a date range without an oracle call; files never change once published.
Data Freshness
This MCP server is a thin client over https://pythia.c3x-solutions.com/feed-status.json, the live status feed updated every 15 minutes by the data engine. New tokens, new patterns, contract addresses, and pricing changes appear in MCP tools within seconds of the next data-engine cycle — no package update required.
If the live feed is unreachable, MCP tools raise a clear error rather than serve stale baked-in data. Retry shortly or check status. (As of v0.9.0, fail-loud — earlier versions had baked-in fallbacks that drifted from production state and have been removed.)
Integration Examples
See pythia-oracle-examples for Solidity contracts with Hardhat setup — ready to deploy on any Chainlink-supported network.
Links
- Website & Live Feed Explorer
- Integration Examples (Solidity + Hardhat)
- PyPI Package
- Telegram
- Twitter/X
License
MIT
來源:README.md,提交 e34cea7
工具
0版本歷史
1- v0.12.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分