markets
Public company and market data from SEC filings and live quotes (Yahoo): company snapshots and fundamentals, stock screens, investor portfolios from Form 13F, and US House member trades.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "markets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Column to order by (default: the rank column of the preset) | |
| as_of | No | YYYY-MM-DD: the newest daily snapshot on or before this day (for backtests). Default: the newest. | |
| limit | No | screen: Rows to return (default 25, max 200) investor_portfolio: Max holdings returned, largest first (default 500, max 5000). politician_trades, congress_trades: Max trades returned, newest first (default 200, max 2000). politician_leaderboard: Max members (default 100, max 500). | |
| order | No | asc | desc (default: best first) | |
| party | No | R | D | I (only members in the current House carry a party). | |
| action | Yes | Which operation to run. snapshot = current quote and key metrics of one company, needs ticker; fundamentals = SEC fundamentals of one company over time, needs ticker; screen = daily stock screens by growth, value, range or moving average; investors = the investors whose Form 13F autario reads; investor_portfolio = one investor's holdings and moves for a quarter, needs investor; who_holds = which tracked investors hold a company, needs ticker; politicians = US House members with reported trades; politician_trades = one member's reported stock trades, needs politician; congress_trades = US House trades in one stock, needs ticker; politician_leaderboard = US House members ranked by their purchases against the S&P 500; politician_performance = trades of one member scored against the S&P 500, needs politician. | |
| format | No | Output wire format for this MCP call. Default 'toon' (Token-Oriented Notation, fewest tokens, best for tabular rows). 'compact' = minified JSON. 'json' = pretty JSON for readability. The REST API always returns JSON regardless. | |
| metric | No | avg_excess_since (default) | avg_excess_30 | avg_excess_90 | avg_excess_365 | hit_rate_30 | hit_rate_90 | hit_rate_365 | hit_rate_since | avg_return_since | |
| preset | No | growth | profitability | value | near-52-week-high | near-52-week-low | below-200-week-ma | most-held-by-13f | |
| ticker | No | snapshot: Stock ticker symbol, e.g. AAPL, MSFT, INTC, NVDA, SAP, BMW fundamentals: Stock ticker, e.g. AAPL, MSFT, KO who_holds: Stock ticker, e.g. AAPL, KO, GOOGL congress_trades: Stock ticker, e.g. NVDA, AAPL, MSFT | |
| window | No | fundamentals: Time window: 1y, 3y, 5y, 10y, max, or from:to as YYYY-MM-DD:YYYY-MM-DD (either side may be empty). Default 5y. politician_trades: 30d | 90d | 1y | 2y | all (default 1y), by transaction date. congress_trades: 30d | 90d | 1y | 2y | all (default 1y). | |
| filters | No | Column ranges, e.g. {"net_margin":{"min":10},"pct_vs_200w_ma":{"max":-20}}. A row without the column is excluded. | |
| metrics | No | snapshot: Metrics to return: price metrics (price, open, high, low, volume, perf_1d, perf_1w, perf_1m, perf_3m, perf_1y, perf_ytd, latest_date) and/or fundamental metric keys (e.g. revenue, roe, price-to-book, dividend-yield, revenue-growth-5y) or fundamentals for every fundamental row. If omitted, returns price + perf_1d + perf_ytd. fundamentals: Fields to return (see the list above). Default: close, adj_close, revenue, net_income, eps_diluted. | |
| quarter | No | Quarter end date (2026-06-30) or label (2026-Q2). Omit for the latest reported quarter. | |
| interval | No | Row spacing: the value known on the last trading day of each period. Default quarterly (token-efficient); daily for a backtest. | |
| investor | No | Investor slug from markets action "investors" (e.g. berkshire-hathaway, scion-asset-management), its display name, or its SEC CIK. | |
| min_scored | No | Minimum scored purchases a member needs for a rank (default 5). | |
| politician | No | Slug from markets action "politicians" (josh-gottheimer-nj) or a full or last name that matches exactly one member. |