trades
Stock trades of U.S. Congress & executive-branch officials, with conflict flags. Read-only.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"trades": {
"url": "https://potomacledger.com/mcp"
}
}
}遠端端點
https://potomacledger.com/mcpstreamable-http它能做什麼
工具清單
工具(6)
🟢search_trades(person, ticker, branch, role, type, ...)
Search disclosed trades by person, ticker, branch, role (Senate/House/title), buy/sell, conflict flag, minimum dollar amount, and date window. Returns newest first.
輸入結構描述
{
"type": "object",
"properties": {
"person": {
"type": "string",
"description": "Member or official name (substring, case-insensitive)"
},
"ticker": {
"type": "string",
"description": "Stock ticker, e.g. NVDA (case-insensitive)"
},
"branch": {
"type": "string",
"description": "Either \"congress\" or \"executive\" (case-insensitive)"
},
"role": {
"type": "string",
"description": "Chamber for Congress (Senate / House) or title substring for executive (President / Secretary / Administrator…), case-insensitive"
},
"type": {
"type": "string",
"description": "Transaction direction: \"buy\", \"sell\" (includes partial sales), or \"exchange\". Case-insensitive."
},
"conflict": {
"type": "boolean",
"description": "Only trades flagged as a potential conflict"
},
"minAmount": {
"type": "number",
"description": "Minimum upper-bound of the disclosed dollar range"
},
"since": {
"type": "string",
"description": "ISO date lower bound (disclosure/trade date)"
},
"until": {
"type": "string",
"description": "ISO date upper bound"
},
"limit": {
"type": "number",
"description": "Max results per page (default 100, capped 500)"
},
"offset": {
"type": "number",
"description": "Skip the first N matching rows — pair with limit to page through large result sets"
}
}
}🟢get_person_trades(name, limit)
All disclosed trades for a named member of Congress or executive-branch official.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"limit": {
"type": "number"
}
},
"required": [
"name"
]
}🟢get_ticker_activity(ticker, limit)
Which officials have disclosed trades in a given ticker.
輸入結構描述
{
"type": "object",
"properties": {
"ticker": {
"type": "string"
},
"limit": {
"type": "number"
}
},
"required": [
"ticker"
]
}🟢list_recent_trades(branch, role, since, until, type, ...)
The most recently disclosed trades — newest first. Accepts the same branch/role/since/until/type filters as search_trades so an agent can scope to a chamber or window in one call.
輸入結構描述
{
"type": "object",
"properties": {
"branch": {
"type": "string",
"description": "Either \"congress\" or \"executive\" (case-insensitive)"
},
"role": {
"type": "string",
"description": "Chamber (Senate/House) or title substring"
},
"since": {
"type": "string",
"description": "ISO date lower bound"
},
"until": {
"type": "string",
"description": "ISO date upper bound"
},
"type": {
"type": "string",
"description": "Direction: \"buy\", \"sell\", or \"exchange\" (case-insensitive)"
},
"limit": {
"type": "number"
}
}
}🟢list_conflicts(branch, role, since, until, limit)
Trades flagged as a potential conflict (company sector overlaps the official's committee or agency). Accepts branch/role/since/until filters.
輸入結構描述
{
"type": "object",
"properties": {
"branch": {
"type": "string",
"description": "Either \"congress\" or \"executive\" (case-insensitive)"
},
"role": {
"type": "string"
},
"since": {
"type": "string"
},
"until": {
"type": "string"
},
"limit": {
"type": "number"
}
}
}🟢aggregates(branch, role, since, until, type, ...)
Summary stats over the filtered set: totals, branch split, most-active officials, top tickers bought/sold (per individual stock), top sectors bought/sold, potential conflict count, date range. Accepts the same branch/role/since/until/type/ticker filters as search — pass branch=congress + role=Senate + since=YYYY-MM-DD to scope. Use this BEFORE paginating search_trades when you only need ranked counts.
輸入結構描述
{
"type": "object",
"properties": {
"branch": {
"type": "string",
"description": "Either \"congress\" or \"executive\" (case-insensitive)"
},
"role": {
"type": "string",
"description": "Chamber (Senate/House) or title substring"
},
"since": {
"type": "string"
},
"until": {
"type": "string"
},
"type": {
"type": "string",
"description": "Direction: \"buy\", \"sell\", or \"exchange\" (case-insensitive)"
},
"ticker": {
"type": "string"
}
}
}社群
證據