list_deputies
Pack: nosdeputes-fr · Endpoint: https://gateway.pipeworx.io/nosdeputes-fr/mcp
List sitting deputies, optionally filtered by group or département.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
active | boolean | no | Only currently active (default true) |
group | string | no | Group acronym (e.g. “RE”, “LFI-NUPES”) |
departement | string | no | Département name or code |
legislature | string | no | Legislature number (default current) |
Example call
Arguments
{
"active": true
}
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":"list_deputies","arguments":{"active":true}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_deputies', {
"active": true
});
More examples
{
"group": "RE",
"departement": "Paris",
"active": true
}
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Deputy numeric identifier"
},
"slug": {
"type": "string",
"description": "NosDéputés URL slug"
},
"nom": {
"type": "string",
"description": "Full name"
},
"prenom": {
"type": "string",
"description": "First name"
},
"groupe": {
"type": "string",
"description": "Political group acronym"
},
"departement": {
"type": "string",
"description": "Département code or name"
},
"circonscription": {
"type": "string",
"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"
}
}
}
},
"count": {
"type": "integer",
"description": "Number of items returned."
}
},
"required": [
"items",
"count"
]
}
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.