CellMath

AI memory governance & hallucination-blocking MCP server with verifiable knowledge cells.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
90%
Naming quality
87%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,792Tokens (tool definitions)
~5.2 KBTypical response size
Moderate attention impact (1.40% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "cellmath": {
      "url": "https://cellmath.ai.studio/api/mcp"
    }
  }
}

Remote endpoints

https://cellmath.ai.studio/api/mcpstreamable-http

What it can do

Tool inventory

Tools (3)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢vault_access(action, query, id, auto_hydrate, limit_full, ...)

[PURPOSE] Retrieval Gate + Output Gate over knowledge vault: searches telegraphic index with Zero-Match Silence, masks PII/secrets on delivery, checks DAG contradictions & dynamic token budget, and optionally auto-hydrates top-1 verified cell (score>=2.5, kappa>=0.85; blocks auto-hydration for unverified hypotheses and >180d stale volatile facts while allowing timeless definitions/common-sense). [CALL] Find facts, lookup codes/rules, or explicitly inspect a cell body (action=get). [SKIP] State mutations (use vault_commit) or command safety checks (use verify_safety). [VS] vault_commit=mutates; this=retrieval+output governance. [RETURN] {total,silent_mode,output_gate,items:[{id,title,guidance,content?,freshness,output_gate}]}. [SIDE] None (read-only).

Input Schema

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "search",
        "get",
        "graph"
      ],
      "default": "search",
      "description": "Retrieval action: \"search\" query index, \"get\" specific cell/pointer, or \"graph\" topology DAG."
    },
    "query": {
      "type": "string",
      "description": "1-3 noun keywords, exact code, or error ID for search."
    },
    "id": {
      "type": "string",
      "description": "Canonical cell ID or Pi pointer to hydrate when action=get."
    },
    "auto_hydrate": {
      "type": "boolean",
      "default": false,
      "description": "If true, hydrates top 1 Output-Gate-approved body (score>=2.5, verified kappa>=0.85, non-contradicted, fresh or timeless definition/common-sense). Unverified/stale-volatile items stay telegraphic with warnings."
    },
    "limit_full": {
      "type": "integer",
      "default": 1,
      "description": "Max number of full bodies to hydrate when auto_hydrate=true (1-3)."
    },
    "include_session": {
      "type": "boolean",
      "default": false,
      "description": "If true, includes past session cycle records. Default false prevents search history feedback loop."
    },
    "category": {
      "type": "string",
      "enum": [
        "cell",
        "organ",
        "fact",
        "skill",
        "hypothesis",
        "all"
      ],
      "default": "all",
      "description": "Filter by node category."
    },
    "tag": {
      "type": "string",
      "description": "Filter by exact categorical tag."
    },
    "limit": {
      "type": "integer",
      "default": 10,
      "description": "Max items returned (1-50)."
    }
  }
}
🔴vault_commit(action, title, content, id, goalTask, ...)

[PURPOSE] Input Gate + Storage Gate for durable memory mutations: validates provenance tags, masks PII/secrets on ingest (respecting exact_byte), stages unverified claims to Zone 2 hypothesis (v0.1), supports bi-temporal superseding, 4-tier purge removal, causal edge linking, and 7-turn session checkpoints. [CALL] New fact established, cell mutated/deleted, edge linked, or 7-turn milestone reached. [SKIP] Simple read queries (use vault_access). [VS] vault_access=reads; this=input+storage governance. [RETURN] {success,action,input_gate,item,cycle_id}. [SIDE] Writes to Firestore and local WAL.

Input Schema

