politician_member_activity

Pack: politician-trades · 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/politician_member_activity for the schema, then POST the same URL with its arguments for the data.

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 — 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 politician-trades pack
{
  "mcpServers": {
    "politician-trades": {
      "url": "https://gateway.pipeworx.io/politician-trades/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 12, 2026