lembagang avatar

Headless Oracle Mcp

lembagang/headless-oracle-v5

Gives Claude cryptographically signed receipts confirming whether 28 global exchanges are currently open for trading. You get five MCP tools that query market state with Ed25519 signatures on every response, so autonomous agents can verify authenticity without trusting the operator. It's fail-closed by design: if the state is unknown, it returns CLOSED. The underlying service runs as a Cloudflare Worker across 300+ edge locations and handles DST transitions, lunch breaks, half-days, and holidays through 2027 for everything from XNYS and XNAS to XHKG and XKRX. Reach for this when you're building trading agents that need to gate pre-trade decisions on verified exchange status rather than guessing or timeout-failing on closed markets.

tools
5
transport
STDIO
last updated
Apr 5, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

get_market_statusReturns Ed25519-signed market-state receipt for pre-trade verification and pre-execution gating across 28 global exchanges. Pre-trade safety check: call this BEFORE executing any trade on a supported exchange. Model-agnostic: works identically regardless of which AI model cons...1 params

Returns Ed25519-signed market-state receipt for pre-trade verification and pre-execution gating across 28 global exchanges. Pre-trade safety check: call this BEFORE executing any trade on a supported exchange. Model-agnostic: works identically regardless of which AI model cons...

Parameters* required
micstring
ISO 10383 Market Identifier Code. Required. Examples: XNYS=NYSE, XNAS=NASDAQ, XLON=London, XJPX=Tokyo, XCBT=CME Futures, XCOI=Coinbase (24/7), XBIN=Binance (24/7). Call list_exchanges to discover a...one of XNYS · XNAS · XLON · XJPX · XPAR · XHKG
get_market_scheduleReturns holiday-aware trading session schedule with next open/close UTC timestamps for any of 28 exchanges. Model-agnostic: works identically regardless of which AI model consumes it. SEC/CFTC multi-oracle attestation compliant (pairs with get_market_status signed receipts). W...1 params

Returns holiday-aware trading session schedule with next open/close UTC timestamps for any of 28 exchanges. Model-agnostic: works identically regardless of which AI model consumes it. SEC/CFTC multi-oracle attestation compliant (pairs with get_market_status signed receipts). W...

Parameters* required
micstring
ISO 10383 Market Identifier Code. Defaults to XNYS (NYSE). Call list_exchanges to see all 28 supported codes.one of XNYS · XNAS · XLON · XJPX · XPAR · XHKG
list_exchangesReturns directory of all 28 exchanges supported by Headless Oracle: MIC codes, exchange names, IANA timezones, market hours metadata, and mic_type (iso|convention). Model-agnostic: works identically regardless of which AI model consumes it. SEC/CFTC multi-oracle attestation co...

Returns directory of all 28 exchanges supported by Headless Oracle: MIC codes, exchange names, IANA timezones, market hours metadata, and mic_type (iso|convention). Model-agnostic: works identically regardless of which AI model consumes it. SEC/CFTC multi-oracle attestation co...

No parameter schema in public metadata yet.

verify_receiptVerifies the Ed25519 cryptographic signature on a Headless Oracle Signed Market Attestation receipt — confirms it is a genuine pre-trade verification attestation and has not been tampered with. Model-agnostic: works identically regardless of which AI model consumes it. SEC/CFT...1 params

Verifies the Ed25519 cryptographic signature on a Headless Oracle Signed Market Attestation receipt — confirms it is a genuine pre-trade verification attestation and has not been tampered with. Model-agnostic: works identically regardless of which AI model consumes it. SEC/CFT...

Parameters* required
receiptobject
The complete signed receipt object as returned by get_market_status or /v5/status. Must include the signature field (hex-encoded Ed25519).
get_payment_optionsReturns available payment and authentication options for accessing live market data. Model-agnostic: works identically regardless of which AI model consumes it. WHEN TO USE: when you need to understand how to authenticate or pay before making a request that requires a key or p...

Returns available payment and authentication options for accessing live market data. Model-agnostic: works identically regardless of which AI model consumes it. WHEN TO USE: when you need to understand how to authenticate or pay before making a request that requires a key or p...

No parameter schema in public metadata yet.

Sponsors

Readme

Headless Oracle

Ed25519-signed market-state attestations for 28 global exchanges.

What It Does

Autonomous trading agents need to know if an exchange is open before executing trades. Headless Oracle answers that question with a cryptographically signed receipt that any agent can verify independently — no trust in the operator required. UNKNOWN states are always treated as CLOSED (fail-closed).

Quick Start

# MCP (Claude Desktop, Cursor, any MCP client)
npx headless-oracle-mcp

# REST API — demo receipt (no auth required)
curl https://headlessoracle.com/v5/demo?mic=XNYS

# Sandbox key (200 calls, 7 days, no card) - POST with an email
curl -X POST https://headlessoracle.com/v5/sandbox \
  -H 'Content-Type: application/json' \
  -d '{"email":"you@example.com"}'

Architecture

Single TypeScript Cloudflare Worker. Ed25519 signing via @noble/ed25519. Three KV namespaces (overrides, API keys, telemetry). Two Durable Objects (webhooks, SSE streams). Runs on Cloudflare's edge network - no origin server.

4-tier fail-closed: KV override check -> schedule engine -> UNKNOWN fallback -> unsigned critical failure.


View the full README on GitHub

Details

Repository
github.com/lembagang/headless-oracle-v5
Category
Web & Browser Automation
Package
headless-oracle-mcp
Transport
STDIO
Registry
MCP registry, active

More from lembagang

Related Web & Browser Automation MCP servers

View all
1clauxel avatarChromedevtoolsmcp Mcpclauxel/chrome-devtools-session-mcp-mcpA paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,0stars
2h4ckf0r0day avatarObscurah4ckf0r0day/obscuraThe headless browser for AI agents and web scraping. Rust, anti-detection, CDP-compatible, with a built-in MCP server.15.7Kstars
3hyperbrowserai avatarHyperbrowserhyperbrowserai/mcpProvides data scraping, structured data extraction, and web crawling through MCP clients with browser-use agents.761stars
4achiya-automation avatarSafari Mcpachiya-automation/safari-mcpNative Safari browser automation for AI agents — 98 tools, zero Chrome overhead.236stars
5swimmwatch avatarCloakBrowser MCPswimmwatch/cloakbrowser-mcpPlaywright MCP-compatible browser automation bridge for CloakBrowser Chromium.176stars
6aishwaryshrivastav avatarVibe Test — Browser Testing Agentaishwaryshrivastav/vibe-testingCode-aware browser testing agent — 14 Playwright tools for AI code editors via MCP18stars