list_groups

Pack: nosdeputes-fr · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/list_groups for the schema, then POST the same URL with its arguments for the data.

Political groups (groupes parlementaires) of the French Assemblée nationale from NosDéputés:

Parameters

NameTypeRequiredDescription
legislaturestringno

Example call

Arguments

{
  "legislature": "14"
}

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":{"legislature":"14"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('list_groups', {
  "legislature": "14"
});

More examples

{}

Response shape

Always returns: items, count

FieldTypeDescription
countintegerNumber of groups returned.
legislaturestringLegislature the groups belong to (16 default, 15, 14).
sourcestringUpstream NosDéputés URL the list was read from.
itemsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Number of groups returned."
    },
    "legislature": {
      "type": "string",
      "description": "Legislature the groups belong to (16 default, 15, 14)."
    },
    "source": {
      "type": "string",
      "description": "Upstream NosDéputés URL the list was read from."
    },
    "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"
          },
          "acronyme": {
            "type": "string",
            "description": "Group acronym (e.g. LFI-NUPES, RE, NI)"
          },
          "couleur": {
            "type": "string",
            "description": "Group colour as \"r,g,b\""
          },
          "order": {
            "type": "number",
            "description": "Seating order in the hemicycle"
          },
          "type": {
            "type": "string",
            "description": "Organisme type; always \"groupe\" here"
          },
          "url_nosdeputes": {
            "type": "string",
            "description": "NosDéputés group page"
          },
          "url_nosdeputes_api": {
            "type": "string",
            "description": "NosDéputés group JSON endpoint"
          }
        }
      }
    }
  },
  "required": [
    "items",
    "count"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the nosdeputes-fr pack
{
  "mcpServers": {
    "nosdeputes-fr": {
      "url": "https://gateway.pipeworx.io/nosdeputes-fr/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026