fr_cc_get
Pack: fr-conseil-constitutionnel · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/fr_cc_get for the schema, then POST the same URL with its arguments for the data.
Fetch one Conseil constitutionnel decision by id (from fr_cc_search, e.g. “2023/20231052QPC”): number, kind, date, title, normalised outcome, the full French decision text paged with max_chars/offset, and the link to the Council’s PDF.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Decision id from fr_cc_search: year/number-and-kind, e.g. “2023/20231052QPC”, “2004/2004499DC”. |
max_chars | number | no | Max characters to return (default 12000, max 40000). |
offset | number | no | Character offset for paging (default 0). |
Example call
Arguments
{
"id": "2023/20231052QPC",
"max_chars": 1500
}
curl
curl -X POST https://gateway.pipeworx.io/fr-conseil-constitutionnel/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fr_cc_get","arguments":{"id":"2023/20231052QPC","max_chars":1500}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('fr_cc_get', {
"id": "2023/20231052QPC",
"max_chars": 1500
});
Response shape
| Field | Type | Description |
|---|---|---|
id | string | |
found | boolean | |
title | string | null | |
decision_number | string | null | |
decision_kind | string | null | |
decision_date | string | null | |
subject | string | null | |
outcome | string | null | |
total_chars | number | |
offset | number | |
returned_chars | number | |
has_more | boolean | |
next_offset | number | null | |
text | string | null | |
pdf_url | string | null | |
empty_reason | string | |
note | string | |
citation_url | string | |
data_as_of | string | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"found": {
"type": "boolean"
},
"title": {
"type": [
"string",
"null"
]
},
"decision_number": {
"type": [
"string",
"null"
]
},
"decision_kind": {
"type": [
"string",
"null"
]
},
"decision_date": {
"type": [
"string",
"null"
]
},
"subject": {
"type": [
"string",
"null"
]
},
"outcome": {
"type": [
"string",
"null"
]
},
"total_chars": {
"type": "number"
},
"offset": {
"type": "number"
},
"returned_chars": {
"type": "number"
},
"has_more": {
"type": "boolean"
},
"next_offset": {
"type": [
"number",
"null"
]
},
"text": {
"type": [
"string",
"null"
]
},
"pdf_url": {
"type": [
"string",
"null"
]
},
"empty_reason": {
"type": "string"
},
"note": {
"type": "string"
},
"citation_url": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the fr-conseil-constitutionnel pack
{
"mcpServers": {
"fr-conseil-constitutionnel": {
"url": "https://gateway.pipeworx.io/fr-conseil-constitutionnel/mcp"
}
}
}
See Getting Started for client-specific install steps.