{
 "type": "mcp",
 "name": "valem",
 "registry_name": "io.github.vlad-public-code/valem",
 "also_published_as": [],
 "description": "Valem - Deterministic reactive state models. Create your own calculators/forms with AI",
 "url": "https://valem.run/mcp",
 "transport": "streamable-http",
 "website": "https://valem.run",
 "repo": "https://github.com/vlad-public-code/org.json-kula.valem",
 "ours": false,
 "publisher": "io.github.vlad-public-code",
 "categories": [
  "dev-tools",
  "calculators",
  "productivity"
 ],
 "tests": {
  "tested_at": "2026-11-24T21:41:19.412Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 35,
  "latency_ms": 185,
  "tools_list_ms": 211,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "valem",
   "version": "1.0.0"
  },
  "error": null
 },
 "signals": {
  "github_stars": 0,
  "license": "Apache-2.0",
  "repo_pushed_at": "2026-11-21T14:53:43Z",
  "repo_archived": false,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-08-22T09:20:53.897202Z",
  "registry_published_at": "2026-08-22T09:20:53.897202Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 100,
  "tool_docs": 100,
  "breadth": 91.1,
  "freshness": 100,
  "license": 100,
  "adoption": 0,
  "protocol": 100
 },
 "score": 69.1,
 "missing": [],
 "tools": [
  "list_models",
  "create_model",
  "get_model_info",
  "get_spec",
  "get_library",
  "get_state",
  "get_field",
  "mutate",
  "patch_model",
  "get_effective_schema",
  "snapshot",
  "restore",
  "explain",
  "get_history",
  "get_audit",
  "verify_audit",
  "upload_blob",
  "download_blob",
  "evolve_spec",
  "delete_model",
  "get_view",
  "get_domain_guidance",
  "validate_spec",
  "eval_expression",
  "test_spec",
  "dry_run",
  "convert_spreadsheet",
  "search_document",
  "pair_browser",
  "valem_spec_guide",
  "render_model",
  "explain_value",
  "valem_recompute",
  "show_model",
  "valem_card_edit"
 ],
 "tool_docs": [
  {
   "n": "list_models",
   "d": "List the ids of all currently registered Valem models (alphabetical)."
  },
  {
   "n": "create_model",
   "d": "Create a new model from a declarative ModelSpec. The spec carries the JSON schema plus derivations (computed fields), constraints (invariants), and optional eff"
  },
  {
   "n": "get_model_info",
   "d": "Get summary info for a model: id, version, and derivation/meta/constraint/effect counts."
  },
  {
   "n": "get_spec",
   "d": "Get the full stored ModelSpec JSON for a model."
  },
  {
   "n": "get_library",
   "d": "List the JSONata functions and values a model's library exports — what an expression in this model may call, with signature, arity and originating layer. Call i"
  },
  {
   "n": "get_state",
   "d": "Get a model's merged state (base fields plus all computed derived fields). On a large model this is the biggest context cost — narrow it: pass 'paths' to projec"
  },
  {
   "n": "get_field",
   "d": "Get the value of a single field by its JSON Path address (e.g. \"$.order.total\"). Evaluates a LAZY derivation on demand."
  },
  {
   "n": "mutate",
   "d": "Apply field mutations to a model and run the reactive pipeline (derivations recompute, constraints enforce, effects dispatch). 'mutations' is a flat map keyed b"
  },
  {
   "n": "patch_model",
   "d": "Apply an RFC 6902 JSON Patch document to a model and run the reactive pipeline. Unlike 'mutate' (a flat address→value map), a patch expresses array insert/remov"
  },
  {
   "n": "get_effective_schema",
   "d": "Get the effective JSON Schema for a field: the static schema overlaid with LIVE meta-derived constraints (current min/max/required/…). Check this BEFORE writing"
  },
  {
   "n": "snapshot",
   "d": "Capture an immutable point-in-time snapshot of a model's state (base document + derived/meta caches). A natural safety step before a risky evolve_spec: keep the"
  },
  {
   "n": "restore",
   "d": "Restore a model's state from a snapshot previously returned by 'snapshot' (pass it back verbatim as 'snapshot'). Overwrites the model's current base state. The "
  },
  {
   "n": "explain",
   "d": "Explain why a field is what it is: returns the recent derivation/constraint trace records for a path from the in-memory ring buffer (inputs, expression, result)"
  },
  {
   "n": "get_history",
   "d": "List the ISO-8601 timestamps of a model's committed mutations (most recent 100)."
  },
  {
   "n": "get_audit",
   "d": "Query a model's durable, append-only audit trail (newest-first): one record per committed reactive cycle (mutations, derivedUpdated, traces, flaggedConstraints,"
  },
  {
   "n": "verify_audit",
   "d": "Verify the tamper-evidence hash chain of a model's durable audit trail. Returns {valid, recordsChecked, firstBrokenSequence, detail}; a false 'valid' points at "
  },
  {
   "n": "upload_blob",
   "d": "Store binary content (base64-encoded in 'data') in the content-addressed blob store and get back a BlobRef {$blobId, $mediaType, $bytes} to embed in a model's b"
  },
  {
   "n": "download_blob",
   "d": "Fetch a blob's bytes by id, base64-encoded in the result. Pass 'modelId' to fetch a blob referenced by a specific model (access-scoped); omit it for a direct st"
  },
  {
   "n": "evolve_spec",
   "d": "Apply an incremental SpecEvolution diff to a model, preserving live state. Returns the new version. Fails (isError) if the evolved spec is invalid, if expectedV"
  },
  {
   "n": "delete_model",
   "d": "Remove a model from the registry. Fails (isError) if the model does not exist."
  },
  {
   "n": "get_view",
   "d": "Evaluate a model's embedded view definition against current state and return the resolved component tree. Pass an optional 'viewId' for a named view; omit for t"
  },
  {
   "n": "get_domain_guidance",
   "d": "Get vetted instructions for the hard modelling shapes this domain involves (progressive tax/fee charges, per-period schedules, classification, date math, group-"
  },
  {
   "n": "validate_spec",
   "d": "Validate a ModelSpec WITHOUT creating it: returns a 'valid' flag plus structured findings (errors + warnings, each with a location and message). Use this to ite"
  },
  {
   "n": "eval_expression",
   "d": "Evaluate a single JSONata expression against a sample input document and return the computed value, or the exact compile/eval error. Write the expr exactly as i"
  },
  {
   "n": "test_spec",
   "d": "Run a spec's embedded test cases (or ad-hoc given->expect cases) through the real reactive pipeline in a throwaway runtime, returning pass/fail plus per-field f"
  },
  {
   "n": "dry_run",
   "d": "Compile a candidate ModelSpec in an ISOLATED throwaway runtime, apply optional sample mutations, and return the resulting merged state (base + derived) — WITHOU"
  },
  {
   "n": "convert_spreadsheet",
   "d": "Compile an uploaded .xlsx workbook's OWN formulas into a ready ModelSpec — deterministic transpilation (Excel formula language -> JSONata), never an LLM call: e"
  },
  {
   "n": "search_document",
   "d": "Deterministic, LLM-free search over an uploaded PDF/DOCX: ranks the document's pages/sections against your query (term-overlap, no embedding model, no network c"
  },
  {
   "n": "pair_browser",
   "d": "Pair this MCP session with a browser tab on the hosted Valem sandbox so both drive the same live model session. Mints a pairing on first call (or resumes an exi"
  },
  {
   "n": "valem_spec_guide",
   "d": "How to write a Valem ModelSpec that render_model accepts: sections, path notation, JSONata rules, view components and common mistakes. Call this once before wri"
  },
  {
   "n": "render_model",
   "d": "Show the user a Valem model as an interactive card they can edit in the chat: a form whose computed fields update on every change, checked by a deterministic en"
  },
  {
   "n": "explain_value",
   "d": "Explain how a value in a Valem card was computed: the formula, the values it read and the inputs it ultimately comes from, as Valem's engine has them for the gi"
  },
  {
   "n": "valem_recompute",
   "d": "Called by the Valem card when the user edits an input. Not for direct use: call render_model instead."
  },
  {
   "n": "show_model",
   "d": "Show the user one of this server's models (created with create_model) as an interactive card in the chat. Every edit the user makes in the card is a mutate on t"
  },
  {
   "n": "valem_card_edit",
   "d": "Called by the Valem card when the user edits a stored model. Not for direct use: call mutate instead."
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.276,
 "category_source": "classifier",
 "category_low_confidence": true,
 "category_scores": {
  "productivity": 2.37,
  "calculators": 2.11,
  "dev-tools": 0.55,
  "design-docs": 0.41
 },
 "subcategory": "testing-qa",
 "id": "io-github-vlad-public-code-valem",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2"
}