Law Client
FreeMaintainedTyped client for the Arxo Law services: the MCP server (its full tool table over Streamable HTTP) and the public package registry / atlas. Transport and shape v
About
Typed client for the Arxo Law services: the MCP server (its full tool table over Streamable HTTP) and the public package registry / atlas. Transport and shape validation only — no legal semantics, no engine.
README
Arxo Law
Run a rule. See the answer and why. Replay the result.
Try in browser · Run locally · Write rules · Publish a package · Install in VS Code · Connect MCP
SDK and CLI packages are available. Engine source is planned.
Run locally
With Node.js 20 or newer:
git clone \
https://github.com/arxohq/law \
arxo-law
cd arxo-law
npm ci --ignore-scripts
npm start
Your first rule
Rule Adult
Input Alice, age 20
Answer adult = yes
Why Applied Adult
Missing unknown (no age fact)
Replay identical evaluation bytes
Try npm start -- --age 16. The answer becomes unknown: this model has no
rule establishing adulthood below 18. Then edit the rule
and run again. Walk through the example →
Modelling on Arxo: public demonstrations
These public model repositories are demonstrations: a small sample of a much larger corpus of models on Arxo, chosen to show what modelling looks like across subjects. They share one language and runtime; each pins its sources, records its cases with their answers and states its scope per package.
| Area | Repositories |
|---|---|
| Constitutions | Japan · Kazakhstan |
| Civil codes | Code civil · BGB |
| Tax | US Internal Revenue Code |
| Treaties and principles | UN Charter · UNIDROIT Principles |
| Benefits and insurance | French family benefits · German housing benefit · Kazakhstan motor insurance |
| Game rules | FIDE Laws of Chess |
| Sciences | OpenStax mechanics · chemistry · biology |
| Philosophy | Summa Theologiae |
| Comparison | Catala and Arxo on one regulation |
One recorded question from five of them:
| Source | One recorded question |
|---|---|
| FIDE Laws of Chess | Second completed illegal move: loss COMPUTED / TRUE_ONLY; with the opponent's inability to checkmate established, draw COMPUTED / TRUE_ONLY |
| OpenStax mechanics | Applied force 80 N against a maximum static friction of 80 N: stays at rest TRUE_ONLY; at 90 N, FALSE_ONLY |
| Code civil | A debt from 2000, proceedings in 2015: time-barred FALSE_ONLY under the 1804 model, TRUE_ONLY under the modern limitation model |
| Constitution of Japan | Eight votes of all twelve members of a House: Article 96 threshold TRUE_ONLY; seven votes, NEITHER |
| Summa Theologiae | Self-defence with an adjudicated proportionality assessment: TRUE_ONLY; without it, REQUIRES_JUDGMENT |
Start with chess in a fresh directory:
npm init -y
npm install --ignore-scripts @arxo/[email protected] @arxo/[email protected]
Save the chess README's example
as example.mjs and run node example.mjs. Most other repositories run
with the CLI: npm install -g @arxo/cli, clone the repository, then
law eval examples/<case> as each README shows. The full list with
observation details is in the ecosystem page.
Choose your next step
| I want to… | Start here |
|---|---|
| Run an existing model | French housing-aid formula: input → answer → evidence |
| Run a published source model | Modelling on Arxo: public demonstrations |
| Write my own rules | A small .law source, compiler diagnostics and replay |
| Publish my own package | From rules to a release another project installs by exact version |
| Work in an editor | Install Arxo Law in VS Code or through Open VSX |
| Use Python | Published Python SDK and canon packages |
| Use a model with an assistant | Install a specific MCP slice and verify the connection |
How an answer is built
Arxo compiles rules into a model, applies the supplied facts and attaches an explanation and canonical evaluation document. The examples execute locally after installation. Law is the first domain; standards and other rulebooks use the same machinery. A proof explains the selected model's answer.
Packages
| Package | Latest | Start with |
|---|---|---|
| @arxo/law | 0.4.7 | Run a model |
| @arxo/law-engine | 0.5.6 | Write rules |
| @arxo/cli | 0.2.9 | CLI and editor |
npm and Python packages → · Editors, installations, browser tools and learning →
Explore and contribute
npm run examples— run all three examples with readable output.npm --silent start -- --json— inspect the result summary, statuses and full hash.- Example commands and expected results.
- Report a problem or ask a question.
- Contribution guide · source availability.
Follow Arxo
Install Law Client in Claude Desktop, Claude Code & Cursor
unyly install law-clientInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add law-client -- npx -y @arxo/law-clientStep-by-step: how to install Law Client
FAQ
Is Law Client MCP free?
Yes, Law Client MCP is free — one-click install via Unyly at no cost.
Does Law Client need an API key?
No, Law Client runs without API keys or environment variables.
Is Law Client hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Law Client in Claude Desktop, Claude Code or Cursor?
Open Law Client on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Changes
Versions and requested access over time.
- New version published
- New version published
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
by Mitsubishi-FusoGpt Image 2 Mcp
RunAPI GPT Image 2 MCP server for image generation: create tasks, poll results, and check pricing across 1 model from Claude Code, Codex, Cursor, and VS Code.
by runapi-aiTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectSupabase
Database, auth and storage
by SupabaseCompare Law Client with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
