France working days and public holidays (jours ouvrés, jours fériés)
france_working_daysFrench public holidays (jours fériés) and working days for mainland France and Alsace-Moselle, 2000-2027: list a year's holidays, count calendar, working (jours ouvrés) and business days (jours ouvrables) between two dates, or add N working days to a date (start date not counted). Labour Code rules (L3133-1, L3134-13), Easter-based dates, holidays worked by the company and extra days off taken into account. Use when a user needs the French public holidays of a year, the number of working days (jours ouvrés or ouvrables) in a period, for example for payroll, paid leave or a fixed-term contract, or the date reached after N working days. Deterministic code, no LLM. Every holiday date 2000-2027 for mainland France and Alsace-Moselle matches the official government calendar (calendrier.api.gouv.fr) and the service-public.fr tables; counts are cross-checked by an independent day-by-day enumeration. Not supported (refused for free with HTTP 422): overseas departments and territories (outre-mer), years outside the covered range, periods over 10 years, legal or court deadlines (procedural deadline rules differ). Price: 0.001 USDC per successful call, paid with x402 over MCP. Missing or invalid fields are reported for free with the questions to ask the user; you never pay for an error. Returns JSON (also in structuredContent): calculateur, resultat, detail (step by step), hypotheses, bareme (version, effective date, sources), estimation_indicative, avertissement, lien_verification. Full output schema and a real example: list_france_calculators.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>",
"zone": "<zone>"
},
"name": "france_working_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Workplace location: metropole (mainland France outside Alsace-Moselle), alsace_moselle (Bas-Rhin, Haut-Rhin, Moselle), or outre_mer (overseas, refused for free). | |
| annee | No | Required for liste_feries: year, 2000 to 2027. | |
| date_fin | No | Required for compter_jours: end date YYYY-MM-DD (included). | |
| operation | Yes | liste_feries (public holidays of a year), compter_jours (count days between two dates), or ajouter_jours (date reached after adding N working or business days). | |
| date_debut | No | Required for compter_jours: start date YYYY-MM-DD (included). | |
| type_jours | No | Required for ajouter_jours: ouvres (working days, the days normally worked, Monday to Friday by default) or ouvrables (Monday to Saturday). | |
| date_depart | No | Required for ajouter_jours: starting date YYYY-MM-DD (not counted; counting starts the next day). | |
| nombre_jours | No | Required for ajouter_jours: number of days to add, 1 to 1000. | |
| jours_travailles | No | Optional (working days only): weekdays normally worked, in French (lundi, mardi, mercredi, jeudi, vendredi, samedi, dimanche). Default Monday to Friday. | |
| feries_travailles | No | Optional: public holidays worked in the company (e.g. lundi_pentecote for the solidarity day). Codes: jour_an, vendredi_saint, lundi_paques, victoire_1945, ascension, lundi_pentecote, fete_nationale, assomption, toussaint, armistice_1918, noel, saint_etienne. May 1st is always a day off. Default: none. | |
| vendredi_saint_chome | No | Required for alsace_moselle: true if Good Friday (Vendredi saint) is a holiday in the workplace town (by law, towns with a Protestant church or a mixed church). | |
| autres_jours_non_travailles | No | Optional (working days only): other days off to exclude, YYYY-MM-DD (bridge days, collective-agreement holidays). |