Code Civil
БесплатноПоддерживаетсяArxo Law MCP server for the fr.code_civil/legi slice, local over stdio
Описание
Arxo Law MCP server for the fr.code_civil/legi slice, local over stdio
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
Установить Code Civil в Claude Desktop, Claude Code, Cursor
unyly install code-civilСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add code-civil -- npx -y @arxo/mcp-code-civilПошаговые гайды: как установить Code Civil
FAQ
Code Civil MCP бесплатный?
Да, Code Civil MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Code Civil?
Нет, Code Civil работает без API-ключей и переменных окружения.
Code Civil — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Code Civil в Claude Desktop, Claude Code или Cursor?
Открой Code Civil на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: 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
автор: UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: 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
автор: blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
автор: Mitsubishi-FusoTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Compare Code Civil with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
