Skip to content
MCP server
RegistryRemote

CellMath MCP Server

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

CellMath scores 66 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 3 tools. Filed under AI and memory. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by ymchominzzoMITJavaScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "ymchominzzo-cellmath-mcp": {      "url": "https://cellmath.ai.studio/api/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools3Tool docs quality grade C

All capabilities
  • Retrieve knowledge. Search the index, fetch one cell, or walk the causal graph. Read-only.

  • Durable mutation: save, update, supersede, link causal edges, checkpoint a session, or purge. Destructive — confirm before calling.

  • Independent check before acting: destructive command and injection screening, plus math checks for drift and groundedness. Read-only.

About

cellmath-mcp

Lightweight MCP client & spec wrapper for CellMath (Bring Your Own Key).

CellMath is a memory governance layer for AI agents: durable knowledge cells that are retrieved through a retrieval gate, checked before use, and committed with provenance. This repository is only the thin client side of that contract — a single-file bridge that lets any stdio MCP client talk to a CellMath Streamable HTTP endpoint using your own API key.

There is no server code, no data, and no credential in this repository. Nothing here talks to a fixed host: you point it at your own endpoint.

  • Node.js 18+ · zero dependencies · one file
  • stdio (stdin/stdout JSON-RPC) ↔ Streamable HTTP (POST, JSON or SSE)
  • Pass-through: tools and schemas are whatever your endpoint serves

Quick start

git clone https://github.com/<your-account>/cellmath-mcp.git
cd cellmath-mcp

export CELLMATH_MCP_URL="https://<your-mcp-endpoint>/api/mcp"
export CELLMATH_API_KEY="sk_live_<your_api_key>"

node index.js

The bridge now waits for newline-delimited JSON-RPC on stdin. Paste a message and press Enter:

{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"demo","version":"1.0.0"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/list"}

Each response is printed to stdout as one JSON object per line. Diagnostics go to stderr.


Configuration

VariableRequiredMeaning
CELLMATH_MCP_URLyesStreamable HTTP endpoint, e.g. https://<your-mcp-endpoint>/api/mcp
CELLMATH_API_KEYyesYour CellMath API key, sent as Authorization: Bearer <key>
CELLMATH_MCP_TIMEOUT_MSnoPer-request timeout in milliseconds (default 120000)

The bridge reads only the environment; it never loads a .env file by itself. For a local shell, copy .env.example to .env, fill it in, and export it:

set -a; . ./.env; set +a
node index.js

If a required variable is missing, the bridge prints what is missing and how to set it, then exits with status 1 before any network call is made.


Client setup

Most desktop MCP clients expect a command they can launch. Use node with the absolute path to index.js, and pass the two variables in an env block.

Claude Desktop

claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

{
  "mcpServers": {
    "cellmath": {
      "command": "node",
      "args": ["/absolute/path/to/cellmath-mcp/index.js"],
      "env": {
        "CELLMATH_MCP_URL": "https://<your-mcp-endpoint>/api/mcp",
        "CELLMATH_API_KEY": "sk_live_<your_api_key>"
      }
    }
  }
}

Cursor

.cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "cellmath": {
      "command": "node",
      "args": ["/absolute/path/to/cellmath-mcp/index.js"],
      "env": {
        "CELLMATH_MCP_URL": "https://<your-mcp-endpoint>/api/mcp",
        "CELLMATH_API_KEY": "sk_live_<your_api_key>"
      }
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "cellmath": {
      "command": "node",
      "args": ["/absolute/path/to/cellmath-mcp/index.js"],
      "env": {
        "CELLMATH_MCP_URL": "https://<your-mcp-endpoint>/api/mcp",
        "CELLMATH_API_KEY": "sk_live_<your_api_key>"
      }
    }
  }
}

Native Streamable HTTP client

If your client speaks Streamable HTTP directly, you do not need this bridge — connect it to the endpoint with the same headers the bridge sends:

{
  "mcpServers": {
    "cellmath": {
      "type": "streamable-http",
      "url": "https://<your-mcp-endpoint>/api/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_<your_api_key>",
        "Accept": "application/json, text/event-stream",
        "MCP-Protocol-Version": "2025-06-18"
      }
    }
  }
}

The three tools

