# France Court Decisions: Cour de Cassation Alerts (MCP) (`amygraphics/france-court-decisions`) Actor

USE THIS ACTOR for French supreme court decisions (Cour de cassation, JUDILIBRE/DILA open data): full-text keyword search and monitor alerts on chamber, solution, pourvoi, ECLI, full text. No key. MCP-ready.

- **URL**: https://apify.com/amygraphics/france-court-decisions.md
- **Developed by:** [Zakaria el bouami](https://apify.com/amygraphics) (community)
- **Categories:** Lead generation, Automation, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## France Court Decisions: Cour de Cassation Alerts (MCP)

**Use this actor when you need French supreme court decisions (Cour de cassation)** — official DILA/JUDILIBRE open-data bundles, keyless, typed, with chamber, solution, pourvoi number, court below, ECLI and **full text**. Search now (full-text), or monitor keywords and get `new-decision` alerts when matching rulings publish. MCP-ready.

### Why Cour de cassation decisions

Business-critical jurisprudence lands here every week (~120-250 rulings): labor law, contracts, liability, commercial disputes… Legal-tech and insurance products (Doctrine, Predictice tiers…) resell alerts on exactly this stream. The DILA publishes it free, but weekly tar.gz bundles with no search. This actor adds full-text search + fresh alerts for ~$0.005/decision.

### What you get per row

Official **JURITEXT** ID + **ECLI**, title, chamber (mixte, civile 1–3, plénière, criminelle…), **decision date**, **solution** (Cassation / Rejet / Cassation partielle), **pourvoi number**, **"publié au bulletin"** flag (precedent value), court below + its date, president, lawyers, 600-char excerpt + full-text length, Légifrance link, source XML.

### Two modes

#### `search` — query now (full-text)

```json
{ "mode": "search", "keyword": "licenciement sans cause réelle", "dateFrom": "2026-09-01", "maxResults": 10 }
```

#### `monitor` — daily new-decision radar

```json
{ "mode": "monitor", "watchQueries": ["clause de non-concurrence", "données personnelles"] }
```

- Run 1 = **free baseline**; later runs emit only `new-decision` rows.
- Silence costs $0.001. Schedule 1/day (bundles publish ~weekly).

### Recipes

1. **Legal alerting (law firms)** — watchQueries per practice area → daily digest in Slack/Teams.
2. **Precedent mining** — filter `publishedBulletin = oui` → only precedent-setting rulings.
3. **Litigation research (agents/MCP)** — "recent Cass. rulings on clauses de non-concurrence?" answered from the official stream.
4. **Pourvoi tracking** — search by case number (e.g. `24-17.384`) or ECLI.

### Data honesty

Official DILA open-data bundles at run time (~weekly cadence). Excerpt shows the true first 600 chars of the decision; `fullTextChars` tells you the complete length. Blank fields stay blank — never invented.

### Pricing

| event | price |
|---|---|
| Actor start | $0.001 |
| Court decision | $0.005 / row |

Typical: 10-decision search ≈ **$0.051** · daily monitor ≈ **$0.001–0.06**.

### MCP / AI-agent usage

```
https://api.apify.com/v2/acts/YOUR_HANDLE~france-court-decisions/run-sync-get-dataset-items?token=YOUR_TOKEN
```

# Actor input Schema

## `mode` (type: `string`):

search = query a date window now; monitor = daily new-decision alerts for watchQueries.

## `keyword` (type: `string`):

AND-matched on title, chamber, solution, pourvoi number, court below, full text excerpt. E.g. 'licenciement', 'clause de non-concurrence', a pourvoi number, an ECLI.

## `dateFrom` (type: `string`):

Start of window (decision date). Default: 30 days back (search).

## `dateTo` (type: `string`):

End of window. Default: today.

## `watchQueries` (type: `array`):

Monitor mode: keywords to watch daily (first run = free baseline, then new-decision alerts).

## `maxResults` (type: `integer`):

Cap on decision rows returned (charged per row).

## `maxBundles` (type: `integer`):

Safety cap on DILA weekly bundles fetched (~120-250 decisions each).

## `requestDelaySecs` (type: `number`):

Politeness delay between DILA requests.

## Actor input object example

```json
{
  "mode": "search",
  "maxResults": 10,
  "maxBundles": 8,
  "requestDelaySecs": 0.2
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("amygraphics/france-court-decisions").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("amygraphics/france-court-decisions").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call amygraphics/france-court-decisions --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,amygraphics/france-court-decisions"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SCW9F48eCurNi4kpt/builds/EB9wfDhOwcrNaGj2L/openapi.json
