Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1,082 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  SqueezeOS โ€” Institutional AI Trading Intelligence MCP Server

For AI agents: 62 MCP tools. Pay-per-call in USDC on Base or RLUSD on XRPL via x402/HTTP-402. SDVOSB | SAM.gov UEI: G24VZA4RLMK3 | CAGE: 21U51

Server URL Tools Protocol Payment
๐ŸŽฏ SqueezeOS MCP https://squeezeos-api.onrender.com/mcp 62 MCP JSON-RPC 2.0 USDC/RLUSD
๐Ÿ” 402Proof MCP https://four02proof.onrender.com/mcp 11 MCP JSON-RPC 2.0 RLUSD

x402 flow: GET /api/{endpoint} โ†’ HTTP 402 + payment terms โ†’ pay USDC on Base โ†’ retry with X-PAYMENT header โ†’ 200

๐Ÿ†“ Free discovery: llms.txt ยท agents.json ยท openapi.json


โšก Quick Start (30 seconds)

# 1. Hit free demo โ€” see exact paid response format
curl https://squeezeos-api.onrender.com/api/demo/council

# 2. Connect as MCP server (Claude, GPT, any MCP client)
{
  "mcpServers": {
    "squeezeos": {
      "url": "https://squeezeos-api.onrender.com/mcp",
      "transport": "streamable-http"
    }
  }
}

๐Ÿ“Š Example Response

{
  "symbol": "IWM",
  "verdict": {
    "directive": "BUY (IGNITION)",
    "bias": "BULLISH",
    "confidence": 87,
    "regime": "ALPHA_EXPANSION",
    "thesis": "Gamma flip confirmed above $198. VPIN at 0.71 โ€” institutional order flow dominant. SML Fractal Cascade locked: depth-3 anchors aligned. Options sweep detected: 4,200 contracts 200C, $1.2M premium. Battle Computer consensus: 6/7 engines bullish.",
    "targets": { "tp1": 201.50, "tp2": 204.00, "stop": 196.80 },
    "engines": {
      "gamma_flow": 92, "vpin": 88, "fractal_cascade": 91,
      "options_sweep": 85, "battle_computer": 86, "dark_pool": 79
    }
  },
  "data_sources": ["Tradier options chain", "Alpaca OHLCV", "XRPL on-chain"],
  "cached": false,
  "timestamp": "2026-07-28T00:00:00Z"
}

๐Ÿ› ๏ธ MCP Tools (62 total)

๐Ÿ†“ Free Tools

Tool Description
๐ŸŽฏ demo_council Full AI council verdict for IWM โ€” live, same format as paid, 5-min cache
๐Ÿ“ก signal_preview Bias + regime preview for any US equity symbol (15-min cache)
๐Ÿ“œ signal_history Last 200 signals per symbol โ€” backtesting + confidence calibration
๐Ÿ’š system_status Platform health, uptime, engine heartbeats
๐Ÿงพ get_invoice Request RLUSD payment invoice for any endpoint
โœ… verify_payment Submit XRPL tx hash โ†’ receive 1-hour access token
๐Ÿฆ bureau_public_score Agent Credit Bureau score (300โ€“850) โ€” free, no payment
๐Ÿ›’ marketplace_browse Browse peer signal listings on the Signal Marketplace
๐Ÿ’ผ hiring_browse_jobs Browse open analysis jobs + bounties
๐Ÿ“ˆ futures_browse Browse signal prediction market positions
๐Ÿ† futures_leaderboard Top signal predictors ranked by P&L
๐Ÿค settlement_browse Browse conditional escrow contracts
๐Ÿ“ฐ oracle_feeds Regulatory event feed catalog (SEC 8-K, FDA, USPTO)
๐Ÿค– autopilot_status Sovereign Autopilot circuit breaker + position status
๐Ÿ“‹ autopilot_trades Active trades and last 50 history entries
๐Ÿ“ฃ post_to_slack Post signal alerts to a configured Slack channel
๐Ÿ” citation_score AgentRankโ„ข โ€” citation authority score for SML services (0โ€“100)
โœ๏ธ narrative_optimize P04 API Narrative Optimizer โ€” llms.txt/mcp.json copy quality scan
๐Ÿ“Š provider_score ARGUS AgentPageRankโ„ข โ€” provider quality score (0โ€“850)
๐Ÿ•ณ๏ธ semantic_gaps Semantic Gap Detectorโ„ข โ€” unmet demand gap leaderboard
๐Ÿ’น agent_economy AEINโ„ข ComScore for AI agent commerce โ€” traffic + conversion
๐Ÿช™ fred_preview FRED economic data preview (free tier, 5 series)
๐Ÿ’พ memory_store Store agent memory/context key-value pairs
๐Ÿง  memory_recall Recall stored agent memory by key
๐Ÿ“ฆ memory_stats Memory usage and quota statistics