{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "save",
        "update",
        "checkpoint",
        "link_edge",
        "resolve_hypothesis",
        "remove",
        "sync",
        "unblock",
        "lift_do_not"
      ],
      "default": "save",
      "description": "Mutation action: save new cell, update cell, remove/delete target cell, freeze checkpoint, link edge, resolve hypothesis, unblock HVS constraint, or sync."
    },
    "title": {
      "type": "string",
      "description": "Descriptive title for knowledge node."
    },
    "content": {
      "type": "string",
      "description": "Verified factual content or reasoning summary."
    },
    "id": {
      "type": "string",
      "description": "Target cell ID (for update, remove/delete target cell, resolve, unblock/lift_do_not, or explicit ID; omit on unblock to lift all active constraints for caller)."
    },
    "goalTask": {
      "type": "string",
      "description": "Mission goal or reasoning milestone when action=checkpoint."
    },
    "ai_compressed_summary": {
      "type": "string",
      "description": "Compressed 30-word summary: [Core: ...] [Causal: ...]"
    },
    "is_hypothesis": {
      "type": "boolean",
      "default": false,
      "description": "Set true to stage as Zone 2 hypothesis (kappa=0.68)."
    },
    "supersedes_id": {
      "type": "string",
      "description": "Predecessor cell ID to supersede when updating."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Categorical search tags."
    },
    "from": {
      "type": "string",
      "description": "Source node ID when action=link_edge."
    },
    "to": {
      "type": "string",
      "description": "Target node ID when action=link_edge."
    },
    "rel": {
      "type": "string",
      "description": "Relation type (supports, why, depends_on, relates_to, contradicts)."
    },
    "hypothesis_action": {
      "type": "string",
      "enum": [
        "promote",
        "discard"
      ],
      "description": "Resolution action when action=resolve_hypothesis."
    },
    "confirm": {
      "type": "boolean",
      "default": true,
      "description": "Explicit commit approval flag."
    }
  }
}
🟢verify_safety(actionProposal, operation, params)

[PURPOSE] Independent Execution Safety Gate for destructive commands, SQLi/shell injection detection, and mathematical logic evaluation (1D Wasserstein distance for context/hallucination drift, Shannon entropy gain, symbolic/numerical matrix solver, groundedness check). [CALL] Prior to executing proposed bash/DB commands or verifying math/distributions. [SKIP] Benign natural text conversation or memory delivery gating (handled by vault_access Output Gate). [VS] Pre-execution guard; does not execute target command. [RETURN] {isCertified:bool,riskLevel:number,violations:string[]}. [SIDE] None (read-only).

Input Schema

{
  "type": "object",
  "properties": {
    "actionProposal": {
      "type": "string",
      "description": "Command, script, or action proposal to verify."
    },
    "operation": {
      "type": "string",
      "enum": [
        "safety_check",
        "wasserstein",
        "entropy",
        "matrix_solve",
        "groundedness",
        "unblock"
      ],
      "default": "safety_check",
      "description": "Verification or math operation."
    },
    "params": {
      "type": "object",
      "description": "Operation parameters. For wasserstein: { distributionA (or u, p, a, distA): number[], distributionB (or v, q, b, distB): number[], supports?: number[], u_weights?: number[], v_weights?: number[] }. For matrix_solve: { matrixA (or matrix, A): number[][], vectorB (or vector, b)?: number[], operation?: \"solve\"|\"determinant\"|\"inverse\"|\"eigenvalues\"|\"svd\" }. For entropy: { probabilities (or p, probs): number[] }. For groundedness: { output_text: string }.",
      "properties": {
        "distributionA": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "First 1D distribution or sample array (aliases: u, p, a, distA, source)."
        },
        "distributionB": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Second 1D distribution or sample array (aliases: v, q, b, distB, target)."
        },
        "u": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Alias for distributionA (first 1D distribution or sample values)."
        },
        "v": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Alias for distributionB (second 1D distribution or sample values)."
        },
        "p": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Alias for distributionA or entropy probabilities."
        },
        "q": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Alias for distributionB."
        },
        "supports": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Optional 1D support coordinates for Wasserstein distance."
        },
        "matrixA": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "description": "2D numeric matrix A (aliases: matrix, A)."
        },
        "vectorB": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Right-hand side vector B for linear system A*x = B (aliases: vector, b)."
        },
        "probabilities": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Probability distribution array for Shannon entropy calculation."
        },
        "output_text": {
          "type": "string",
          "description": "Text to evaluate for citation groundedness."
        }
      }
    }
  }
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded3 tools