mcpbeat Sign in

Valem MCP Server

by vlad-public-code Your server? Claim it
answering

Valem is answering right now. Last checked 12 min ago. It exposes 27 tools. Last commit 28 Aug 2026.

Valem - Deterministic reactive state models. Create your own calculators/forms with AI

Uptime history 10 days of history
10 days agonow
100.0%
Uptime 24h
91 of 91 checks
27
Tools
read from the server
225 ms
Response time
average over 24h
0
Stars
last commit 28 Aug 2026

What the code does

We read the source, 10 h ago · tools taken from the live server · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

        ProcessBuilder pb = new ProcessBuilder(command.trim().split("\\s+"));

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 12 min ago.

run in your terminal
claude mcp add valem --transport http https://valem.run/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "valem": {
      "url": "https://valem.run/mcp"
    }
  }
}
~/.codex/config.toml
[mcp_servers.valem]
url = "https://valem.run/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "valem": {
      "url": "https://valem.run/mcp"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "valem": {
      "url": "https://valem.run/mcp"
    }
  }
}

Available tools 27

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

model
create_model
Create a new model from a declarative ModelSpec. The spec carries the JSON schema plus derivations (computed fields), constraints (invariants), and optional effects. Returns the created id. Fails (isError) on an invalid spec. If the requested id is already taken, a numeric postfix (-2, -3, …) is appended so the create still succeeds — always read the returned id, it may differ from the one you sent. When paired with a browser (remote_with_browser mode), ALWAYS include a viewDefinition in the spec so the model is immediately visible/usable in the sandbox — do not omit it and wait to be asked for one afterward. See the valem://guide/view-system resource for the component catalog.
delete_model
Remove a model from the registry. Fails (isError) if the model does not exist.
get_model_info
Get summary info for a model: id, version, and derivation/meta/constraint/effect counts.
audit
get_audit
Query a model's durable, append-only audit trail (newest-first): one record per committed reactive cycle (mutations, derivedUpdated, traces, flaggedConstraints, dispatchedEffects, source, sequence). This is the queryable superset of get_history/explain — it survives the in-memory ring buffer rolling over. Filter with an optional 'pathPrefix' (canonical address), an ISO-8601 'from'/'to' window, and 'limit'. (Embedded mode keeps this in memory for the session; remote/paired mode reads the server's durable store.)
domain
get_domain_guidance
Get vetted instructions for the hard modelling shapes this domain involves (progressive tax/fee charges, per-period schedules, classification, date math, group-by, …). Read the model description in ANY language, pick the matching topic ids, and call this BEFORE authoring the spec — then follow what it returns. Available topics: - amortization_schedule — A computed array / per-period schedule: an amortization table, time series, or per-period breakdown (one row per period). - group_by — Group-by / aggregation over an array: subtotals, counts, sums per category. - date_math — Date arithmetic: days/months/years between dates, elapsed duration, age from a birth date. - classification — Deriving a label / tier / band / risk level / status from data via thresholds. - currency_conversion — Currency / FX conversion of an amount by an exchange rate. - status_field — A status / state field with flags or labels derived from the current status. - rank_percentile — Rank / percentile / leaderboard / quartile over an array of values. - regulated_charge — An official published charge whose rates are set by an authority: a tax, duty, levy, tariff, fee, toll, excise, or customs charge. - percentage — Percentages / ratios: percent-of, markup, discount, tax-inclusive vs exclusive, share-as-percent. - unit_conversion — Unit conversion / dimensional consistency: cm-m, kg-lb, C-F, miles-km — one canonical unit per quantity. - compound_growth — Compound growth / interest: future value, compound interest, exponential growth (the ** operator). - weighted_average — Weighted sum / weighted average / score over an array of values and weights. - eligibility — A boolean eligibility / qualification verdict derived from several criteria (and/or of conditions). - proration — Prorating / allocating an amount across a count or period (per-unit share, partial-period). - editable_items — A user-edited list of items the user adds, edits and removes: line items, debts, expenses, passengers, participants — each with its own fields.
download
download_blob
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 store fetch. Large blobs may exceed the result-size limit — this channel suits small binaries only.
dry
dry_run
Compile a candidate ModelSpec in an ISOLATED throwaway runtime, apply optional sample mutations, and return the resulting merged state (base + derived) — WITHOUT registering it in the live registry. Use this to preview the full reactive cascade of a draft spec.
effective
get_effective_schema
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 a value to learn what the reactive pipeline will accept, instead of discovering an invalid mutation only by trying it and getting a schema-violation error.
eval
eval_expression
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 in a derivation/constraint 'expr': bare dot-paths, no leading $ (e.g. "loan.amount * loan.annualRate / 1200"). Use this to verify an expression before putting it in a spec — it uses the same compiler the runtime validates against. If the expression calls a library function, pass the model's library definition as 'library' — without it every $myFn(...) call fails as undefined.
evolve
evolve_spec
Apply an incremental SpecEvolution diff to a model, preserving live state. Returns the new version. Fails (isError) if the evolved spec is invalid, if expectedVersion no longer matches, or if a schema change would strand existing state. Prefer targeted diffs (upsertSchemaNodes/upsertSchemaDefs, upsertComponents, upsertConstants) over resending a whole section (newSchema/newViewDefinition/newConstants).
explain
explain
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). For a constraint use the synthetic path "$constraint:<id>". Trace records can be bulky — pass 'limit' to return only the most recent N.
field
get_field
Get the value of a single field by its JSON Path address (e.g. "$.order.total"). Evaluates a LAZY derivation on demand.
history
get_history
List the ISO-8601 timestamps of a model's committed mutations (most recent 100).
library
get_library
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 it before writing an expression so you reuse the model's existing vocabulary instead of re-deriving it. Returns null when the model declares no library.
models
list_models
List the ids of all currently registered Valem models (alphabetical).
mutate
mutate
Apply field mutations to a model and run the reactive pipeline (derivations recompute, constraints enforce, effects dispatch). 'mutations' is a flat map keyed by canonical JSON Path address, e.g. {"$.order.qty": 3}. A ROLLBACK constraint violation returns isError with the structured list of violated constraints. Returns the actionable summary (derivedUpdated / flaggedConstraints / dispatchedEffects); pass includeTraces:true for the full derivation/constraint trace (the same payload 'explain' serves — omit it and call explain only when a value looks wrong).
pair
pair_browser
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 existing not-yet-approved one) and waits up to a minute for the developer to approve it. Returns {status:"paired"|"already_paired", namespaceId} once done, or {status:"pending", verificationUri, verificationUriComplete, userCode, expiresInSec} if the developer hasn't approved yet — show them verificationUriComplete when present (it already carries the confirmation code, so they only click Approve) and mention that the code on that screen should read userCode; fall back to verificationUri, which requires them to TYPE userCode. Then call this tool again (it resumes the SAME pairing, it does not mint a new one). Every other model tool (create_model, mutate, evolve_spec, get_state, explain, ...) fails with a clear error until pairing succeeds.
patch
patch_model
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/remove/move and test/copy ops, e.g. [{"op":"add","path":"/order/items/-","value":{...}}, {"op":"remove","path":"/order/items/0"}]. 'path' fields use RFC 6901 JSON Pointer (slash-separated, '-' for array append), NOT the $.-rooted address form. Same result shape and ROLLBACK/schema error handling as 'mutate'.
restore
restore
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 snapshot must be for the same model.
snapshot
snapshot
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 returned snapshot and, if the change goes wrong, hand it back to 'restore' to roll the state back.
spec
get_spec
Get the full stored ModelSpec JSON for a model.
state
get_state
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 project only specific subtrees (canonical addresses, each spliced back into a pruned document at its address), and/or 'depth' to cap nesting (deeper containers collapse to a '<object: N fields>' / '<array: N items>' marker). Pass an optional ISO-8601 'at' timestamp for a point-in-time read from mutation history.
test
test_spec
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 failures (path, expected, actual). Use this to certify domain behavior before create_model / promotion.
upload
upload_blob
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 binary field. Storage is content-addressed (SHA-256), so uploading identical bytes returns the same $blobId.
validate
validate_spec
Validate a ModelSpec WITHOUT creating it: returns a 'valid' flag plus structured findings (errors + warnings, each with a location and message). Use this to iterate on a draft — fix the reported errors, re-validate — before committing with create_model.
verify
verify_audit
Verify the tamper-evidence hash chain of a model's durable audit trail. Returns {valid, recordsChecked, firstBrokenSequence, detail}; a false 'valid' points at the first altered/reordered/deleted record. (Embedded mode has no hash chain and reports valid.)
view
get_view
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 the default view.

