Chiasmus Formal Verification

v1.0.0Developer Toolsstable

Chiasmus is an MCP server that gives language models access to formal verification

ai-agentsai-assistantai-toolsformalmethodsllm
Share:
180
Stars
0
Downloads
0
Weekly
0/5

What is Chiasmus Formal Verification?

Chiasmus Formal Verification is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to chiasmus is an mcp server that gives language models access to formal verification

Chiasmus is an MCP server that gives language models access to formal verification

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Chiasmus is an MCP server that gives language models access

Use Cases

Formal verification for LLMs
Prolog and logic programming
Proof verification
yogthos

Maintainer

LicenseApache-2.0
Languagetypescript
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx chiasmus

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Chiasmus Formal Verification

Chiasmus is an MCP server that gives AI models direct access to formal verification tools including the Z3 SMT solver and Prolog-based logic programming. It exposes tools for checking satisfiability of constraints, tracing taint flows through call graphs, detecting dead code, and formalizing software specifications — capabilities that normally require specialized tooling. Teams building safety-critical software or verifying authorization policies can use it to catch logical contradictions and unreachable states before they become bugs.

Prerequisites

  • Node.js 18 or later installed
  • npm installed globally
  • An MCP-compatible client such as Claude Desktop or Claude Code
  • Optional: ANTHROPIC_API_KEY or OPENAI_API_KEY if using autonomous/semantic search mode
1

Install the chiasmus package globally

Install chiasmus from npm globally so it is available as a command on your PATH.

npm install -g chiasmus
2

Register the server with Claude Code

Use the claude mcp add command to register chiasmus as an MCP server.

claude mcp add chiasmus -- npx -y chiasmus
3

Configure optional environment variables

Set CHIASMUS_HOME for custom config storage and ANTHROPIC_API_KEY or OPENAI_API_KEY if you want to use the semantic search (chiasmus_search) tool which requires an LLM backend.

export CHIASMUS_HOME=~/.chiasmus
export ANTHROPIC_API_KEY=your_key_here
4

Add to your MCP config file

Alternatively, add chiasmus to your claude_desktop_config.json for Claude Desktop. Provide env vars in the env block if needed.

{
  "mcpServers": {
    "chiasmus": {
      "command": "npx",
      "args": ["-y", "chiasmus"],
      "env": {
        "CHIASMUS_HOME": "/Users/you/.chiasmus",
        "ANTHROPIC_API_KEY": "your_key_here"
      }
    }
  }
}
5

Restart your MCP client

Restart Claude Desktop or reload Claude Code to pick up the new server. Chiasmus caches per-file analysis results, so the first run on a large codebase may be slower than subsequent runs.

Chiasmus Formal Verification Examples

Client configuration

Add chiasmus to Claude Desktop with optional API key for autonomous mode.

{
  "mcpServers": {
    "chiasmus": {
      "command": "npx",
      "args": ["-y", "chiasmus"],
      "env": {
        "ANTHROPIC_API_KEY": "your_key_here"
      }
    }
  }
}

Prompts to try

Use Chiasmus to verify constraints, analyze call graphs, and detect logical issues in your code.

- "Use chiasmus_verify to check whether these authorization policy constraints can all be satisfied simultaneously"
- "Run chiasmus_graph on my TypeScript project to find dead code and unreachable functions"
- "Use chiasmus_formalize to help me write an SMT-LIB specification for this scheduling problem"
- "Check for cycles in the call graph of my Python service using chiasmus_graph"
- "Use chiasmus_map to give me an outline of all exports in this repository"

Troubleshooting Chiasmus Formal Verification

chiasmus_search tool fails with an API error

The semantic search tool requires an LLM API key. Set ANTHROPIC_API_KEY or OPENAI_API_KEY in your environment or in the env block of your MCP config.

chiasmus_graph returns no results for a large repo

Chiasmus builds a persistent cache in CHIASMUS_CACHE_DIR (~/.cache/chiasmus by default). The first run on a large codebase can take several minutes. Subsequent runs use the 60x cache speedup.

npx -y chiasmus fails to start

Try installing globally first with npm install -g chiasmus, then reference the global binary directly in your config using 'command': 'chiasmus' instead of npx.

Frequently Asked Questions about Chiasmus Formal Verification

What is Chiasmus Formal Verification?

Chiasmus Formal Verification is a Model Context Protocol (MCP) server that chiasmus is an mcp server that gives language models access to formal verification It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Chiasmus Formal Verification?

Follow the installation instructions on the Chiasmus Formal Verification GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Chiasmus Formal Verification?

Chiasmus Formal Verification works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Chiasmus Formal Verification free to use?

Yes, Chiasmus Formal Verification is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "chiasmus": { "command": "npx", "args": ["-y", "chiasmus"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Chiasmus Formal Verification?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides