Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By fabrachtv0.24.7MIT OR Apache-2.0
Checks TLA+ specs by exploring all reachable states and reporting invariant violations with counterexamples, from inside Claude Code. Runs as a local MCP process and needs the tla-mcp binary installed first.
Trending plugins
7-day copy clicks
Connected while the plugin is enabled; Claude calls their tools.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A TLA+ model checker and interactive exploration tool written in Rust.
tla-rs verifies TLA+ specifications by exploring all reachable states, checking invariants, and reporting counterexamples. Beyond pass/fail checking it offers an interactive TUI for stepping through state spaces, scenario-driven exploration, property-satisfaction analytics, parameter sweeps, tested demo walkthroughs (with an optional in-browser explorer), and an MCP server for agentic clients. The core library compiles to WebAssembly for browser embedding. It's a lightweight alternative to the official TLC model checker for specs that fit its supported subset.
From crates.io (installs both tla and the tla-mcp server):
cargo install tla-checker
From a working copy:
cargo build --release
The binaries will be at target/release/tla and target/release/tla-mcp. Prebuilt binaries are also available via Homebrew (brew install fabracht/tla/tla-mcp), an install script, or GitHub releases — see the MCP Server guide.
tla spec.tla
tla spec.tla -c 'N=5' -c 'Procs={"p1","p2","p3"}'
tla spec.tla -c 'Proc={a,b,c}' --symmetry Proc
tla spec.tla --config model.cfg
tla spec.tla --quick # limit to 10,000 states
tla spec.tla -i # interactive TUI
Constants accept integers (42), booleans (TRUE), quoted strings ("hello"), sets ({1,2,3}), tuples (<<1,2>>), records ([hp |-> 100]), and functions (a :> 1 @@ b :> 2).
A bare identifier is a model value — an uninterpreted, pairwise-distinct atom, matching TLC. n1 is not equal to the string "n1", so -c 'Proc={a,b,c}' yields three model values, not three strings. Symmetry reduction requires a set of model values (--symmetry rejects a set of quoted strings, as TLC does).
The most common options are below. The CLI Guide lists every option, and tla --help prints them.
| Option | Description |
|---|---|
-c, --constant NAME=VALUE | Set a constant value |
-s, --symmetry CONST | Enable symmetry reduction for a set constant |
--config PATH | Load TLC-style cfg file (auto-discovers Spec.cfg next to Spec.tla) |
--max-states N | Maximum states to explore (default: 1000000) |
--max-depth N | Maximum trace depth (default: 100) |
-q, --quick | Quick exploration (limit: 10,000 states) |
--export-dot FILE | Export state graph to DOT format |
--dot-mode MODE | DOT mode: full, trace, clean (default), choices |
--allow-deadlock | Allow states with no successors |
--check-liveness | Check liveness and fairness properties |
--liveness-engine E | tableau (default: checks any temporal property as TLC does) or legacy (see the CLI Guide) |
--continue | Continue past invariant violations |
--count-satisfying NAME | Count states satisfying a definition (repeatable) |
--sweep NAME=V1;V2;... | Sweep a constant across values, compare results |
--scenario TEXT | Explore a specific scenario (or @file) |
-i, --interactive | Interactive TUI exploration mode |
--present FILE | Run a demo manifest (.json/.toml); TUI walkthrough, or --validate for a pass/fail report |
--export-md FILE | With --present: write a Markdown walkthrough |
--export-html FILE | With --present: write a self-contained HTML walkthrough |
--explorable | With --export-html: embed the wasm engine for in-browser state exploration |
--validate | Parse and validate the spec without model checking |
--json | JSON output |
-v, --verbose | Verbose output (depth breakdowns, etc.) |
-V, --version | Show version information |
| Guide | Contents |
|---|---|
| CLI Guide | Full options reference, configuration files, scenarios, demo walkthroughs (incl. the --explorable browser explorer), interactive mode, analytics, output, and state-graph visualization |
| TLA+ Support | Supported operator subset, module instances, spec structure, and limitations |
| WebAssembly | Browser-embeddable WASM API, including the live stepping bindings |
| MCP Server | tla-mcp install, client registration, and tool reference |
| Syntax Status | Operator-by-operator coverage table |
| Architecture | Internal design |
| Practical TLA+ Guide | Worked guidance for writing checkable specs |
Licensed under either of MIT or Apache-2.0, at your option.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (fabracht/tla-rs) — no native marketplace selected
npx claudepluginhub p/fabracht-tla-rsPlugins from other owners that cover similar ground