Chiasmus — Development skill for Claude Code
Chiasmus is an MCP server that gives language models access to formal verification.
How to install Chiasmus
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yogthos/chiasmus and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Chiasmus does
Chiasmus is an MCP server that gives language models access to formal verification.
Alternatives in Development
- Mempalace Init — Set up MemPalace — install the package, initialize a palace, register the MCP server with Cursor, and verify e 58.6k ★
- Claude Context Mode — An MCP server that sits between Claude Code and these outputs 5.3k ★
- Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★
README
Chiasmus
MCP server that gives LLMs access to formal verification via Z3 (SMT solver) and SWI-Prolog (via `prolog-wasm-full`, includes `library(clpfd)`), plus tree-sitter-based source code analysis. Translates natural language problems into formal logic using a template-based pipeline, verifies results with mathematical certainty, and analyzes call graphs for reachability, dead code, and impact analysis.
Example use cases
- "Can our RBAC rules ever conflict?" → Z3 finds the exact role/action/resource triple where allow and deny both fire
- "Find compatible package versions" → Z3 solves dependency constraints with incompatibility rules, returns a valid assignment or proves none exists
- "Can user input reach the database?" → Prolog traces all paths through the call graph, flags taint flows to sensitive sinks
- "Are our frontend and backend validations consistent?" → Z3 finds concrete inputs that pass one but fail the other (e.g. age=15 passes frontend min=13 but fails backend min=18)
- "Does our workflow have dead-end or unreachable states?" → Prolog checks reachability from the initial state, identifies orphaned and terminal nodes
- "What's the dead code in this module?" → tree-sitter parses source files, Prolog finds functions unreachable from any entry point
- "What breaks if I change this function?" → call graph impact analysis shows all transitive callers
- "Do a full code review of these files" →
chiasmus_reviewreturns a phased recipe of graph analyses + verification templates, and you execute it step-by-step
Setup
npm install -g chiasmus
Claude Code
claude mcp add chiasmus -- npx -y chiasmus
Or add to `~/.claude/settings.json`:
{
"mcpServers": {
"chiasmus": {
"command": "npx",
"args": ["-y", "chiasmus"]
}
}
}
Crush
Add to `crush.json`:
{
"mcp": {
"chiasmus": {
"type": "stdio",
"command": "npx",
"args": ["-y
Related Skills
MCP Language Server
mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, a
Supabash
A Claude Code skill that gives you direct psql access to Supabase — no MCP required. Claude Code skill that ge
Bm Doctor
Diagnose and recover basemind when it isn't working (MCP tools missing/erroring, "no index", dead server) — ru
Thoth
Thoth is a Rust library (plus a CLI, an MCP server, and a Claude Code / Cowork plugin) that gives a coding age
Logic Reasoning Skills
Three Claude skills for logical analysis: argument-analyst, fallacy-detector, formal-logic-solver. Built from
MCP Server Notion
Notion workspace access and page management.
Related Agents
MCP Integrator
Decides what tool or data access a task needs and how to wire it via MCP, preferring an existing server over a
Laya Vetter
Security-vets a candidate plugin, skill or MCP server repo before installation (hooks, install scripts, creden
Econ Finance Theorist
Use this agent when you need rigorous theoretical modeling in economics or finance, including developing forma