search_questions

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

Search written or oral questions submitted by French Assemblée nationale deputies, filtered by free-text query, deputy slug, and question type (ecrite, orale, au gouvernement). Returns question title, deputy, date, and type.

Parameters

NameTypeRequiredDescription
querystringno
deputy_slugstringno
typestringnoecrite | orale | au gouvernement
limitnumberno
legislaturestringno

Example call

Arguments

{
  "query": "fiscalité"
}

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_questions","arguments":{"query":"fiscalité"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('search_questions', {
  "query": "fiscalité"
});

More examples

{
  "query": "santé",
  "type": "ecrite",
  "deputy_slug": "emmanuel-macron",
  "limit": 10
}

Response shape

FieldTypeDescription
questionsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "questions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "description": "Question identifier"
          },
          "type": {
            "type": "string",
            "description": "Question type (ecrite/orale/au gouvernement)"
          },
          "url": {
            "type": "string",
            "description": "Full URL to question"
          },
          "date": {
            "type": "string",
            "description": "Question date (YYYY-MM-DD)"
          },
          "parlementaire": {
            "type": "string",
            "description": "Deputy slug"
          },
          "nom_complet": {
            "type": "string",
            "description": "Full name of questioner"
          },
          "titre": {
            "type": "string",
            "description": "Question title/summary"
          },
          "resume": {
            "type": "string",
            "description": "Question text excerpt"
          },
          "ministre": {
            "type": "string",
            "description": "Minister addressed"
          },
          "statut": {
            "type": "string",
            "description": "Status (posee, repondue, etc)"
          }
        }
      }
    }
  }
}

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