Endpoints

URLTransportStateLatencyChecked
https://valem.run/mcp streamable-http answering 98 ms 12 min ago

Alternatives to Valem

same job, measured the same way
Spiderbrain
by spiderbrain

Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.

116 installs/wk answering
Agent Release Auditor
by veyndrasystems

Deterministic release gate for AI-written code and coding agents.

33 installs/wk local only
Sphior Code MCP
by toraastrta

Deterministic SAST/SCA findings + fix guidance for your GitHub repos, handed to your AI agent.

62 installs/wk local only
zzop
by eezz4

Deterministic cross-repo contract analysis for AI agents: frontend calls vs backend endpoints.

local only
Codeweb
by ghostlygawd

Your agents break less code and burn fewer tokens — a deterministic call graph over 27 MCP tools.

114 installs/wk local only
Cejel
by barglabs

Offline deterministic engineering-trust certificates for repositories, with no telemetry.

local only
Brainstorm MCP
by spranab

Multi-model AI brainstorming debates with code review and quick perspectives

125 installs/wk local only
Lens MCP
by segentic-lab

Deterministic navigation maps over code + markdown + Prisma for AI agents: 13 MCP tools

local only

Valem — questions

Answers built from our own checks of this server.

What can Valem do?
It exposes 27 tools, read directly from the server on our last check. Among them: create_model, delete_model, download_blob, dry_run, eval_expression, evolve_spec and 21 more. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
Is Valem working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 91 of 91 checks got a reply (100.0%), average response time 225 ms. The bar chart above shows every period we have measured.
How do I connect Valem?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does Valem need an API key?
No. Valem completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 27 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is Valem?
It answers our handshake in 225 ms on average, which is faster than 68% of all working MCP servers we measure. The comparison comes from our own checks across the whole registry, every 15 minutes.
Is Valem open source?
Yes — it is published under the Apache-2.0 licence, written in Java and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.