search_interventions

Pack: nosdeputes-fr · Endpoint: https://gateway.pipeworx.io/nosdeputes-fr/mcp

Full-text search across debate contributions.

Parameters

NameTypeRequiredDescription
querystringyes
deputy_slugstringnoRestrict to a specific deputy
date_fromstringnoYYYY-MM-DD
date_tostringnoYYYY-MM-DD
limitnumberno1-100 (default 25)
legislaturestringno

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

FieldTypeDescription
interventionsarray
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.

Regenerated from source · build July 6, 2026