
Us Congress Trades
io.github.johnisanerdPublished by GitHub account johnisanerdv1.1.0Updated Nov 8, 2026
US Congress members' disclosed stock trades. Paid, on Apify's hosted MCP.
Overview
Hosted Apify MCP tool that lets an assistant pull US Congress members' disclosed stock trades as structured JSON, filtered by member, ticker or date.
- What you can do
- Retrieve disclosed Congressional transactions (PTRs) from House and Senate filings, one row per transaction
- Filter by member first or last name, stock ticker, an exact transaction date, or a start/end date range
- Limit result volume with a max-results setting between 1 and 1000
- Return member, chamber, state/district, asset, ticker, transaction type, reported amount range, dates, ownership and filing IDs
- Include per-run search metadata for audit trails
- When to use it
- Useful when you want an assistant to look up or summarize what members of Congress have disclosed trading in a given stock, period or by a specific member, for research, transparency or compliance questions.
- Requirements
- A remote endpoint at mcp.apify.com preloaded with this Actor; an Apify account and authentication via browser OAuth or an Apify API token (APIFY_API_TOKEN, or an Authorization bearer header). Usage is paid per run plus per transaction returned.
Installation
In SourceWeft
- Open Us Congress Trades in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.johnisanerd%2Fus-congress-trades/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"us-congress-trades": {
"type": "http",
"url": "https://mcp.apify.com/?tools=johnvc/us-congress-financial-disclosures-and-stock-trading-data"
}
}
}README
🏛️ Congress Trading API: US Congressional Stock Trades and Disclosures in Clean JSON
The most efficient, reliable, and developer-friendly way to use the Congress Trading API.
Actor page: apify.com/johnvc/us-congress-financial-disclosures-and-stock-trading-data Input schema: apify.com/johnvc/us-congress-financial-disclosures-and-stock-trading-data/input-schema
The Congress Trading API returns US Congressional Periodic Transaction Reports (PTRs) as clean, structured JSON. Each row is one disclosed transaction: the member name and chamber, state and district, asset and ticker, transaction type, reported amount range, transaction and notification dates, ownership, and filing IDs. Filter by member name, ticker, an exact date, or a date range. Data is normalized from official US House and Senate financial disclosure filings under the STOCK Act.
Video Walkthrough
Quick Start
Prerequisites
- Python 3.11 or higher
- An Apify account and API key (get a free key here)
-
Clone the repository
-
Install dependencies with UV
-
Configure your API key
-
Run the example
Alternative: set the API key directly
Why Use This Congress Trading API?
Both chambers, one schema. House and Senate Periodic Transaction Reports are normalized into a single, queryable shape, so you analyze all of Congress with one parser instead of two filing systems.
Powerful filters. Narrow by member first or last name, by stock ticker, by an exact transaction date, or by a date range. Combine them to answer questions like "every NVDA trade this member made in 2024."
Audit-ready structured JSON. One row per transaction, with the reported amount range exactly as filed, plus filing and document IDs and per-run search metadata for traceable, reproducible pulls.
Predictable, pay-per-use pricing. Billing is per run plus per transaction returned, with no monthly rental. You control cost directly with Max_Results.
Easy to automate. Call it from Python in a few lines, or load it as an MCP tool so assistants like Claude and Cursor can pull Congressional trades for you on demand.
Features
Core Capabilities
- Filter by member, ticker, or date (exact date or range)
- Both chambers: House and Senate filings in one dataset
- Asset types including stock, options, ETF, mutual fund, bond, and crypto
- Ownership attribution for member, spouse, dependent child, or joint holdings
- Pre-built dataset views for purchases, sales, options trades, and stock trades
Data Quality
- One row per PTR transaction with member, chamber, asset, ticker, type, amount range, and dates
- Amount ranges exactly as filed (members report brackets, not exact values)
- Filing and document IDs for tracing back to the source disclosure
- Per-run search metadata (timestamp, query timing, result count) for audit trails
- Normalized from official US House Clerk and Senate eFD filings under the STOCK Act
Usage Examples
Basic Example
The most recent disclosures across all members. This is the cheapest way to try the API.
By member and date range
Every disclosed transaction for a member within a date window.
By ticker
Every Congress member who traded a given ticker.
Input Parameters
All parameters are optional. Run with no input to get the most recent transactions; combine fields to narrow results.
Output Format
One transaction returned as a single dataset row.
Field reference
Use as an MCP tool
You can load the Congress Trading API as an MCP tool so assistants call it for you. The MCP server URL preloads just this one Actor:
Authenticate with OAuth in the browser when offered, or with your Apify API token (the same APIFY_API_TOKEN used by the Python example). Get a token at https://console.apify.com/settings/integrations and a free Apify account at https://apify.com?fpr=9n7kx3 .
Install in Claude Cowork Desktop
[Install in Claude Cowork Desktop]
Cowork is the desktop app's automation mode. To give it the Congress Trading API as a tool, add the Apify MCP server as a connector.
- Open the Claude desktop app and go to Settings → Connectors (or Settings → Developer → Edit Config to edit
claude_desktop_config.jsondirectly).- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the Apify MCP server, preloaded with only this Actor:
- Restart the app. When Cowork first calls the tool, complete the OAuth prompt in your browser, or add your Apify API token in the connector settings to skip OAuth.
- In a Cowork chat, confirm the tool is available and ask it to run the Congress Trading API.
Download the desktop app and start a free trial: https://claude.ai/referral/uIlpa7nPLg More help: https://docs.apify.com/platform/integrations/claude-desktop
Install in Claude Code
Claude Code is the command-line tool. Add the Actor's MCP server with one command:
To use a token instead of browser OAuth:
Then verify with claude mcp list, or run /mcp inside a session. Ask Claude Code to call the Congress Trading API.
Try Claude Code free: https://claude.ai/referral/uIlpa7nPLg Claude Code MCP docs: https://code.claude.com/docs/en/mcp
Install in Claude (website)
On claude.ai you add Apify as a connector, then enable just this Actor's tool.
- Go to Settings → Connectors → Browse connectors and search for Apify MCP server. Install it (enable or update if prompted).
- When connecting, authenticate with your Apify API token, and enable the tool
johnvc/us-congress-financial-disclosures-and-stock-trading-data. - In any chat, open + → Connectors and turn on Apify.
- Alternatively, choose Add custom connector and paste the full MCP URL
https://mcp.apify.com/?tools=actors,docs,johnvc/us-congress-financial-disclosures-and-stock-trading-data, using OAuth when prompted. - Ask Claude to run the Congress Trading API.
Open Claude on the web: https://claude.ai/referral/uIlpa7nPLg
Install in Cursor
Cursor reads MCP servers from a project file at .cursor/mcp.json.
- In your project, create
.cursor/mcp.json:
- If you prefer token auth over browser OAuth, add a header:
- Open Cursor → Settings → MCP and confirm the apify server is connected (green dot).
- In Composer or Chat, ask Cursor to call the Congress Trading API.
New to Cursor? Get it here: https://cursor.com/referral?code=XQP4VBLI3NNX
Install in ChatGPT
ChatGPT connects to the Apify MCP server through Developer mode (available on ChatGPT Pro, Plus, Business, Enterprise, and Education plans).
- Click your profile icon, then go to Settings > Apps. If you do not see a Create app button, open Advanced settings and enable Developer mode.
- Click Create app and fill out the form:
- Name: Apify
- MCP Server URL:
https://mcp.apify.com/?tools=actors,docs,johnvc/us-congress-financial-disclosures-and-stock-trading-data - Authentication: OAuth
- Click Create and authorize the connection with Apify.
- To use the app in a conversation, click + in the chat, choose Developer mode, and select Apify.
More help: https://docs.apify.com/platform/integrations/mcp
Use the Congress Trading API to power transparency, research, and compliance workflows with reliable, structured results.
🤖 Ask an AI assistant about this Actor
Open a ready-to-send prompt about the Congress Financial Disclosures API in the AI of your choice:
- 💬 ChatGPT
- 🧠 Claude
- 🔍 Perplexity
- 🅒 Copilot
Last Updated: 2026.10.27
Source: README.md at commit 2dcad80
Tools
0Version history
2- v1.1.0LatestNov 7, 2026
- v1.0.0Sep 16, 2026
Score
83% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- LicenseNot applicable
A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.