search_interventions
Pack: nosdeputes-fr · Endpoint: https://gateway.pipeworx.io/nosdeputes-fr/mcp
Full-text search across debate contributions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | |
deputy_slug | string | no | Restrict to a specific deputy |
date_from | string | no | YYYY-MM-DD |
date_to | string | no | YYYY-MM-DD |
limit | number | no | 1-100 (default 25) |
legislature | string | no |
Example call
Arguments
{
"query": "climat"
}
curl
curl -X POST https://gateway.pipeworx.io/nosdeputes-fr/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_interventions","arguments":{"query":"climat"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_interventions', {
"query": "climat"
});
More examples
{
"query": "réforme des retraites",
"deputy_slug": "marine-le-pen",
"date_from": "2023-01-01",
"date_to": "2024-01-01",
"limit": 50
}
Response shape
| Field | Type | Description |
|---|---|---|
interventions | array |
Full JSON Schema
{
"type": "object",
"properties": {
"interventions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Intervention identifier"
},
"url": {
"type": "string",
"description": "Full URL to intervention"
},
"debut": {
"type": "string",
"description": "Start time (ISO 8601)"
},
"fin": {
"type": "string",
"description": "End time (ISO 8601)"
},
"hemicycle": {
"type": "boolean",
"description": "Spoken in hemicycle"
},
"commission": {
"type": "string",
"description": "Commission name if applicable"
},
"parlementaire": {
"type": "string",
"description": "Deputy slug"
},
"nom_complet": {
"type": "string",
"description": "Full name of speaker"
},
"fonction": {
"type": "string",
"description": "Speaker role/function"
},
"resume": {
"type": "string",
"description": "Text excerpt of intervention"
},
"source": {
"type": "string",
"description": "Source document"
}
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"nosdeputes-fr": {
"url": "https://gateway.pipeworx.io/nosdeputes-fr/mcp"
}
}
}
See Getting Started for client-specific install steps.