list_groups
Pack: nosdeputes-fr · Endpoint: https://gateway.pipeworx.io/nosdeputes-fr/mcp
Political groups in the assembly.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
legislature | string | no |
Example call
Arguments
{}
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_groups","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_groups', {});
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": "Group identifier"
},
"slug": {
"type": "string",
"description": "Group URL slug"
},
"nom": {
"type": "string",
"description": "Full group name"
},
"abrev": {
"type": "string",
"description": "Group acronym (e.g. RE, LFI-NUPES)"
},
"url_nosdeputes": {
"type": "string",
"description": "Full NosDéputés group URL"
},
"url_assemblee": {
"type": "string",
"description": "Official Assemblée group URL"
},
"couleur": {
"type": "string",
"description": "Group color code"
},
"nombre_deputes": {
"type": "number",
"description": "Number of members"
}
}
}
},
"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.