# French family benefits (CNAF corpus)

Runs executable computational models of French family benefit rules with traceable legal citations. Useful for inspecting statutory housing aid and allowance logic.

- 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-cnaf
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/mcp/french-family-benefits-cnaf-corpus

## What it does

The server connects computational rules from the French family allowance system directly to an AI assistant. It treats statutory texts like code, linking formulas such as housing assistance directly to the underlying legal articles.

Calculations run through Arxo models. When evaluating a claim, the engine supplies the computed amount alongside parameter proofs and statutory references. If an ambiguous article permits multiple readings, the engine flags that a choice of interpretation is required before concluding.

This project is an independent demonstration rather than an official tool released by the CNAF or French authorities. Running the local stdio version requires Node.js 20 or higher.

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

## Install

### Claude Code (native platform)

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

2. **Platform CLI**
```bash
claude mcp add french-family-benefits-cnaf-corpus -- npx -y @arxo/mcp-cnaf
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add french-family-benefits-cnaf-corpus --url https://mcp.arxo.io/mcp/cnaf
```

2. **Platform CLI**
```bash
codex mcp add french-family-benefits-cnaf-corpus -- npx -y @arxo/mcp-cnaf
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "french-family-benefits-cnaf-corpus": {
            "url": "https://mcp.arxo.io/mcp/cnaf"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "french-family-benefits-cnaf-corpus": {
            "command": "npx",
            "args": [
                "-y",
                "@arxo/mcp-cnaf"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "french-family-benefits-cnaf-corpus": {
            "type": "http",
            "url": "https://mcp.arxo.io/mcp/cnaf"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "french-family-benefits-cnaf-corpus": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@arxo/mcp-cnaf"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http french-family-benefits-cnaf-corpus https://mcp.arxo.io/mcp/cnaf
```

2. **Platform CLI**
```bash
gemini mcp add french-family-benefits-cnaf-corpus npx -y @arxo/mcp-cnaf
```

## When to use it
- calculate formula amounts for French housing assistance
- inspect traceable legal citations behind benefit parameters
- test conflicting statutory readings of article D. 823-17
- verify household scenario outcomes against executable rules

## Example prompts
- Calculate the APL housing formula for a single tenant in zone II earning 4000 euros
- Compare the PpPlancherFinal and PpLitteral interpretations for personal contribution
- Trace the statutory sources behind the parameters for article D. 823-17

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [CCXT](https://affpapa.org/en/nevibecode/mcp/ccxt.md) — MCP server · ★ 44591
- [Finance Toolkit](https://affpapa.org/en/nevibecode/mcp/finance-toolkit.md) — MCP server · ★ 5469
- [EdgarTools](https://affpapa.org/en/nevibecode/mcp/edgartools.md) — MCP server · ★ 2817
- [LetsFG — Flights & Hotels](https://affpapa.org/en/nevibecode/mcp/letsfg-flights-hotels.md) — MCP server · ★ 2197
- [AutoTS](https://affpapa.org/en/nevibecode/mcp/autots.md) — MCP server · ★ 1434

---
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