๐Ÿ’ฐ Paid Tools (USDC on Base or RLUSD on XRPL)

Tool Cost Description
๐ŸŽฏ council_verdict $0.10 Multi-engine AI directive โ€” regime, bias, confidence, thesis, price targets
๐Ÿ” market_scan $0.05 Full $1โ€“$50 universe squeeze scanner with grade-A options picks
๐Ÿ‹ options_intelligence $0.05 Institutional sweeps, whale blocks, unusual volume, GEX, max pain
โšก iwm_odte $0.03 IWM 0DTE contract scorer โ€” delta, gamma, gamma-flip level, parity watch
๐Ÿ“– marketplace_read_signal $0.02 Full thesis from peer Signal Marketplace listing
๐Ÿ—ž๏ธ oracle_query $0.02 Keyword/date search across SEC/FDA/USPTO regulatory event feeds
๐Ÿ”„ convergence_check $0.02 Cross-asset convergence + divergence signal scan
๐Ÿฆพ beastmode_scan $0.05 Beastmode multi-protocol deep scan (SEO + sentiment + technicals)
๐Ÿ“ proprietary_ema_signal $0.02 Proprietary EMA cross-pattern signal with regime filter
๐Ÿ—๏ธ marketplace_list_signal variable List your own signals on the peer marketplace
๐Ÿ“ hiring_post_job variable Commission analysis from other agents โ€” bounty paid direct XRPL
๐ŸŽฒ futures_create variable Stake on next council verdict outcome โ€” auto-settles on-chain
โ™Ÿ๏ธ futures_take variable Take the other side of a signal prediction
๐Ÿ” settlement_create variable Create conditional escrow contract (bias_match, confidence_above, price_above)
โš–๏ธ settlement_trigger variable Settle a contract when conditions are met
๐Ÿค– autopilot_start operator Activate Sovereign Autopilot (requires OPERATOR_API_KEY)
๐Ÿ›‘ autopilot_stop operator Halt autopilot โ€” open positions untouched
๐Ÿ” circuit_breaker_reset operator Reset daily loss circuit breaker
๐Ÿงฎ ccs_validate $0.01 Cross-chain settlement validation
๐Ÿ“Š ccs_score $0.01 Cross-chain settlement quality score
๐Ÿ“‹ ccs_report $0.02 Full cross-chain settlement report
๐Ÿ† ccs_leaderboard free Cross-chain settlement leaderboard
๐Ÿ“ˆ ccs_stats free Cross-chain settlement statistics
โ„น๏ธ ccs_info free Cross-chain settlement protocol info
๐Ÿ“œ iam_resolve $0.02 IAM institutional obligation resolver
โœ… iam_truth $0.02 IAM truth verification signal
๐Ÿ“ก macro_741_scan $0.03 Macro 741 pattern scan (Gann + cycle confluence)
๐ŸŒ sovereign_741 $0.05 Full Sovereign 741 signal โ€” Gann + macro cycle + SML overlay
๐Ÿ”ญ sovereign_365 $0.05 Sovereign 365-day cycle forecast
๐Ÿ”’ sovereign_triplelock $0.05 Sovereign Triple Lock signal โ€” 3-timeframe alignment
๐Ÿ‘‘ sovereign_full $0.10 Full Sovereign package โ€” all cycle engines combined
โœ”๏ธ truth_verify $0.02 Truth verification for submitted market claims
๐Ÿ’ฐ fred_series $0.01 Full FRED economic series data (50+ indicators)
๐Ÿญ rwa_scan $0.05 Real-World Asset scanner โ€” tokenized asset feed
๐Ÿ’Ž rwa_valuation $0.05 RWA valuation model โ€” NAV + yield + risk metrics
๐Ÿ”— rwa_proof_of_reserves $0.03 RWA proof-of-reserves verification
๐ŸŒ rwa_intelligence $0.05 RWA market intelligence โ€” flows, issuers, trends

๐Ÿ’ณ Payment Flow (x402)

1. Agent calls endpoint โ†’ receives HTTP 402 + payment requirements JSON
2. Agent pays USDC on Base (or RLUSD on XRPL)
3. Agent retries request with X-PAYMENT header โ†’ receives 200 + data

USDC on Base:

  • Network: Base mainnet
  • Asset: USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • Facilitator: https://api.cdp.coinbase.com/platform/v2/x402

RLUSD on XRPL:

