get_deputy
Pack: nosdeputes-fr · Endpoint: https://gateway.pipeworx.io/nosdeputes-fr/mcp
Deputy profile by slug or numeric id.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
slug_or_id | string | yes | NosDéputés slug or numeric id |
legislature | string | no |
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
| Field | Type | Description |
|---|---|---|
id | number | Deputy numeric identifier |
slug | string | NosDéputés URL slug |
nom | string | Last name |
prenom | string | First name |
groupe | string | Political group acronym |
departement | string | Département code |
circonscription | number | Constituency number |
sexe | string | Gender (M/F) |
date_naissance | string | Birth date (YYYY-MM-DD) |
place_hemicycle | string | Hemicycle seat position |
email | string | Contact email |
url_nosdeputes | string | Full NosDéputés profile URL |
url_assemblee | string | Official Assemblée website URL |
twitter | string | Twitter handle |
photo_url | string | Deputy photo URL |
profession | string | Professional background |
nb_mandats | number | Number of terms served |
date_debut_mandat | string | Term start date |
date_fin_mandat | string | Term 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.