MCP server · Audited from source
Chiasmus MCP server
by yogthos/chiasmusApache-2.0 licenceAudited 6 Oct 2026 · source 4479e3f8fc7a
Is it safe? With care — CAUTION, grade B (89/100). It exposes 65 tools: 61 read, 4 write and 0 destructive. The audit recorded 8 findings (0 critical, 0 high, 2 medium, 6 low). Maintainer's description: Chiasmus is an MCP server that gives language models access to formal verification
Cite
Cite this page
ModelsAtlas. “Chiasmus MCP server (yogthos/chiasmus)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/yogthos/chiasmus
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
8 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared4 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN 2 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 6 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
yogthosUser accountAccount type recorded when we read the repository. - PackagePublished on npm
chiasmusat version 0.1.28 - LicenceApache-2.0From the repository, as read at the audited commit.
- Last push31 days agoActivity of the repository when we read it.
- Source commit read4479e3f8fc7aThe audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory65 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (8)
Sorted by severity
MEDIUMInventory / provenanceinv.binary · grammars/tree-sitter-commonlisp.wasm
tree-sitter-commonlisp.wasm
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInventory / provenanceinv.binary · grammars/tree-sitter-scheme.wasm
tree-sitter-scheme.wasm
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWFilesystem / pathfs.traversal · benchmark/chiasmus/p1-rbac.ts:1
import { createZ3Solver } from "../../src/solvers/z3-solver.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · benchmark/chiasmus/p2-deps.ts:1
import { createZ3Solver } from "../../src/solvers/z3-solver.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · benchmark/chiasmus/p3-taint.ts:1
import { createPrologSolver } from "../../src/solvers/prolog-solver.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · benchmark/chiasmus/p4-workflow.ts:1
import { createPrologSolver } from "../../src/solvers/prolog-solver.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · benchmark/chiasmus/p5-validation.ts:1
import { createZ3Solver } from "../../src/solvers/z3-solver.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, @yogthos/tree-sitter-clojure, better-sqlite3, graphology, graphology-communities-louvain, graphology-metrics, prolog-wasm-full, proper-lockfile
- Why
- 24 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
65 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
chiasmus_learn | write | Extract reusable template from verified solution → add to skill library. Generalizes concrete spec into parameterized template. Stored as candidate → promoted after 3+ successful reuses. Needs API key. Flow: chiasmus_verify → chiasmus_learn → template appears in chiasmus_skills. |
chiasmus_review | write | Phased code-review recipe — which tools to run, in what order, what to flag. Pure plan, no side effects. Execute phases sequentially; each action carries |
rule_set_a_conditions | write | Conjunction of conditions for rule set A (e.g. frontend validation) |
rule_set_b_conditions | write | Conjunction of conditions for rule set B (e.g. backend validation) |
access_rules | read | OR of conditions that grant access |
action_type | read | Type name for actions |
allow_rules | read | OR of all allow conditions — each is (and (= r X) (= a Y) (= res Z)) |
call_facts | read | Prolog facts of the form calls(Function, Operation) — which function calls which operation |
chiasmus_formalize | read | Find best template for problem → return skeleton + slot-filling instructions + tips. Guided workflow: 1. chiasmus_formalize → get template + slots + tips 2. Fill slots using your context 3. chiasmus_verify → verified result |
chiasmus_lint | read | Fast structural validation of formal spec without running solver. Auto-fixes: markdown fences, (check-sat)/(get-model), (set-logic). Checks: balanced parens, unfilled {{SLOT:}} markers, missing periods (Prolog). Returns cleaned spec + fixes applied + remaining errors. |
chiasmus_map | read | Pre-built codebase map — read before bulk file reads. Returns a compact outline derived from the tree-sitter call graph: per-file headlines with exports, signatures, token estimates, leading doc. Lets you answer |
chiasmus_skills | read | Search/list formalization templates. Returns skeletons, slots, normalization recipes, usage metadata. Find template before chiasmus_verify or chiasmus_formalize. query: |
chiasmus_solve | read | End-to-end: select template → fill slots → lint → verify → correction loop. Needs ANTHROPIC_API_KEY | DEEPSEEK_API_KEY | OPENAI_API_KEY. Without key → falls back to chiasmus_formalize. Returns: solver result + template used + correction history. NOTE: \ |
computation | read | Expression computing the result from inputs |
condition | read | Test condition |
config_a_expr | read | Boolean expression for config A |
config_b_expr | read | Boolean expression for config B |
declarations | read | Variable declarations |
deny_rules | read | OR of all deny conditions — each is (and (= r X) (= a Y) (= res Z)) |
dependencies | read | Dependency edges |
dependency_rules | read | Conditional version requirements. Use (=>) for |
domain_constraints | read | Boolean expression constraining valid input ranges (single expression) |
edges | read | Direct edges as edge(from, to) facts |
extra_slot | read | Extra |
facts | read | Ground facts about the domain |
field_declarations | read | Declare variables for each input field |
flow_facts | read | Prolog facts of the form flows(From, To) — data flow from one function/variable to another |
function_body | read | SMT-LIB assertions defining the input→output relationship (the function |
incompatibility_rules | read | Pairs of versions that cannot coexist |
input | read | test input |
input_declarations | read | Declare input variables covering the input space |
label | read | The label/property name to propagate (used as both predicate name and prefix) |
permissions | read | What each role can do |
postcondition | read | Boolean expression the result should satisfy (will be negated to find violations) |
precondition | read | Boolean expression constraining valid inputs (wrapped as single expression) |
principal_type | read | Type name for principals |
range_a_constraints | read | First port range bounds |
range_b_constraints | read | Second port range bounds |
range_constraints | read | Constrain each package to its available versions using (or (= pkg v1) (= pkg v2) ...) |
range_declarations | read | Port range variables |
required_pairs | read | Prolog facts of the form required_pair(OperationA, OperationB) — B must appear whenever A appears |
resource_type | read | Type name for resources |
result_declarations | read | Declare output/result variables |
result_type | read | Type of the result variable |
role_assignments | read | Which users have which roles |
role_hierarchy | read | Role inheritance relationships |
rule_a | read | First rule expression |
rule_b | read | Second rule expression |
rules | read | Prolog rules that derive conclusions from facts |
sanitizers | read | Prolog facts of the form sanitize(Node) — functions that clean/escape tainted data |
seed_labels | read | Prolog facts of the form label(Function) — functions with known classification |
sinks | read | Prolog facts of the form sink(Node) — security-sensitive operations that must not receive tainted data |
source_state | read | The source state to check |
state_declarations | read | SMT-LIB declare-datatypes for all states in the machine |
state_type | read | Type name for the state enumeration |
subject | read | the subject atom |
taint_sources | read | Prolog facts of the form taint_source(Node, TaintType) — origins of untrusted data |
target_principal | read | The principal to check |
target_resource | read | The resource to check |
target_state | read | The target state to check reachability for |
transitions | read | OR of valid transition pairs — each is (and (= from S1) (= to S2)) |
type_declarations | read | SMT-LIB declare-datatypes for principals, actions, resources |
version_declarations | read | Declare an Int variable for each package version |
violation_condition | read | The condition that would indicate a bug (result out of bounds, negative, overflow, etc.) |
x | read | test |
Install
Package version 0.1.28 · audited commit 4479e3f
Read the findings first. The most severe is Inventory / provenance (medium) at grammars/tree-sitter-commonlisp.wasm.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.28. The audit covers commit 4479e3f only.
claude mcp add chiasmus --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env AZURE_OPENAI_API_KEY=${AZURE_OPENAI_API_KEY} --env DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY} --env OPENAI_API_KEY=${OPENAI_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"chiasmus": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
"AZURE_OPENAI_API_KEY": "${AZURE_OPENAI_API_KEY}",
"DEEPSEEK_API_KEY": "${DEEPSEEK_API_KEY}",
"OPENAI_API_KEY": "${OPENAI_API_KEY}"
}
}
}
}The command pins the package version recorded in the source (0.1.28); the audit covers commit 4479e3f8fc7a. Transport: stdio. Reads these environment variables: ANTHROPIC_API_KEY, AZURE_OPENAI_API_KEY, DEEPSEEK_API_KEY, OPENAI_API_KEY, OPENROUTER_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
4479e3f8fc7a
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/yogthos/chiasmus/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Chiasmus MCP server
What is the Chiasmus MCP server?
What tools does Chiasmus expose?
Is Chiasmus safe to connect to an agent?
What credentials does Chiasmus need?
How does Chiasmus run?
How current is this page?
Sources
- yogthos/chiasmus on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 4479e3f8fc7aObserved · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Chiasmus MCP server?
- What tools does Chiasmus expose?
- Is Chiasmus safe to connect to an agent?