
Insight Oracle
io.github.imokokokv0.1.0更新于 Oct 7, 2026
Pre-trade safety checks and 40 oracle data tools for AI agents, paid per call via x402.
概览
为助手提供跨预言机价格与风险检查,包括交易前 PASS/CAUTION/DANGER/BLOCK 判定和 Oracle Watch 信号。
- 功能
- Insight 通过托管的 MCP 端点提供约 40 个预言机数据工具。它比较多个链上十家预言机提供商的价格,评估偏差、时效性、来源独立性、稳定币锚定状态和协议影响,并返回交易前判定及建议的最大仓位规模。Oracle Watch 给出 NORMAL/CAUTION/DANGER 信号以及 proceed、proceed_with_caution 或 halt 建议;配置签名后可签发 EIP-712 证明。
- 适用场景
- 当助手或应用需要在兑换、借贷、清算或还款前做安全检查,或希望在交易之间监控预言机状况并在 halt 时暂停时使用。适合需要跨来源预言机比较和协议风险背景的 DeFi 运营者和开发者,而非依赖单一数据源。
- 运行要求
- 远程 streamable HTTP 端点;托管服务器无需本地运行时。匿名发现调用无需凭据;计量调用需要 X-API-Key 并从信用钱包扣费,或使用 Base 上 USDC 的 x402 按次付费。本地开发需要 Node.js 22 或更高版本、Supabase 凭据、CSRF_SECRET、JWT_SECRET,以及用于签名证明的 ATTESTATION_SIGNER_PRIVATE_KEY。
安装
在 SourceWeft 中
- 打开 控制台中的 Insight Oracle,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"insight-oracle": {
"type": "http",
"url": "https://www.oracleinsight.xyz/api/mcp"
}
}
}README
Insight — Oracle Transparency & Risk Intelligence
Insight helps DeFi applications, operators, developers, and AI agents inspect oracle prices and the risks of relying on them. It compares data from 10 oracle providers across 40+ blockchain networks, evaluates deviation, freshness, source independence, and protocol impact, and can issue signed evidence of its assessments.
Pre-Trade Safety Check assesses a proposed action. Oracle Watch monitors changing conditions between actions. The REST API, MCP server, Guard SDK, and independent verifier make these capabilities available to applications and agents. Insight also works independently of PriorSeal; see the product positioning guide for the combined assessment, authorization, execution, and review workflow.
Insight is not a real-time oracle tracker. Price snapshots and feed health are collected every 15 minutes, reputation scores are recalculated hourly, and data is aggregated into daily reports. Check each assessment's freshness and validity window before using it.
Start here
What Insight provides
Pre-Trade Safety Check
Before a swap, borrow, lend, liquidation, or repayment, an application can request a cross-oracle assessment. The response combines price agreement, deviation, freshness, stablecoin peg status, reputation, and relevant protocol risk into a PASS, CAUTION, DANGER, or BLOCK verdict with a recommended maximum position size. Agents should not execute when the verdict is DANGER or BLOCK.
The verdict comes from deterministic rules; experimental ML scores provide additional context but do not drive it. Lending checks can freeze new borrowing when sustained oracle dispersion consumes the protocol's liquidation buffer. Successfully returned judgments are audit-logged before issuance; an audit-storage failure prevents a successful response.
When signing is configured, the check can include an EIP-712 attestation. A signature proves who issued the signed fields and whether they changed. It does not prove that the underlying prices were correct or that an agent obeyed the verdict. See the verifier's supported schemas for version-specific verification requirements.
Oracle Watch
Oracle Watch gives a running strategy a cross-oracle NORMAL, CAUTION, or DANGER signal and a proceed, proceed_with_caution, or halt recommendation. Applications can poll it between trades and pause on halt. It checks deviation, agreement, stale or outlying feeds, coverage, and independent source groups; it can also issue signed receipts when an attester key is configured.
Historical coverage is guaranteed for ETH, BTC, USDC, and USDT on Ethereum, Arbitrum, and Base. Other pairs can return a current signal without a historical curve; check meta.historyGuaranteed rather than treating an empty series as evidence of no incidents. Use the AI/MCP hub or GET /api/v1/oracle-watch?symbol=ETH&chain=ethereum to explore the signal.
Explore oracle and protocol risk
The web app also provides cross-oracle price comparison, feed health and reputation, position safety and liquidation analysis, Peg Risk for stablecoins and wrapped assets, and daily reports. Researchers can inspect source timestamps and export results; developers can use the corresponding API endpoints.
Integrated providers include Chainlink, API3, RedStone, DIA, WINkLink, Supra, Uniswap V3 TWAP, Reflector, Flare, and Band. Position safety supports selected Aave V3, Compound V3, Morpho Blue, Venus, and BENQI markets. Coverage varies by asset and chain, so confirm the available sources and protocol parameters for the position being assessed.
SDK, API, MCP, and verifier
- Guard SDK — TypeScript integration for assessment, monitoring, and supported execution-price evidence.
assessSwap()supports an assessment-only workflow; optional helpers can gate transaction submission and request execution receipts. The SDK uses the Insight API and its credit wallet. - REST API — versioned
/api/v1/endpoints for prices, risk, safety checks, and Oracle Watch. Metered calls use anX-API-Key; public receipt-verification endpoints do not require one. The API reference has request and response details. - MCP server — exposes the same services to compatible agents through stdio, HTTP, or the app's
/api/mcpendpoint. See the AI/MCP hub for client configuration and tools. - Independent verifier — verifies receipt signatures and signed fields locally without depending on the Insight API. Consumers must independently establish trust in the attester key or key registry; successful signature verification is not an endorsement of a trade or verdict.
REST, MCP, and SDK calls draw from the same API-key credit wallet. Plans add credit capacity rather than separate feature tiers. See current pricing for plans and per-call costs.
MCP endpoint (production)
The hosted MCP server is live at https://www.oracleinsight.xyz/api/mcp (streamable HTTP).
- Anonymous discovery:
initialize,tools/list, andpingwork without credentials, so agents can browse the 40-tool oracle catalog before committing. - Authenticated calls: pass an API key and calls draw from the credit wallet.
- x402 pay-per-call: a single unauthenticated
tools/callreceives an x402 v2 402 quote priced by the tool's metering class (USDC on Base), then verify → execute → settle. A failed tool result is never settled. - One-click install (Cursor): Install Insight Oracle
- Discovery surfaces:
llms.txt,/.well-known/x402,/.well-known/mcp/server-card.json, andopenapi.jsonat the site root. - Registry listing: published to the official MCP registry as
io.github.imokokok/insight-oracle.
Local development
Requires Node.js 22 or later. From the repository root:
See .env.local.example and src/lib/config/serverEnv.ts for environment configuration. Development can run with safe defaults for missing secrets; production requires Supabase credentials, CSRF_SECRET, and JWT_SECRET. Signed pre-trade attestations require ATTESTATION_SIGNER_PRIVATE_KEY.
To run the MCP server separately:
The application is built with Next.js, React, TypeScript, Tailwind CSS, and Supabase. App routes and API handlers live in src/app/; core oracle, risk, attestation, and billing logic lives in src/lib/; MCP code lives in src/mcp/. Database migrations are under supabase/.
Documentation
RWA/tokenized-equity adaptations remain opt-in research; no production RWA signer or authorization policy is activated. The optional Robinhood Stock Token issuer context is read-only and does not count as an independent oracle source.
License
See LICENSE.
来源:README.md,提交 980a262
工具
0版本历史
1- v0.1.0最新Oct 7, 2026
