politician_member_activity

Pack: politician-trades · Endpoint: https://gateway.pipeworx.io/politician-trades/mcp

Detail view for a single member of Congress (or executive-branch filer): full lifetime trade count, windowed activity, late-filing rate, avg days-to-file, estimated disclosed volume, and avg excess return vs SPY across disclosed trades — the closest the public data gets to “this member’s trades have been beating the index”. Accepts a full name (“Nancy Pelosi”), a last name (“Pelosi”), or a canonical filer id (“house_nancy_pelosi”).

Parameters

NameTypeRequiredDescription
memberstringyesRepresentative name (last name or full) or canonical filer id.
daysnumbernoLook-back window in days for windowed stats. Default 365.

Example call

Arguments

{
  "member": "Nancy Pelosi",
  "days": 365
}

curl

curl -X POST https://gateway.pipeworx.io/politician-trades/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"politician_member_activity","arguments":{"member":"Nancy Pelosi","days":365}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('politician_member_activity', {
  "member": "Nancy Pelosi",
  "days": 365
});

More examples

{
  "member": "house_nancy_pelosi",
  "days": 90
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "politician-trades": {
      "url": "https://gateway.pipeworx.io/politician-trades/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026