io.github.vlad-public-code/valem
Valem - Deterministic reactive state models. Create your own calculators/forms with AI
Description fournie par l’auteur dans le registre officiel MCP (en anglais).
- Dépôt
- github.com/vlad-public-code/org.json-kula.valem
- Site
- valem.run/
- Adresse du serveur
https://valem.run/mcp(streamable-http)- Version
- 1.0.0
- Auteur
- vlad-public-code (espace de noms vérifié par le registre)
- Source
- Registre officiel MCP (mis à jour le 22 août 2026)
Comment l’installer
Claude Code
Dans un terminal :
claude mcp add --transport http valem https://valem.run/mcpClaude (application et claude.ai)
Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.
https://valem.run/mcpChatGPT
Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.
https://valem.run/mcpCursor ~/.cursor/mcp.json
Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :
{
"mcpServers": {
"valem": {
"url": "https://valem.run/mcp"
}
}
}VS Code .vscode/mcp.json
Ajoutez ceci au fichier .vscode/mcp.json de votre projet :
{
"servers": {
"valem": {
"type": "http",
"url": "https://valem.run/mcp"
}
}
}Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.
Notre test
Répond Le serveur répond au protocole MCP et liste ses outils.
- Date
- 28 nov. 2026, 11:19 (test fait par L’Atlas)
- Temps de réponse
- 456 ms (test complet)
- Outils trouvés
- 35
- Nom annoncé
- valem 1.0.0
- Protocole
- MCP 2025-11-25
- Prochain test
- 5 déc. 2026
Voir les outils (35)
list_models
List the ids of all currently registered Valem models (alphabetical).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 requestget_model_info
Get summary info for a model: id, version, and derivation/meta/constraint/effect counts.get_spec
Get the full stored ModelSpec JSON for a model.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 instget_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 dget_field
Get the value of a single field by its JSON Path address (e.g. "$.order.total"). Evaluates a LAZY derivation on demand.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 vipatch_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":{...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 discoveringsnapshot
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 rrestore
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.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 canget_history
List the ISO-8601 timestamps of a model's committed mutations (most recent 100).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_hisverify_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 andupload_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 bytedownload_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 smaevolve_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. Predelete_model
Remove a model from the registry. Fails (isError) if the model does not exist.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.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,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 witheval_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.amountest_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 credry_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 casconvert_spreadsheet
Compile an uploaded .xlsx workbook's OWN formulas into a ready ModelSpec — deterministic transpilation (Excel formula language -> JSONata), never an LLM call: every number the compiled spec computes is checked to exactly match what the soursearch_document
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 call) and returns the top matches with page/section citations and verbatim quotespair_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 approvvalem_spec_guide
How to write a Valem ModelSpec that render_model accepts: sections, path notation, JSONata rules, view components and common mistakes. Call this once before writing your first spec in a conversation.render_model
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 engine. Use it when the user asks for a calculator, quote, budget, planner, pricinexplain_value
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 given inputs. Use it when the user asks why a number is what it is. Pass the specHvalem_recompute
Called by the Valem card when the user edits an input. Not for direct use: call render_model instead.show_model
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 the model, so get_state and explain see it. Use it after create_model or evolve_svalem_card_edit
Called by the Valem card when the user edits a stored model. Not for direct use: call mutate instead.
Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus
Avis
Pas encore d’avis.
Connectez-vous pour donner votre avis. Il suffit de votre e-mail.
Commentaires
Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.
Connectez-vous pour commenter.
C’est votre projet ? Connectez-vous pour revendiquer la fiche.
Badge pour votre README
Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.
Markdown (GitHub)
[](https://lagora.dev/fiche/io.github.vlad-public-code/valem)HTML
<a href="https://lagora.dev/fiche/io.github.vlad-public-code/valem"><img src="https://lagora.dev/badge/io.github.vlad-public-code/valem.svg" alt="io.github.vlad-public-code/valem sur L’Agora" height="20"></a>Réservé à l’auteur de la fiche : connectez-vous pour continuer.