get_deputy

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

Deputy profile by slug or numeric id.

Parameters

NameTypeRequiredDescription
slug_or_idstringyesNosDéputés slug or numeric id
legislaturestringno

Example call

Arguments

{
  "slug_or_id": "jean-paul-dupont"
}

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":"get_deputy","arguments":{"slug_or_id":"jean-paul-dupont"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_deputy', {
  "slug_or_id": "jean-paul-dupont"
});

More examples

{
  "slug_or_id": "12345",
  "legislature": "16"
}

Response shape

FieldTypeDescription
idnumberDeputy numeric identifier
slugstringNosDéputés URL slug
nomstringLast name
prenomstringFirst name
groupestringPolitical group acronym
departementstringDépartement code
circonscriptionnumberConstituency number
sexestringGender (M/F)
date_naissancestringBirth date (YYYY-MM-DD)
place_hemicyclestringHemicycle seat position
emailstringContact email
url_nosdeputesstringFull NosDéputés profile URL
url_assembleestringOfficial Assemblée website URL
twitterstringTwitter handle
photo_urlstringDeputy photo URL
professionstringProfessional background
nb_mandatsnumberNumber of terms served
date_debut_mandatstringTerm start date
date_fin_mandatstringTerm end date
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "number",
      "description": "Deputy numeric identifier"
    },
    "slug": {
      "type": "string",
      "description": "NosDéputés URL slug"
    },
    "nom": {
      "type": "string",
      "description": "Last name"
    },
    "prenom": {
      "type": "string",
      "description": "First name"
    },
    "groupe": {
      "type": "string",
      "description": "Political group acronym"
    },
    "departement": {
      "type": "string",
      "description": "Département code"
    },
    "circonscription": {
      "type": "number",
      "description": "Constituency number"
    },
    "sexe": {
      "type": "string",
      "description": "Gender (M/F)"
    },
    "date_naissance": {
      "type": "string",
      "description": "Birth date (YYYY-MM-DD)"
    },
    "place_hemicycle": {
      "type": "string",
      "description": "Hemicycle seat position"
    },
    "email": {
      "type": "string",
      "description": "Contact email"
    },
    "url_nosdeputes": {
      "type": "string",
      "description": "Full NosDéputés profile URL"
    },
    "url_assemblee": {
      "type": "string",
      "description": "Official Assemblée website URL"
    },
    "twitter": {
      "type": "string",
      "description": "Twitter handle"
    },
    "photo_url": {
      "type": "string",
      "description": "Deputy photo URL"
    },
    "profession": {
      "type": "string",
      "description": "Professional background"
    },
    "nb_mandats": {
      "type": "number",
      "description": "Number of terms served"
    },
    "date_debut_mandat": {
      "type": "string",
      "description": "Term start date"
    },
    "date_fin_mandat": {
      "type": "string",
      "description": "Term end date"
    }
  }
}

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