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 分

    请在仓库或注册中心条目中声明许可证。