mcp-ocei-oracle
# OCEI™ v2.5 — Orbital Compute Efficiency Index & Live Arbitrage Oracle (MCP / A2A / Prometheus)
[](https://orbitcompute.ai/ocei)
[](https://github.com/Mr-Didi/mcp-ocei-oracle/actions/workflows/ci-verify.yml)
[](https://doi.org/10.5281/zenodo.24181719)
[](https://huggingface.co/datasets/Orbitcompute/ocei-orbital-compute-ledger)
[](https://orbitcompute.ai/v1/openapi.json)
[](https://glama.ai/mcp/servers/Mr-Didi/mcp-ocei-oracle)
[](https://colab.research.google.com/github/Mr-Didi/mcp-ocei-oracle/blob/main/notebooks/ocei_underwriting_audit.ipynb)
[](https://orbitcompute.ai/connect)
Official reference repository, zero-dependency open physics kernel (`ocei_kernel.py`), strict IETF RFC-8785 / pinned ES256 verifier (`ocei_rfc8785.py`), cryptographic audit ledger, Kubernetes/KEDA manifests, Agent Skills, and Python SDK for **[OrbitCompute.ai](https://orbitcompute.ai)** — the vendor-neutral, cryptographically attested (**RFC 8785 + ECDSA P-256**) control plane comparing orbital AI compute shells (`650 km Dawn-Dusk SSO`, `575 km FCC DA 26-1273 SSO`, `320 km Self-Cleaning VLEO`, `550 km LEO`, `1,500 km High-LEO`) against terrestrial utility grids with live `$/MTok` arbitrage.
> **Independence Notice:** Published by Spatial Compute Holdings // OrbitCompute Data Consortium under CC-BY-4.0 / MIT. Strictly independent and unaffiliated with SpaceX, NVIDIA, Google, Amazon/AWS, Blue Origin, Starcloud, K2 Space, Cowboy Space, Stoke Space, Relativity Space, Rocket Lab, LandSpace, ADA Space, Cisco, or Thales Alenia Space.
## What Is New in `v2.5.0`
- **10 Global Hardware Profiles with Explicit `spec_provenance`:** Adds **NVIDIA Kyber Galaxy** (`kyber_galaxy`: `500 kg` core rack, `72` Rubin GPUs + `36` Vera CPUs, wireless NVLink 6 midplane, Cu/Al coldplates, `~220 kW` est., native SEU recovery), **Starcloud-3 / NVIDIA Space-1** (`starcloud_3_space1`: `200 kW / 3.0t` = `15.0 kg/kW`, `88,000`-sat FCC filing, `Starcloud-1` flight heritage of `1` SEU reboot in `11.5 mo`), **K2 Space Giga Class** (`k2_giga_100kw`: `100 kW` IT / `110 kW` array, LEO-MEO Hall transfer), **Amazon Trainium / Blue Origin Project Sunrise** (`aws_trainium_orbital`: `150 kW`, `51,600`-sat FCC filing), and **ADA Space / Zhejiang Lab Three-Body Xingsuan** (`ada_xingsuan_edge`: `10 kW` liquid-cooled in-orbit edge, `22` launched satellites) alongside `rubin_nvl72`, `starmind_ai1`, `trillium_tpu_v6e`, `blackwell_b200`, and `terafab_370k`.
- **11 Launch Vehicles & Anti-Double-Penalty `flight_proven` Guard:** Expands from 3 to 11 launch vehicles (`starship_v3`, `starship_v4`, `falcon_9`, `falcon_heavy`, `new_glenn_7x2`, `new_glenn_9x4`, `cowboy_big_iron` with `-12%` integrated upper-stage bus mass factor, `stoke_nova_block2`, `relativity_terran_r`, `rocket_lab_neutron`, and `landspace_zhuque3`). Flight-proven 2026 vehicles (`falcon_9`, `falcon_heavy`, `new_glenn_7x2`, `landspace_zhuque3`) retain real payload/cost parameters under `realism_mode=current_2026` without double-penalization.
- **Selectable Amortization (`satellite_lifespan_years=3..7`), Eclipse Battery Cycling & EO Edge:** Models 3-year aggressive chip obsolescence vs. 5-year canonical depreciation and 7-year bus refresh (`?satellite_lifespan_years=3`), coupled with EOL Li-ion eclipse battery cycle degradation, `workload_type=orbital_eo_edge` (`99%` in-orbit downlink compression), and Scope-Normalized External-Model Reconciliation (`/ocei` Section `08`).
- **8-Stream NOAA SOLAR-1 (SWFO-L1) / GOES Telemetry & Live Solar Declination `δ_⊙(t)`:** Extends 6-stream telemetry with `>=100 MeV` penetrating protons (triggering pre-emptive checkpoints at `>=1.0 pfu`), L1 proton density `n_p`, solar wind dynamic pressure `P_dyn`, and GOES `>=2 MeV` relativistic electrons (`deep_dielectric_charging_risk` ESD penalty `>900 km`), paired with live daily solar declination `δ_⊙(t)` and J2 Dawn-Dusk SSO solstice eclipse tracking (`live_solar_astronomy`).
- **Fresh-Hub Arbitrage Invariant & Empirical D1 Track Record (`/v1/telemetry/performance`):** Real-time arbitrage across **ERCOT Texas** (`HB_HUBAVG`), **PJM Western Hub** (`51288`), **PJM Dominion Hub** (`35010337` — Northern Virginia), and **EPEX Spot Europe** (`DE-LU` via daily ECB FX) enforces `MIN_FRESH_REACHABLE_HUB_NO_STALE_DISTORTION` (strictly excluding `stale: true` hubs from `global_elastic_best_hub`), while `/v1/telemetry/performance` exposes signed daily RFC-9162 Merkle rollups and observed SLA metrics.
- **Zero-Contradiction Dual Breakeven & Tri-Track Sensitivity:** Separates Brownfield equal-dollar breakeven (`~$28.43/MWh`) and availability-adjusted `$/MTok` parity (`~$35–$43/MWh`) from Greenfield full-TCO parity (`~-$385/MWh`), supporting Canonical Reusable-Scale (`target`, `~15.5 kg/kW` MMOD) alongside opt-in sensitivity bounds (`conservative` legacy aerospace `~39 kg/kW` and `current_2026` pre-Starship floor `~43.5 kg/kW`).
- **Cryptographic Data Moat & Pinned ES256 (`K1` / `H5` Hardened):** Sole active key `ocei-es256-global-v2.3` strictly pinned across Edge, Browser, Python SDK, Ledger CI, and `ocei_rfc8785.py` (revoked bootstrap key `v2.2` permanently removed from `keys[]`), backed by 15-minute D1 snapshots, daily RFC-9162 Merkle roots anchored to Bitcoin via OpenTimestamps (OTS), Cloudflare R2 L0 raw archive, Backblaze B2 Object-Lock vault, and automated Hugging Face Parquet mirrors.
- **Dual-Era MCP `2026-07-28` + A2A `v1.0.1` + Zero-404 Agent Discovery:** Implements stateless `server/discover` RPC and `_meta` envelopes alongside full backward compatibility (`2025-11-25` / `2025-06-18` / `2025-03-26`), `A2A v1.0.1` + `0.3.0` multi-interface cards with SealKeeper SEAL extension, `GET /a2a/health`, and Zero-404 coverage across all 7 agent-card discovery paths.
## Query Parameters & Canonical Enum Registry (`v2.5.0`)
- **`hw` (10):** `rubin_nvl72`, `kyber_galaxy`, `starmind_ai1`, `starcloud_3_space1`, `k2_giga_100kw`, `aws_trainium_orbital`, `trillium_tpu_v6e`, `blackwell_b200`, `terafab_370k`, `ada_xingsuan_edge`
- **`launch_vehicle` (11):** `starship_v3`, `starship_v4`, `falcon_9`*, `falcon_heavy`*, `new_glenn_7x2`*, `new_glenn_9x4`, `cowboy_big_iron`, `stoke_nova_block2`, `relativity_terran_r`, `rocket_lab_neutron`, `landspace_zhuque3`* (*`flight_proven: true` — exempt from `current_2026` double-penalty)
- **`realism_mode` (3):** `target` (default), `conservative`, `current_2026` | **`satellite_lifespan_years`:** `3`–`7` (default `5`)
- **`workload_type` (4):** `frontier_training`, `batch_inference`, `realtime_inference`, `orbital_eo_edge` | **`grid_hub` (5):** `baseline`, `ercot`, `pjm`, `pjm_dom`, `epex`
## Executable MCP Server (Zero-Auth, Streamable HTTP)
Connect any MCP client (Grok Bot, Claude Code, Codex, Cursor, OpenClaw, Pi, Hermes, custom agents) directly to:
```json
{
"mcpServers": {
"ocei-oracle": {
"url": "https://orbitcompute.ai/mcp"
}
}
}
```
| MCP Tool | Purpose |
| :--- | :--- |
| `evaluate_orbital_compute_regime` | Full 4-pillar physics, 3–7 yr TCO across 10 hardware stacks, 11 launch vehicles & sensitivity tracks (`target`/`conservative`/`current_2026`), `$/W` gross & net payback, Turyshev Gamma, van Berkel roofline, attrition stress & credit underwriting |
| `compute_arbitrage_dispatch` | Fast binary/hybrid grid-vs.-orbit dispatch against custom `$/MWh` or live `ercot` / `pjm` / `pjm_dom` / `epex` hubs + fresh-hub regional routing summary |
| `solve_optimal_workload_allocation` | Multi-shell percentage solver (`SSO 650 km` / `VLEO 320 km` / `Earth Spot`) with latency SLA, `orbital_eo_edge` compression, Turyshev downlink & van Berkel roofline constraints |
| `get_ocei_history_and_live_grids` | Cloudflare D1 empirical 15-min history, true 60m TWAP (`4/4` cadence), observed covenant availability, 8-stream NOAA SOLAR-1 / GOES status & all 4 wholesale grids |
Native MCP **Resources** (`ocei://spec/v2.5`, `ocei://telemetry/live`, `ocei://grids/live`, `ocei://crypto/jwks`), **Prompts** (`ocei_live_arbitrage`, `ocei_multi_stack_diligence`, `ocei_physics_audit`), and Dual-Era discovery (`server/discover` for `2026-07-28` + `initialize` for `2025-11-25`/`06-18`/`03-26`) are exposed directly on `POST https://orbitcompute.ai/mcp`.
## Agent Skills (`agentskills.io` Standard)
- [`skills/ocei-live-arbitrage/SKILL.md`](./skills/ocei-live-arbitrage/SKILL.md) — Real-time 4-hub electricity arbitrage (with fresh-hub priority) & 8-stream NOAA SOLAR-1 / GOES storm failover
- [`skills/ocei-multi-stack-diligence/SKILL.md`](./skills/ocei-multi-stack-diligence/SKILL.md) — Institutional 3–7 yr TCO across 10 hardware stacks & 11 launch vehicles, scope reconciliation & credit underwriting
- [`skills/ocei-physics-audit/SKILL.md`](./skills/ocei-physics-audit/SKILL.md) — Adversarial Tri-Track sensitivity, FCC DA 26-1273 `<600 km`, van Berkel roofline & RFC-8785 cryptographic audit
## Repository Structure
| Path | Role |
| :--- | :--- |
| `ocei_kernel.py` | Zero-dependency Python reference physics & economics kernel (`1:1` bit-identical parity with live Worker `v2.5.0` + 18 Golden-Master assertions) |
| `ocei_rfc8785.py` | Strict IETF RFC 8785 (JCS) canonicalizer & pinned ECDSA P-256 (`ocei-es256-global-v2.3`) verifier |
| `sdk/ocei_router.py` | Zero-auth Python SDK, MCP/REST client, batch simulator & pinned signature verifier |
| `index.mjs` | Node.js stdio-to-Streamable-HTTP MCP bridge (`Dockerfile` & Glama/Registry target) |
| `ledger/` | Immutable SHA-256 hash-chained cryptographic audit trail, daily RFC-9162 Merkle rollups & OTS proofs |
| `k8s/keda-orbital-scaler.yaml` | Kubernetes / KEDA / Prometheus autoscaler manifest using fresh-hub US arbitrage & L1 storm failover |
| `notebooks/ocei_underwriting_audit.ipynb` | 6-tab institutional Excel (`.xlsx`) underwriting & sensitivity matrix generator (Google Colab) |
| `skills/` | 3 `agentskills.io`-compliant `SKILL.md` agent instruction sets |
## Core Protocol Endpoints
- **Control Room & Simulator:** `https://orbitcompute.ai/` | **1-Click Agent Connect:** `https://orbitcompute.ai/connect`
- **Formal Mathematical Specification:** `https://orbitcompute.ai/ocei` (`https://orbitcompute.ai/ocei.md`)
- **Institutional Reference Dossier:** `https://orbitcompute.ai/dossier`
- **Benchmark Governance Charter:** `https://orbitcompute.ai/governance` ([GOVERNANCE.md](./GOVERNANCE.md))
- **Live Attested Index & Batch Simulation:** `GET /v1/index/ocei` | `GET /v1/index/ocei?format=compact` | `POST /v1/simulate/batch`
- **D1 Time-Series, Performance Track Record, Events & Live Grids:** `GET /status` | `GET /v1/telemetry/history` | `GET /v1/telemetry/performance` | `GET /v1/telemetry/events` | `GET /v1/telemetry/live-grids` | `GET /v1/telemetry/forecast-window` | `GET /v1/datasets/historical-storms`
- **Dual-Era MCP `2026-07-28`, A2A `v1.0.1` & Zero-404 Discovery:** `POST /mcp` | `POST /a2a` | `GET /a2a/health` | `/.well-known/agent-card.json` | `/.well-known/agent-card` | `/.well-known/a2a/agent-card.json` | `/a2a/agent-card.json` | `/agent.json` | `/.well-known/mcp/server-card.json` | `/.well-known/mcp.json` | `/.well-known/api-catalog` | `/.well-known/ai-plugin.json` | `/.well-known/agents.json` | `/.well-known/jwks.json` | `/v1/openapi.json`
- **Prometheus / KEDA Metrics:** `GET /metrics` (see [`k8s/keda-orbital-scaler.yaml`](./k8s/keda-orbital-scaler.yaml))
## Quickstart: Python SDK, Pinned ES256 & Offline Reference Kernel
```python
from sdk.ocei_router import OceiOracleClient, verify_state_hash
from ocei_kernel import evaluate_ocei_kernel
client = OceiOracleClient()
grids = client.get_live_grids()
check = verify_state_hash(grids) # Strict RFC-8785 SHA-256 + pinned ES256 (ocei-es256-global-v2.3)
assert check["sha256_match"] is True and check["pinned_key_match"] is True
print(grids["live_terrestrial_spot_grids"]["regional_routing_summary"])
# Offline 1:1 physics reproduction (zero network calls):
print(evaluate_ocei_kernel(power_mw=100, hw="kyber_galaxy", launch_vehicle="starship_v3", satellite_lifespan_years=3))
```
Full cryptographic, key-pinning, and hash-chain verification instructions: [`AUDIT_VERIFICATION.md`](./AUDIT_VERIFICATION.md) | Security Policy: [`SECURITY.md`](./SECURITY.md) | Changelog: [`CHANGELOG.md`](./CHANGELOG.md).
## Citation
```bibtex
@techreport{spatialcomputeholdings2026ocei,
author = {{Spatial Compute Holdings // OrbitCompute Data Consortium}},
title = {{OCEI v2.5: Orbital Compute Efficiency Index — Deterministic Thermodynamic, Radiative, Optical, Credit-Underwriting, and Token-Economic Reference Model}},
institution = {OrbitCompute.ai},
year = {2026},
doi = {10.5281/zenodo.24181719},
url = {https://orbitcompute.ai/ocei}
}
```
TDQS
Scored across 4 tools
Each tool maps to a distinct mode of operation: heavy full-physics TCO audit, fast binary dispatch decision, multi-shell allocation solver, and data retrieval. The boundary between compute_arbitrage_dispatch (fast breakeven decision) and solve_optimal_workload_allocation (percentage splits across shells) is somewhat fuzzy, since both produce orbital-vs-terrestrial routing outcomes and could be misselected.
All four names are snake_case and verb-first (evaluate_, compute_, solve_, get_), which is a clear and predictable convention. The one minor deviation is compute_arbitrage_dispatch, where 'compute' can read as a noun rather than an action verb, slightly blurring the verb_noun pattern.
Four tools is lean but justified for a narrow orbital-compute economics domain, and each tool carries substantial distinct functionality (physics audit, dispatch, solver, data feed). The surface leans slightly thin — there is no lightweight lookup or config-inspection tool — but nothing feels redundant.
The set covers a sensible pipeline: retrieve history/live grids, make a fast dispatch call, solve allocation splits, and run the full evaluation. Minor gaps exist — no tool to enumerate supported hardware/regions or validate a config without running a full evaluation — but core workflows are reachable.