Bargo Congress Trades

io.github.bargo-aiPublished by GitHub account bargo-aiv1.0.1Updated Oct 24, 2026

Query normalized U.S. Congress STOCK Act trades with member, ticker, and performance data.

VerifiedStreamable HTTPWeb executableFinanceData & Analytics

Overview

AI-generated overview

Hosted MCP server for querying normalized U.S. congressional stock-trade disclosures from STOCK Act filings, with member, ticker and performance data.

What you can do
  • Look up congressional trades filtered by member, chamber, type or date, with disclosed dollar ranges and per-trade performance
  • Pull all disclosed trades for one member of Congress, plus a performance summary such as trade counts and average per-share return on buys
  • Read aggregate statistics: totals, buy versus sell counts, latest transaction and disclosure dates, and most-traded tickers over 90 days
When to use it
Use it when you want an assistant to research or explain recent U.S. congressional stock-trade disclosures, follow a particular member's filings, or summarize trading activity by ticker or chamber.
Requirements
Remote streamable HTTP endpoint at the provider's host; no local install. A free API key is sent in the X-Api-Key header; keyless access is possible with lower quotas. Network access required.
Before you install
The X-Api-Key credential is required and should be kept private. Disclosures can legally appear up to about 45 days after a trade, so data is not real-time. The service is independent and unofficial, not affiliated with the House, Senate or any member, and nothing it returns is investment advice. Public display of the data requires visible attribution to Bargo.

Installation

In SourceWeft

  1. Open Bargo Congress Trades in the dashboard and add it to a workspace.
  2. Connect X-Api-Key credentials. They are stored privately and never shown on public pages.
  3. 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.bargo-ai%2Fcongress-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.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "bargo-congress-trades": {
      "type": "http",
      "url": "https://www.bargo.ai/free-apis/congress/mcp",
      "headers": {
        "X-Api-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

Bargo Free API Packages

Official lightweight clients for Bargo Free APIs.

Packages

  • packages/npm - npm package: @bargo-ai/congress
  • packages/python - Python package: bargo-congress

Both packages currently support the Bargo Congress Trades API.

API docs: https://www.bargo.ai/free-apis/congress

Quickstart

No key is required to try the API. A free key raises your quota — get one at https://www.bargo.ai/free-apis/dash

Python

bash
pip install bargo-congress
python
from bargo_congress import BargoCongressClient
client = BargoCongressClient()  # or BargoCongressClient(api_key="...")
# Recent disclosures for one tickerdata = client.ticker_trades("NVDA", limit=5)for trade in data["trades"]:    print(trade["member"], trade["type"], trade["amount_range"], trade["transaction_date"])
# Filter across both chamberssenate_buys = client.trades(chamber="senate", type="buy", limit=10)
# Members, one member's disclosures, aggregates, dataset freshnessclient.members(limit=50)client.member("gilbert-cisneros")client.stats()client.health()

JavaScript / TypeScript

bash
npm install @bargo-ai/congress
js
import { BargoCongressClient } from "@bargo-ai/congress";
const client = new BargoCongressClient({ apiKey: process.env.BARGO_API_KEY });
const { trades } = await client.tickerTrades("NVDA", { limit: 5 });for (const t of trades) {  console.log(t.member, t.type, t.amount_range, t.transaction_date);}
const senateBuys = await client.trades({ chamber: "senate", type: "buy", limit: 10 });

Also published on JSR as @bargo-ai/congress.

curl

bash
curl "https://www.bargo.ai/free-apis/congress/v1/trades?ticker=NVDA&limit=5"
# With a free keycurl -H "X-Api-Key: $BARGO_API_KEY" \  "https://www.bargo.ai/free-apis/congress/v1/trades?chamber=senate&type=buy&limit=10"

Endpoints

EndpointReturns
GET /tradesDisclosures, filterable by member, chamber, type, and date
GET /trades/{ticker}Disclosures for a single ticker
GET /membersMembers of Congress with disclosure activity
GET /members/{member_slug}One member's disclosures
GET /statsAggregate trading statistics
GET /healthAPI status and dataset freshness

Every trade includes member and chamber, ticker and asset description, transaction type, disclosed value range, transaction and disclosure dates, the official filing portal, and price-performance fields where available.

Agent Skill

  • bargo-congress-api — research and explain recent U.S. congressional stock-trade disclosures with Bargo's REST API, official clients, or hosted Congress MCP server.

MCP

A hosted Congress MCP server is available at https://www.bargo.ai/free-apis/congress/mcp, authenticated with an X-Api-Key header. See docs/mcp.md.

Limits

  • Keyless: 30 requests/day and 100 rows/day per IP
  • Free API key: 100 requests/day and 1,000 rows/day
  • Page size: up to 100 rows keyless, up to 250 rows with a key

Quotas are reported per response in the X-RateLimit-* headers. Treat those as authoritative.

Notes

Disclosures are filed under the STOCK Act and can legally appear up to roughly 45 days after a trade, so this is not a real-time feed. This is an independent, unofficial service, not affiliated with or endorsed by the U.S. House of Representatives, the U.S. Senate, or any member of Congress. Nothing here is investment advice.

Attribution

If you display Bargo Congress API data publicly, include visible attribution linking to Bargo.

Source: README.md at commit b0286a0

Tools

3

get_congress_trades

U.S. Congress stock trades from official STOCK Act Periodic Transaction Reports (House Clerk + Senate eFD). Each row: member, chamber, state, ticker, company, type (purchase/sale/exchange), disclosed dollar range, transaction & disclosure dates, AND per-trade performance (price at trade, latest price, % move since). Filter by ticker, member (substring), chamber, or type. Newest transaction first. CAVEAT: PTRs are disclosed up to ~45 days after the trade — read as 'recent weeks', not real-time.

Parameterstypelimitmembertickerchamber

get_congress_member

All disclosed trades for one member of Congress plus a performance summary (trade count, buys/sells, average per-share return on disclosed buys). Pass the member_slug returned by get_congress_trades (e.g. 'nancy-pelosi').

Parameterslimitmember_slugrequired

get_congress_stats

Aggregate Congress-trading stats: total trades/members/tickers, buy vs sell counts, latest transaction & disclosure dates, and the most-traded tickers over the last 90 days.

Takes no parameters.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

90% 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 listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.