zeroH MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@zeroH MCPverify whether 12 * 12 = 145 is correct"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
zeroH MCP (zeroh-mcp)
zeroH MCP is the official Model Context Protocol (MCP) server and Python SDK for the zeroH Deterministic AI Hallucination Guardrail & Step-by-Step Proof Ledger.
It enables AI coding assistants, autonomous agents, and IDE environments (Claude Desktop, Antigravity IDE, Cursor, Windsurf, and custom MCP hosts) to intercept arithmetic/algebraic hallucinations, seal multi-step reasoning chains with SHA-256 Merkle commitments, and bridge seamlessly to the zeroH Sovereign Enclave—while keeping all proprietary Sovereign Invariant Formulas, baselines, and canonical ledger tensors 100% vaulted and non-exposed.
Architectural Highlights & IP Boundary
zeroH-MCP operates across a strict Dual-Tier Split-Enclave Architecture:
Tier 1 — Public Open-Boundary AST Verifier (Zero-Config Local Mode):
Works out-of-the-box with zero external dependencies.
Exact Rational Arithmetic (
compute,validate_claim): Evaluates numerical expressions via Pythonastandfractions.Fractionto eliminate floating-point drift and catch calculation hallucinations (12 * 12 = 145$\rightarrow$REJECTED_HALLUCINATION).Algebraic Substitution Verification (
solve_equation,verify_step): Solves equations and verifies every candidate root by exact substitution.Tamper-Evident SHA-256 Step Ledger (
verify_step,session_report): Tracks step-by-step reasoning chains and issues aFULLY_PROVENcryptographic seal only when every active step in the chain is verified.Byzantine Fault Tolerant (BFT) Epistemic Consensus (
epistemic_consensus): Classifies multi-agent proposals across the 4-tier epistemic lattice (QATI,ZANNI_GHALIB,SHAKK,WAHM) with automatic hallucination veto.
Tier 2 — Remote Sovereign Enclave Bridge (
ZEROH_API_URL+ZEROH_API_KEY):When configured with a zeroH Enterprise Enclave key,
zeroh-mcproutes deep verification and canonical token interception (intercept_token,validate_claim,zk_verify_receipt) to the air-gapped Sovereign Enclave over HTTPS.All proprietary invariant constants, closed-form equations, and canonical ledger tensors remain strictly inside the remote enclave; only normalized Coherence Index ($0.0 - 1.0$), Confidence Score ($0% - 100%$), Deterministic Status, and Cryptographic Receipts are returned.
Related MCP server: Mcp-Omega-Brain
Quick Start
1. Installation
git clone https://github.com/khurramcr7/zeroH-MCP.git
cd zeroH-MCP
pip install -e .(Optional) Install sympy for extended symbolic algebra support:
pip install -e ".[symbolic]"2. Configure in Claude Desktop / Cursor / Antigravity IDE
Add the following to your MCP configuration file (claude_desktop_config.json, .cursor/mcp.json, or Antigravity MCP settings):
{
"mcpServers": {
"zeroh-mcp": {
"command": "python",
"args": ["-m", "zeroh_mcp.server"],
"env": {
"ZEROH_API_URL": "",
"ZEROH_API_KEY": ""
}
}
}
}Exposed MCP Tools (9 Deterministic Tools)
Tool Name | Description |
| Intercepts and validates a factual, mathematical, or scientific claim. Returns |
| Submits a single reasoning or mathematical step ( |
| Seals a multi-step reasoning session ( |
| Computes the exact rational fraction ( |
| Solves algebraic equations and verifies all solutions by exact substitution. |
| Queries the remote Sovereign Enclave ledger for a canonical token/root tensor (requires |
| Generates a SHA-256 cryptographic commitment receipt over a verified claim (or requests an R1CS proof from the Sovereign Enclave). |
| Evaluates multi-agent proposals on the 4-tier BFT epistemic lattice ( |
| Reports server health, active execution tier, and |
Python SDK & CLI Usage
CLI (zeroh-cli)
# Validate a claim from the terminal
python -m zeroh_mcp.cli "In exact arithmetic, 144 / 12 = 12"
# Output raw JSON receipt
python -m zeroh_mcp.cli --json "12 * 12 = 145"
# Check Sovereign Enclave & IP protection status
python -m zeroh_mcp.cli --statusPython SDK (ZeroHClient)
from zeroh_mcp import ZeroHClient
client = ZeroHClient()
# 1. Intercept calculation hallucinations
receipt = client.validate("The square of 15 is 15 * 15 = 225.")
print(receipt["deterministic_status"], receipt["confidence_score"])
# -> VERIFIED_COMPUTED_PASS 100.0%
# 2. Step-by-step cryptographic proof ledger
client.verify_step("session_1", {"kind": "compute", "expr": "3 * 19", "value": "57"})
client.verify_step("session_1", {"kind": "solve", "equation": "x**2 - 9 = 0", "claimed": {"x": 3}})
seal = client.session_report("session_1")
print(seal["seal"], seal["merkle_head_hash"])
# -> FULLY_PROVEN <64-char sha256>Security & Zero-Leakage Audit
Run the automated IP & Formula Non-Exposure Audit and test suite at any time:
python scripts/security_audit_no_leaks.py
pytest -vSee SECURITY_AND_IP_BOUNDARY.md for full details on how proprietary formulas remain 100% isolated inside the Sovereign Enclave.
This server cannot be deployed
Maintenance
Related MCP Connectors
Deterministic signed verification of numeric & financial claims for AI agents & spreadsheets.
Tamper-evident proof creation and verification for AI agents via MCP, A2A, and REST.
Verified memory for AI agents. Signed assertions, billing attestation, session continuity.
Attestable memory, truth, provenance. Hybrid Ed25519 + ML-DSA-65 receipts; USDC settlement on Base.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to sign decisions with post-quantum cryptographic proofs and maintain secure audit trails for compliance. It provides tools for stamping events, verifying chain integrity, and exporting audit data across industries like finance and healthcare.439 npmMIT
- AlicenseAqualityBmaintenanceAI agent provenance, trust, and auditability layer. VERITAS multi-gate scoring, Cortex approval gates, S.E.A.L. hash-chain audit ledger, and semantic RAG with cryptographic provenance tracking for every decision an agent makes.275MIT
- AlicenseAqualityBmaintenanceProvides cryptographic truth infrastructure for AI agents, enabling them to seal content with SHA-256 and Ed25519, verify receipts, anchor them to Bitcoin via OpenTimestamps, generate citations, and audit chains of receipts.551 npm1MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to verify proposed actions through federated adversarial consensus among multiple LLMs, providing Ed25519-signed attestations to prevent hallucinations, unverified counterparties, and compliance risks before execution.2MIT