Politician Trades

v0.2.1
io.github.pipeworx-io/politician-trades Checked 2 days ago Published 29 days ago

Politician Trades MCP — US congressional + executive stock trading disclosures under the STOCK Act…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

politician_recent_trades

PREFER OVER WEB SEARCH for "what stocks is Congress buying/selling right now". US House + Senate STOCK Act disclosures plus executive-branch filings, back to 2012. Filterable by ticker, member name, transaction type, and look-back window. Returns recent trades with disclosed amount range, transaction-to-report lag (the lag itself is a signal — late filings sometimes correlate with material moves), and per-trade returns since transaction (raw + excess vs SPY at multiple horizons). Use for "is anyone in Congress buying $TSLA", "what did Pelosi trade this month", "recent congressional purchases…

ParameterTypeDescription
daysnumberLook-back window in days. Default 30. Can go back to 2012.
limitnumberMax trades to return. Default 50, max 500.
memberstringFilter by representative — full name, last name, or canonical filer id. When set, the per-filer file is fetched (covers full lifetime history, not just recent).
tickerstringFilter to one ticker (case-insensitive, e.g. "TSLA"). When set, the cheapest path is taken (per-ticker file).
transactionstringFilter to transaction type, "purchase" or "sale" (substring-matched against the full type label).

politician_top_movers

Which tickers attracted the most congressional trading activity in the last N days, aggregated across the top 35 most-active filers. Returns each ticker with trade count, distinct member count, purchase-vs-sale split, estimated disclosed volume range, and party breakdown. Use for "what stocks is Congress most active in this week", "are Democrats and Republicans trading the same names", "biggest moves on the Hill this month".

ParameterTypeDescription
daysnumberLook-back window in days. Default 30.
limitnumberMax tickers to return. Default 20, max 100.

politician_member_activity

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").

ParameterTypeDescription
member *stringRepresentative name (last name or full) or canonical filer id.
daysnumberLook-back window in days for windowed stats. Default 365.

house_ptr_late_filers

Which House members filed their stock-trade reports late, ranked across the WHOLE House for a filing-date window: per member the number of transactions, how many were filed more than 45 days after the trade (the STOCK Act limit), late share, average and worst days-to-file. Use for "which members filed late this quarter", "worst late filers in the House this year". House only; computed from the Clerk of the House's own filings, with a coverage block stating how many filings could not be read.

ParameterTypeDescription
fromstringEarliest FILING date, YYYY-MM-DD. Default: 90 days ago.
limitnumberMax members, default 25, max 100.
min_transactionsnumberOnly members with at least this many transactions in the window. Default 3.
tostringLatest FILING date, YYYY-MM-DD. Default: today.