Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Chiasmus MCP server

by yogthos/chiasmusApache-2.0 licenceAudited 6 Oct 2026 · source 4479e3f8fc7a

npm chiasmus 0.1.28stdio★ 214
!CAUTIONGrade B · 89/100 · 6 Oct 2026 · 4479e3f
214GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score89/100!CAUTION B
0 critical0 high2 medium6 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 2 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 6 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmchiasmus at 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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-13 Inventory / provenanceCWE-1104Layer L0
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createZ3Solver } from "../../src/solvers/z3-solver.js";
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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

61 read4 write0 destructive
ToolRiskWhat it does
chiasmus_learnwriteExtract 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_reviewwritePhased 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_conditionswriteConjunction of conditions for rule set A (e.g. frontend validation)
rule_set_b_conditionswriteConjunction of conditions for rule set B (e.g. backend validation)
access_rulesreadOR of conditions that grant access
action_typereadType name for actions
allow_rulesreadOR of all allow conditions — each is (and (= r X) (= a Y) (= res Z))
call_factsreadProlog facts of the form calls(Function, Operation) — which function calls which operation
chiasmus_formalizereadFind 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_lintreadFast 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_mapreadPre-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_skillsreadSearch/list formalization templates. Returns skeletons, slots, normalization recipes, usage metadata. Find template before chiasmus_verify or chiasmus_formalize. query:
chiasmus_solvereadEnd-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: \
computationreadExpression computing the result from inputs
conditionreadTest condition
config_a_exprreadBoolean expression for config A
config_b_exprreadBoolean expression for config B
declarationsreadVariable declarations
deny_rulesreadOR of all deny conditions — each is (and (= r X) (= a Y) (= res Z))
dependenciesreadDependency edges
dependency_rulesreadConditional version requirements. Use (=>) for
domain_constraintsreadBoolean expression constraining valid input ranges (single expression)
edgesreadDirect edges as edge(from, to) facts
extra_slotreadExtra
factsreadGround facts about the domain
field_declarationsreadDeclare variables for each input field
flow_factsreadProlog facts of the form flows(From, To) — data flow from one function/variable to another
function_bodyreadSMT-LIB assertions defining the input→output relationship (the function
incompatibility_rulesreadPairs of versions that cannot coexist
inputreadtest input
input_declarationsreadDeclare input variables covering the input space
labelreadThe label/property name to propagate (used as both predicate name and prefix)
permissionsreadWhat each role can do
postconditionreadBoolean expression the result should satisfy (will be negated to find violations)
preconditionreadBoolean expression constraining valid inputs (wrapped as single expression)
principal_typereadType name for principals
range_a_constraintsreadFirst port range bounds
range_b_constraintsreadSecond port range bounds
range_constraintsreadConstrain each package to its available versions using (or (= pkg v1) (= pkg v2) ...)
range_declarationsreadPort range variables
required_pairsreadProlog facts of the form required_pair(OperationA, OperationB) — B must appear whenever A appears
resource_typereadType name for resources
result_declarationsreadDeclare output/result variables
result_typereadType of the result variable
role_assignmentsreadWhich users have which roles
role_hierarchyreadRole inheritance relationships
rule_areadFirst rule expression
rule_breadSecond rule expression
rulesreadProlog rules that derive conclusions from facts
sanitizersreadProlog facts of the form sanitize(Node) — functions that clean/escape tainted data
seed_labelsreadProlog facts of the form label(Function) — functions with known classification
sinksreadProlog facts of the form sink(Node) — security-sensitive operations that must not receive tainted data
source_statereadThe source state to check
state_declarationsreadSMT-LIB declare-datatypes for all states in the machine
state_typereadType name for the state enumeration
subjectreadthe subject atom
taint_sourcesreadProlog facts of the form taint_source(Node, TaintType) — origins of untrusted data
target_principalreadThe principal to check
target_resourcereadThe resource to check
target_statereadThe target state to check reachability for
transitionsreadOR of valid transition pairs — each is (and (= from S1) (= to S2))
type_declarationsreadSMT-LIB declare-datatypes for principals, actions, resources
version_declarationsreadDeclare an Int variable for each package version
violation_conditionreadThe condition that would indicate a bug (result out of bounds, negative, overflow, etc.)
xreadtest

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]

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

  1. !CAUTION B 89 / 100

    First audit · 4479e3f8fc7a

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/yogthos/chiasmus/badge.svg)](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?
Chiasmus is an MCP server that gives language models access to formal verification
What tools does Chiasmus expose?
65 in total: 61 read-only, 4 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Chiasmus safe to connect to an agent?
With care. The audit graded it B (89/100) and found 8 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Chiasmus need?
It reads ANTHROPIC_API_KEY, AZURE_OPENAI_API_KEY, DEEPSEEK_API_KEY, OPENAI_API_KEY and OPENROUTER_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Chiasmus run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as chiasmus at 0.1.28.
How current is this page?
The grade is for one exact copy of the source (4479e3f8fc7a), read on 2026-10-06. The repository is watched and re-audited when it changes.

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.