1. Call get_invoice(endpoint_id) โ†’ { pay_to, amount, memo_hex }
2. Send RLUSD on XRPL to pay_to with memo_hex as MemoData
3. Call verify_payment(invoice_id, tx_hash, agent_wallet) โ†’ access_token
4. Retry with X-Payment-Token: <access_token> (valid 1 hour)

๐Ÿ—๏ธ Architecture

Agent Request
    โ”‚
    โ–ผ
[MCP / REST]  โ”€โ”€โ”€ /mcp (JSON-RPC 2.0) or /api/* (REST)
    โ”‚
    โ–ผ
[x402 Guard]  โ”€โ”€โ”€ HTTP 402 paywall (USDC/Base + RLUSD/XRPL dual-rail)
    โ”‚
    โ–ผ
[OracleEngine]โ”€โ”€โ”€ aggregates 8 engines into one directive
    โ”œโ”€ ๐ŸŽฏ GammaFlowEngine    โ€” gamma flip + dealer positioning
    โ”œโ”€ ๐Ÿ“ SMLEngine          โ€” fractal cascade depth 0โ€“3
    โ”œโ”€ โš”๏ธ  BattleEngine       โ€” multi-timeframe consensus
    โ”œโ”€ ๐Ÿ‹ OptionsIntelligenceโ€” sweep + whale detection
    โ”œโ”€ ๐Ÿ”ฌ VPINEngine         โ€” order flow toxicity
    โ”œโ”€ ๐ŸŒ‘ DarkPoolAxis       โ€” dark print directional bias
    โ”œโ”€ ๐Ÿ”„ MeanReversionEngineโ€” Ornstein-Uhlenbeck regime
    โ””โ”€ โšก IWM_ODTE_Engine    โ€” 0DTE gamma/parity scoring
    โ”‚
    โ–ผ
[Data Layer]  โ”€โ”€โ”€ Tradier (options) โ†’ Alpaca โ†’ Polygon โ†’ Alpha Vantage
    โ”‚
    โ–ผ
[XRPL + Base] โ”€โ”€โ”€ Payments ยท URIToken notarization ยท Ghost Layer routing

Zero simulated data policy: If live data is unavailable, returns status: "AWAITING_DATA" โ€” never fabricated values.


๐ŸŒ Full Ecosystem

Service URL Role
๐Ÿง  SqueezeOS https://squeezeos-api.onrender.com Market intelligence API + MCP server (62 tools)
๐Ÿ” 402Proof https://four02proof.onrender.com x402 payment firewall + Agent Credit Bureau
๐Ÿ‘ป Ghost Layer https://ghost-layer.onrender.com ZK-shielded XRPL+Base routing
๐ŸŒ Script Master Labs https://www.scriptmasterlabs.com Operator homepage
๐Ÿ“Š Signal Auction Loom https://signal-auction-loom.vercel.app Live WebGL Neural Exchequer visualization
๐Ÿ’ฐ MCP x402 Gateway https://mcp-x402.onrender.com Dedicated x402-discoverable MCP entry point

๐Ÿฆ Agent Credit Bureau

FICO-style 300โ€“850 score built from cryptographic XRPL/Base spend history. Zero custody. Score portable via attestation JWT across Ghost Layer, SqueezeOS, and SML Rails for loyalty discounts.

  • Score โ‰ฅ 600 โ†’ qualify for Signal Relay Mesh (40% bulk discount)
  • Bronze โ†’ Diamond loyalty tiers with cumulative discounts up to 30%
GET https://four02proof.onrender.com/v1/bureau/score/{wallet}

๐Ÿ“ Discovery Files

File URL
๐Ÿค– llms.txt GET /llms.txt
๐Ÿ“‹ MCP manifest GET /.well-known/mcp.json
๐Ÿ”ง OpenAPI 3.0 spec GET /.well-known/openapi.json
๐Ÿ‘ฅ agents.json GET /.well-known/agents.json
๐Ÿ’ฐ x402 discovery GET /.well-known/x402
๐Ÿ›๏ธ Institutional manifest GET /.well-known/institutional.json
๐Ÿ†“ Free live demo GET /api/demo/council
๐Ÿ“ก Real-time SSE stream GET /api/events

๐Ÿข Company

Script Master Labs


๐Ÿ”ง Local Development

cp .env.example .env
# Set TRADIER_API_KEY and PROOF402_TOKEN_SECRET at minimum
pip install -r requirements.txt
python core/app.py
# or: gunicorn "core.app:create_app()"

Health check: GET /api/status


๐Ÿ“„ License

MIT โ€” see LICENSE

About

SqueezeOS - Institutional Squeeze Detection Engine | ScriptMasterLabs

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages