MCP Hub
Back to servers

oraclaw

Validated

Decision intelligence for AI agents. 19 ML algorithms, 12 tools, sub-25ms.

Registry
Stars
1
Forks
1
Tools
12
Updated
Mar 30, 2026
Validated
Apr 1, 2026
Validation Details

Duration: 5.9s

Server: oraclaw v1.0.0

Quick Install

npx -y @oraclaw/mcp-server

OraClaw

MIT License Tests Algorithms Latency npm MCP API Status Sponsor

Decision intelligence for AI agents. 19 algorithms, 12 MCP tools, sub-25ms. Zero LLM cost.

OraClaw gives your AI agent real decision-making capabilities -- bandits, solvers, forecasters, risk models -- without burning tokens on reasoning. Every tool runs deterministically, returns structured JSON, and costs nothing to compute.


Try It Now

The API is live. No signup, no API key, no SDK install. Just curl:

curl -X POST https://oraclaw-api.onrender.com/api/v1/optimize/bandit \
  -H 'Content-Type: application/json' \
  -d '{
    "arms": [
      {"id": "A", "name": "Option A", "pulls": 10, "totalReward": 7},
      {"id": "B", "name": "Option B", "pulls": 10, "totalReward": 5},
      {"id": "C", "name": "Option C", "pulls": 2, "totalReward": 1.8}
    ],
    "algorithm": "ucb1"
  }'

Response (<1ms):

{
  "selected": { "id": "C", "name": "Option C" },
  "score": 1.876,
  "algorithm": "ucb1",
  "exploitation": 0.9,
  "exploration": 0.976,
  "regret": 0.1
}

The bandit correctly identifies Option C as under-explored and selects it for testing -- balancing exploration and exploitation without you writing any statistics code.


Quick Start

Option 1: REST API (no install)

Hit any of 17 endpoints directly. Free tier (100 calls/day) needs no auth.

# Bayesian inference
curl -X POST https://oraclaw-api.onrender.com/api/v1/predict/bayesian \
  -H 'Content-Type: application/json' \
  -d '{"prior": 0.3, "evidence": [{"factor": "positive_test", "weight": 0.9, "value": 0.05}]}'

# Monte Carlo simulation
curl -X POST https://oraclaw-api.onrender.com/api/v1/simulate/montecarlo \
  -H 'Content-Type: application/json' \
  -d '{"simulations": 1000, "distribution": "normal", "params": {"mean": 100, "stddev": 15}}'

# Anomaly detection
curl -X POST https://oraclaw-api.onrender.com/api/v1/detect/anomaly \
  -H 'Content-Type: application/json' \
  -d '{"data": [10, 12, 11, 13, 50, 12, 11, 10], "method": "zscore", "threshold": 2.0}'

Option 2: MCP Server (for AI agents)

Add to your Claude Code mcp.json or claude_desktop_config.json:

{
  "mcpServers": {
    "oraclaw": {
      "command": "npx",
      "args": ["tsx", "/path/to/oraclaw/packages/mcp-server/src/index.ts"]
    }
  }
}

Then ask your agent:

"Which email subject line should I use? Here are results from the last 3 variants..."

The agent calls optimize_bandit and gets a statistically grounded selection in 0.01ms.

Option 3: npm SDK

npm install @oraclaw/bandit
import { OraBandit } from '@oraclaw/bandit';

const client = new OraBandit({ baseUrl: 'https://oraclaw-api.onrender.com' });
const result = await client.optimize({
  arms: [
    { id: 'A', name: 'Short Subject', pulls: 500, totalReward: 175 },
    { id: 'B', name: 'Long Subject', pulls: 300, totalReward: 126 },
  ],
  algorithm: 'ucb1',
});

14 SDK packages available: @oraclaw/bandit, @oraclaw/solver, @oraclaw/simulate, @oraclaw/risk, @oraclaw/forecast, @oraclaw/anomaly, @oraclaw/graph, @oraclaw/bayesian, @oraclaw/ensemble, @oraclaw/calibrate, @oraclaw/evolve, @oraclaw/pathfind, @oraclaw/cmaes, @oraclaw/decide


Algorithms (19)

#AlgorithmEndpointAvg LatencyUse Case
1Multi-Armed Bandit/api/v1/optimize/bandit0.01msA/B testing, feature flags
2Contextual Bandit (LinUCB)/api/v1/optimize/contextual-bandit0.05msPersonalized recommendations
3CMA-ES/api/v1/optimize/cmaes12msContinuous optimization
4Genetic Algorithm/api/v1/optimize/evolve8msMulti-objective optimization
5Monte Carlo Simulation/api/v1/simulate/montecarlo4msRisk assessment, financial modeling
6Scenario Planning/api/v1/simulate/scenario<3msWhat-if analysis
7Constraint Solver (LP/MIP)/api/v1/solve/constraints2msResource allocation, scheduling
8Schedule Optimizer/api/v1/solve/schedule3msTask assignment
9Decision Graph/api/v1/analyze/graph0.5msPageRank, community detection
10Portfolio Risk (VaR/CVaR)/api/v1/analyze/risk<2msPortfolio management
11Bayesian Inference/api/v1/predict/bayesian0.02msBelief updating, diagnosis
12Ensemble Model/api/v1/predict/ensemble0.03msModel aggregation
13Time Series Forecast/api/v1/predict/forecast0.08msDemand forecasting
14Anomaly Detection/api/v1/detect/anomaly0.01msFraud, monitoring
15Convergence Scoring/api/v1/score/convergence0.04msMulti-source agreement
16Calibration Scoring/api/v1/score/calibration0.02msPrediction quality
17A* Pathfinding/api/v1/plan/pathfind0.1msRoute planning, critical path

14 of 17 endpoints respond in under 1ms. All under 25ms.


MCP Tools (12)

ToolWhat It Does
optimize_banditA/B test any set of options with UCB1, Thompson Sampling, or Epsilon-Greedy
optimize_contextualContext-aware selection using LinUCB
optimize_cmaesBlack-box continuous optimization (CMA-ES)
solve_constraintsLP/MIP/QP optimization via HiGHS
solve_scheduleEnergy-matched task scheduling
analyze_decision_graphPageRank, Louvain communities, bottleneck detection
analyze_portfolio_riskVaR and CVaR (Expected Shortfall)
score_convergenceMulti-source agreement scoring
score_calibrationBrier score and log score for prediction quality
predict_forecastARIMA and Holt-Winters time series forecasting
detect_anomalyZ-Score and IQR anomaly detection
plan_pathfindA* pathfinding with k-shortest paths

Pricing

TierCallsPriceAuth
Free100/day$0None
Starter10K/mo$9/moAPI key
Growth100K/mo$49/moAPI key
Scale1M/mo$199/moAPI key
EnterpriseCustomCustomAPI key

USDC pay-per-call (x402): AI agents pay $0.01-$0.15 per call autonomously with USDC on Base. No subscription, no API key. Machine-to-machine payments.


Performance

All benchmarks measured over 50 iterations on a single core. No GPU, no external services.

EndpointAvg LatencyThroughputCorrectness
Bandit (3 arms, UCB1)0.01 ms100,000 ops/sVerified
Bandit (20 arms, Thompson)0.03 ms33,333 ops/sVerified
Contextual Bandit (5 features)0.05 ms20,000 ops/sVerified
Bayesian (3 factors)0.02 ms50,000 ops/sVerified
Ensemble (4 models)0.03 ms33,333 ops/sVerified
Convergence (5 sources)0.04 ms25,000 ops/sVerified
Calibration (100 predictions)0.02 ms50,000 ops/sVerified
Anomaly Detection (100 pts)0.01 ms100,000 ops/sVerified
Holt-Winters (48 pts)0.08 ms12,500 ops/sVerified
A* Pathfinding (10 nodes)0.1 ms10,000 ops/sVerified
Decision Graph (10 nodes)0.5 ms2,000 ops/sVerified
Constraint Solver (3 vars)2 ms500 ops/sVerified
Schedule (5 tasks x 5 slots)3 ms333 ops/sVerified
Monte Carlo (5,000 iters)4 ms250 ops/sVerified
Genetic Algorithm (30 pop, 50 gen)8 ms125 ops/sVerified
CMA-ES 2D (Rosenbrock)12 ms83 ops/s6e-14 fitness
CMA-ES 10D (Sphere)22 ms45 ops/sVerified

Products (14 npm packages)

PackageDescription
@oraclaw/banditA/B testing and feature optimization powered by contextual bandits
@oraclaw/solverEnergy-matched task scheduling and LP/MIP resource allocation
@oraclaw/cmaesSOTA derivative-free continuous optimizer
@oraclaw/graphPageRank, community detection, and critical path analysis
@oraclaw/forecastTime series forecasting with ARIMA and Holt-Winters
@oraclaw/anomalySub-millisecond anomaly detection via Z-score and IQR
@oraclaw/riskVaR, CVaR, stress testing, and multi-factor risk scoring
@oraclaw/bayesianBayesian inference engine
@oraclaw/simulateMonte Carlo simulation with 6 distribution types
@oraclaw/ensembleMulti-model consensus and prediction aggregation
@oraclaw/calibrateCalibration scoring and forecast quality metrics
@oraclaw/evolveGenetic algorithm with multi-objective Pareto optimization
@oraclaw/pathfindA* pathfinding with cost/time/risk breakdown
@oraclaw/decideFull decision intelligence pipeline

Architecture

Built on the OODA loop framework:

OBSERVE  -->  Signal detection, anomaly scanning, data ingestion
ORIENT   -->  Context building, graph analysis, environment mapping
DECIDE   -->  Option generation, Monte Carlo simulation, Bayesian inference
ACT      -->  Execution planning, pathfinding, real-time adjustment

Stack: Fastify 5 + TypeScript (strict) | Expo 55 + React Native 0.83 | PostgreSQL (Supabase) | Turborepo monorepo


Project Structure

oraclaw/
  mission-control/
    apps/
      api/           # Fastify backend (17 endpoints, 19 algorithms)
      mobile/        # Expo React Native app
    packages/
      mcp-server/    # MCP server (12 tools for AI agents)
      sdk/           # 14 npm packages (@oraclaw/*)
      clawhub-skills/# 14 ClawHub skills for agent marketplaces
      shared-types/  # TypeScript interfaces
      schemas/       # Zod validation
  web/               # Next.js 15 dashboard + docs
  launch/            # GTM materials

Development

cd mission-control

# Start dev server
npm run dev

# Run tests (1,072 passing)
npm run test

# Run benchmarks
npx tsx scripts/benchmark-all.ts

# Type check
cd apps/api && npx tsc --noEmit

Links


License

MIT

Reviews

No reviews yet

Sign in to write a review