Bargo Congress Trades

io.github.bargo-ai由 GitHub 帳號 bargo-ai 發布v1.0.1更新於 Oct 24, 2026

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

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

託管型 MCP 伺服器,用來查詢經正規化的美國國會議員股票交易申報(STOCK Act),包含議員、股票代號與績效資料。

可以做什麼
  • 依議員、院別、交易類型或日期篩選國會交易,附申報金額區間與單筆交易績效
  • 查詢某位國會議員的所有申報交易,並提供績效摘要,例如交易筆數、買賣數量與買進每股平均報酬
  • 讀取彙總統計:總筆數、買賣對比、最新交易與申報日期,以及近 90 天最熱門的股票代號
適用情境
適合讓助理研究或說明近期美國國會議員股票交易申報、追蹤特定議員的申報內容,或依股票代號、院別彙整交易活動。
執行需求
使用服務商主機上的遠端 streamable HTTP 端點,不需在本機安裝。免費 API 金鑰透過 X-Api-Key 標頭傳送;也可在無金鑰下使用,但配額較低。需要網路連線。
安裝前請注意
需要 X-Api-Key 憑證,應妥善保密。申報依法可在交易後約 45 天才出現,因此並非即時資料。此服務為獨立且非官方,與美國眾議院、參議院及任何議員均無關聯,回傳內容不構成投資建議。公開展示資料時須明顯標註來源 Bargo。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Bargo Congress Trades,將其新增到工作區。
  2. 連接 X-Api-Key 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.bargo-ai%2Fcongress-trades/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

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

來源:README.md,提交 b0286a0

工具

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.

輸入參數typelimitmembertickerchamber

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

輸入參數limitmember_slug必填

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.

無需輸入參數。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。