Bargo Congress Trades
Query normalized U.S. Congress STOCK Act trades with member, ticker, and performance data.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http bargo-congress-trades 'https://www.bargo.ai/free-apis/congress/mcp' --header 'X-Api-Key: <Free Bargo API key from https://www.bargo.ai/free-apis/dash>'
{
"mcpServers": {
"bargo-congress-trades": {
"type": "http",
"url": "https://www.bargo.ai/free-apis/congress/mcp",
"headers": {
"X-Api-Key": "<Free Bargo API key from https://www.bargo.ai/free-apis/dash>"
}
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Bargo Free API Packages
Official lightweight clients for Bargo Free APIs.
Packages
packages/npm- npm package:@bargo-ai/congresspackages/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
pip install bargo-congress
from bargo_congress import BargoCongressClient
client = BargoCongressClient() # or BargoCongressClient(api_key="...")
# Recent disclosures for one ticker
data = 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 chambers
senate_buys = client.trades(chamber="senate", type="buy", limit=10)
# Members, one member's disclosures, aggregates, dataset freshness
client.members(limit=50)
client.member("gilbert-cisneros")
client.stats()
client.health()
JavaScript / TypeScript
npm install @bargo-ai/congress
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
curl "https://www.bargo.ai/free-apis/congress/v1/trades?ticker=NVDA&limit=5"
# With a free key
curl -H "X-Api-Key: $BARGO_API_KEY" \
"https://www.bargo.ai/free-apis/congress/v1/trades?chamber=senate&type=buy&limit=10"
Endpoints
| Endpoint | Returns |
|---|---|
GET /trades | Disclosures, filterable by member, chamber, type, and date |
GET /trades/{ticker} | Disclosures for a single ticker |
GET /members | Members of Congress with disclosure activity |
GET /members/{member_slug} | One member's disclosures |
GET /stats | Aggregate trading statistics |
GET /health | API 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.
Questions fréquentes
Qu'est-ce que Bargo Congress Trades ?
Query normalized U.S. Congress STOCK Act trades with member, ticker, and performance data.
Comment installer Bargo Congress Trades ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http bargo-congress-trades 'https://www.bargo.ai/free-apis/congress/mcp' --header 'X-Api-Key: <Free Bargo API key from https://www.bargo.ai/free-apis/dash>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Bargo Congress Trades ?
Oui. Il attend X-Api-Key, à renseigner dans sa configuration.
Bargo Congress Trades est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient Bargo Congress Trades ?
Il est publié par bargo-ai. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.