
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
headless-oracle-mcp
Advanced tools
Local MCP server for Headless Oracle — Ed25519-signed market-state receipts for 28 global exchanges
Local stdio MCP server for Headless Oracle — Ed25519-signed market-state receipts for 28 global exchanges.
Headless Oracle is a cryptographically signed market-state oracle for AI agents. It tells you whether a stock exchange is OPEN, CLOSED, HALTED, or UNKNOWN — and proves it with an Ed25519 signature.
This package lets any MCP-compatible AI client (Claude Desktop, Cursor, Cline, Windsurf, Continue.dev) call Headless Oracle tools directly. It runs as a local stdio MCP server that proxies tool calls to the Headless Oracle remote endpoint.
Coverage: NYSE, NASDAQ, London, Tokyo, Paris, Hong Kong, Singapore, Sydney, Mumbai (BSE + NSE), Shanghai, Shenzhen, Seoul, Johannesburg, São Paulo, Zurich, Milan, Istanbul, Riyadh, Dubai, Auckland, Helsinki, Stockholm — plus CME, NYMEX, Cboe, Coinbase, and Binance (28 total).
Critical safety rule for agents: treat UNKNOWN and HALTED as CLOSED — halt all execution.
npx headless-oracle-mcp
No install required. Requires Node.js 18+.
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"headless-oracle": {
"command": "npx",
"args": ["-y", "headless-oracle-mcp"]
}
}
}
With API key:
{
"mcpServers": {
"headless-oracle": {
"command": "npx",
"args": ["-y", "headless-oracle-mcp"],
"env": {
"HEADLESS_ORACLE_API_KEY": "your-key-here"
}
}
}
}
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"headless-oracle": {
"command": "npx",
"args": ["-y", "headless-oracle-mcp"]
}
}
}
With API key:
{
"mcpServers": {
"headless-oracle": {
"command": "npx",
"args": ["-y", "headless-oracle-mcp"],
"env": {
"HEADLESS_ORACLE_API_KEY": "your-key-here"
}
}
}
}
Edit cline_mcp_settings.json (Cline settings → MCP Servers):
{
"mcpServers": {
"headless-oracle": {
"command": "npx",
"args": ["-y", "headless-oracle-mcp"]
}
}
}
With API key:
{
"mcpServers": {
"headless-oracle": {
"command": "npx",
"args": ["-y", "headless-oracle-mcp"],
"env": {
"HEADLESS_ORACLE_API_KEY": "your-key-here"
}
}
}
}
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"headless-oracle": {
"command": "npx",
"args": ["-y", "headless-oracle-mcp"]
}
}
}
With API key:
{
"mcpServers": {
"headless-oracle": {
"command": "npx",
"args": ["-y", "headless-oracle-mcp"],
"env": {
"HEADLESS_ORACLE_API_KEY": "your-key-here"
}
}
}
}
Edit ~/.continue/config.json:
{
"experimental": {
"modelContextProtocolServers": [
{
"transport": {
"type": "stdio",
"command": "npx",
"args": ["-y", "headless-oracle-mcp"]
}
}
]
}
}
With API key:
{
"experimental": {
"modelContextProtocolServers": [
{
"transport": {
"type": "stdio",
"command": "npx",
"args": ["-y", "headless-oracle-mcp"],
"env": {
"HEADLESS_ORACLE_API_KEY": "your-key-here"
}
}
}
]
}
}
| Tool | Description |
|---|---|
get_market_status | Returns an Ed25519-signed receipt: OPEN, CLOSED, HALTED, or UNKNOWN. Always treat UNKNOWN/HALTED as CLOSED. |
get_market_schedule | Returns next open/close times in UTC, including lunch break windows for XJPX, XHKG, XSHG, XSHE. |
list_exchanges | Lists all 28 supported exchanges with MIC codes, names, and timezones. |
verify_receipt | Verifies an Ed25519-signed receipt locally — checks signature, TTL expiry, and required fields. |
get_payment_options | Returns the upgrade ladder: sandbox → x402 per-request → credits → Builder subscription. |
XNYS XNAS XBSP XLON XPAR XSWX XMIL XHEL XSTO XIST XSAU XDFM XJSE XSHG XSHE XHKG XJPX XKRX XBOM XNSE XSES XASX XNZE XCBT XNYM XCBO XCOI XBIN
{
"mic": "XNYS",
"status": "OPEN",
"receipt_mode": "live",
"issued_at": "2026-04-04T14:30:00.000Z",
"expires_at": "2026-04-04T14:31:00.000Z",
"issuer": "headlessoracle.com",
"schema_version": "v5.0",
"source": "SCHEDULE",
"key_id": "ed25519-v1",
"receipt_id": "...",
"signature": "..."
}
Receipts expire after 60 seconds (expires_at). Verify with @headlessoracle/verify.
Your MCP client communicates with this process over stdin/stdout (JSON-RPC 2.0). initialize and ping are handled locally; tools/list and tools/call are forwarded to https://headlessoracle.com/mcp.
readline, https)HEADLESS_ORACLE_API_KEY for authenticated access and higher rate limitshttps://headlessoracle.com/mcp (protocol 2024-11-05)MIT
FAQs
Local MCP server for Headless Oracle — Ed25519-signed market-state receipts for 28 global exchanges
We found that headless-oracle-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.