# Code civil (France)

An MCP server that serves the French Civil Code as executable rules: give it facts and a legal date, get an answer with its grounds.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: arxohq
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/arxohq/arxo-code-civil
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/mcp/code-civil-france

## What it does

The server turns provisions of the French Civil Code into rules an agent can evaluate. You supply the circumstances and the date the law should be read at, and it returns a conclusion plus the articles behind it. Content is split into packages by subject: obligations, contract, property, family, inheritance, security, liability, Mayotte. A separate historical slice covers 1804.

The package `fr.code_civil` holds the limitation rules alone, not the whole code. Pick the package that matches your question, so a contract dispute goes to `fr.code_civil.contrat` and an estate question to `fr.code_civil.successions`. Source texts and labels stay in French; the English explanations are unofficial. The contemporary text is frozen at 16 September 2026, so this is not a live feed of French law.

Running it locally needs Node.js 20+ and Git. The CLI `@arxo/cli@0.2.4` targets macOS arm64 and Linux x64, and the models ship through GitHub rather than npm. If you only want agent access, the HTTP endpoint skips both Node.js and the clone.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.arxo.io/mcp/code-civil`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http code-civil https://mcp.arxo.io/mcp/code-civil
```

2. **Platform CLI**
```bash
claude mcp add code-civil-france -- npx -y @arxo/mcp-code-civil
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add code-civil-france --url https://mcp.arxo.io/mcp/code-civil
```

2. **Platform CLI**
```bash
codex mcp add code-civil-france -- npx -y @arxo/mcp-code-civil
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "code-civil-france": {
            "url": "https://mcp.arxo.io/mcp/code-civil"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "code-civil-france": {
            "command": "npx",
            "args": [
                "-y",
                "@arxo/mcp-code-civil"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "code-civil-france": {
            "type": "http",
            "url": "https://mcp.arxo.io/mcp/code-civil"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "code-civil-france": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@arxo/mcp-code-civil"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http code-civil-france https://mcp.arxo.io/mcp/code-civil
```

2. **Platform CLI**
```bash
gemini mcp add code-civil-france npx -y @arxo/mcp-code-civil
```

## When to use it
- check whether limitation bars a claim on an old debt
- separate contract wording before and after the 2016 reform
- test whether renegotiation is open under article 1195
- work out the surviving spouse's share of an estate
- tell missing evidence apart from a negative assertion

## Example prompts
- Take these facts and the 2015 date, check limitation under the 1804 reading
- This contract is from 1 October 2016 — which wording applies?
- Compute the surviving spouse's share with two children

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