A CellMath endpoint exposes a small, deliberately fixed tool surface. The bridge forwards whatever schema your endpoint reports — call tools/list for the authoritative definition; the summary below is orientation, not a contract.

ToolRoleMain parameters
vault_accessRetrieve knowledge. Search the index, fetch one cell, or walk the causal graph. Read-only.action (search | get | graph), query, id, category (cell | organ | fact | skill | hypothesis | all), tag, limit, auto_hydrate, limit_full, include_session
verify_safetyIndependent check before acting: destructive command and injection screening, plus math checks for drift and groundedness. Read-only.actionProposal, operation (safety_check | wasserstein | entropy | matrix_solve | groundedness | unblock), params
vault_commitDurable mutation: save, update, supersede, link causal edges, checkpoint a session, or purge. Destructive — confirm before calling.action (save | update | checkpoint | link_edge | resolve_hypothesis | remove | sync | unblock | lift_do_not), title, content, id, tags, ai_compressed_summary, is_hypothesis, supersedes_id, goalTask, from / to / rel, hypothesis_action, confirm

A typical agent loop is retrieve → verify → commit: pull the smallest relevant cell, have the planned action checked, then commit only what the evidence supports. An empty retrieval is not necessarily an error — a query with no verified match may legitimately return nothing.


What the bridge does

  • Reads stdin line by line; each non-empty line must be one JSON-RPC 2.0 message.
  • POSTs it to CELLMATH_MCP_URL with:
    • Content-Type: application/json
    • Authorization: Bearer <CELLMATH_API_KEY>
    • Accept: application/json, text/event-stream
    • MCP-Protocol-Version: 2025-06-18
    • Mcp-Session-Id once the server has issued one
  • Accepts either response shape:
    • Content-Type: application/json — single object or batch array
    • Content-Type: text/event-stream — every data: field is parsed and emitted; empty keep-alive events are ignored
  • Treats 202 / 204 (the normal answer to notifications) as success with no output.
  • Keeps request order: one request in flight at a time.
  • Reports a transport or HTTP failure as a JSON-RPC error (-32603) for the affected request id, logs the detail to stderr, and keeps running.
  • Malformed stdin lines get a -32700 parse error instead of crashing the process.
  • Exits with status 0 when stdin closes, 1 on bad configuration.

Security notes

  • The API key comes only from the environment. It is never written to disk, never printed, and is redacted from error messages before they reach stdout or stderr.
  • Use https://. Plain http:// is accepted only for local development and prints a warning when the host is not loopback.
  • .env is git-ignored; keep it out of shell history and CI logs too.
  • If a key leaks, rotate it on the CellMath side — this client stores no credential to revoke.
  • Usage and billing belong to the CellMath account that owns the key (Bring Your Own Key).

Troubleshooting

SymptomLikely cause
missing required environment variable(s) on startThe client's env block does not reach the process; check the exact names
upstream returned HTTP 401Wrong, expired or rotated key
upstream returned HTTP 403Key not allowed to call that tool, or account restriction
upstream returned HTTP 404 / 405CELLMATH_MCP_URL is not the MCP endpoint path (usually /api/mcp)
No output at all for a notificationExpected: notifications get 202 and produce no stdout
upstream returned no response payloadThe endpoint accepted the request but returned an empty body for a request id
request failed: ... followed by a -32603 errorTransport or server error; the detail on stderr is the upstream message

Scope

This project is intentionally a shell:

  • no client-side schema validation, caching, retries or rate limiting
  • no tool implementations, prompts or resources bundled — the endpoint is the source of truth
  • no default endpoint, domain or account baked in

Add those in your own client if you need them; the bridge stays small on purpose.

License

MIT — see LICENSE.

Frequently asked questions

What is CellMath MCP Server?

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

How do I install CellMath MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. CellMath MCP Server connects to the remote endpoint https://cellmath.ai.studio/api/mcp, so there is nothing to install locally.

Is CellMath MCP Server free and open source?

Yes. CellMath MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does CellMath MCP Server support remote (HTTP) connections?

Yes. CellMath MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does CellMath MCP Server provide?

CellMath MCP Server provides 3 tools: vault_access, vault_commit, and verify_safety. See the full tool list for descriptions and parameters.

How is CellMath MCP Server's trust score calculated?

CellMath MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server