MCP server
Trading Harness
io.github.2016judea/trading-harness
Checked 28 Nov 2026, 11:13 UTC · Connected to it and listed its tools
Value a company from its SEC filings, and check your own trades, stops and rebalance math
Working at last checkAbout 5,157 tokens per request once connected16 tools
https://trading-harness-mcp.vercel.app/mcp
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Tools
- 16
- Token cost
- About 5,157 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 28 Nov 2026, 11:13 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http trading-harness https://trading-harness-mcp.vercel.app/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.trading-harness] url = "https://trading-harness-mcp.vercel.app/mcp"
Gemini CLI
{"mcpServers":{"trading-harness":{"httpUrl":"https://trading-harness-mcp.vercel.app/mcp"}}}
Cursor
{"mcpServers":{"trading-harness":{"url":"https://trading-harness-mcp.vercel.app/mcp"}}}
VS Code
{"servers":{"trading-harness":{"type":"http","url":"https://trading-harness-mcp.vercel.app/mcp"}}}
Antigravity
agy mcp add trading-harness https://trading-harness-mcp.vercel.app/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"trading-harness","server_url":"https://trading-harness-mcp.vercel.app/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"trading-harness","server_url":"https://trading-harness-mcp.vercel.app/mcp"}
Tools
as_reported_financials~311 tokens
A company's annual figures exactly as filed with the SEC (XBRL companyfacts, 10-K/20-F/40-F): revenue, gross profit, operating income, net income, cash from operations, capex, D&A, stock comp, dividends, buybacks, assets, liabilities, equity, cash, goodwill, intangibles, debt and diluted shares, bycompare_valuations~478 tokens
Ranks 2 to 8 companies on the expectations gap: the owner-earnings growth each price requires (reverse DCF) minus the growth the business actually delivered over its last five fiscal years. Negative means the price asks for less than the company has already done. Per company: owner-earnings yield, rdividends_and_buybacks~193 tokens
Cash a company returned to shareholders by fiscal year, dividends paid and shares repurchased, beside its free cash flow, as reported on its annual SEC filings. Example questions: "How much does Apple spend on buybacks?"; "Can Verizon cover its dividend?"; "Dividend history for KO"free_cash_flow_history~194 tokens
A company's free cash flow by fiscal year (operating cash flow minus capital expenditure) with both inputs, as reported on its annual SEC filings, plus the filing links. Example questions: "What's Apple's free cash flow?"; "Has Ford's free cash flow grown?"; "10 years of FCF for COST"growth_priced_into_stock~274 tokens
The owner-earnings growth a share price requires over 10 years (a reverse DCF) at 8, 9, 10 and 12% required returns, from the company's SEC filings, followed by the full owner-earnings valuation. The reading that does not depend on a chosen hurdle rate. Example questions: "What growth is priced intois_this_stock_undervalued~332 tokens
Whether a company's share price sits above or below what its owner earnings support, from its SEC filings: value per share on three anchors, the price's gap to each, a margin-of-safety ladder, and the growth the price requires. Same engine as owner_earnings_valuation. Returns refused, with the reasoowner_earnings_valuation~604 tokens
Owner earnings by year (net income + depreciation + amortisation - capex, Buffett 1986) beside free cash flow as a cross-check, return on equity and on tangible capital, and, given a share price, the owner-earnings yield against the long bond, three value anchors per share (bond-equivalent, two-stagpositions_without_stop_loss~236 tokens
Which held positions have no working stop order covering them, from pasted positions and open-orders exports: each row critical, warning, ok or unchecked, with the reason. Same engine as stop_coverage_check. Example questions: "Do all my positions have stop losses?"; "Which stocks am I holding withrealized_pnl~321 tokens
Realized profit and loss from a pasted transactions export: sells matched first-in-first-out against earlier buys per symbol, fees on both sides taken out of the gain. Returns win rate, net, average win and loss, payoff ratio, average holding period in calendar days, totals by symbol, the worst andrebalance_order_list~512 tokens
The dollar and share change per name to move a pasted positions export to target weights, as a list. Weights are a share of investable capital (positions + cash on hand - cash reserve). Each row: current $ and %, target %, dollar change, shares at the last price, direction, and whether exiting it woshort_vs_long_term_capital_gains~255 tokens
Realized gains and losses from a pasted broker transactions export, split into short-term (held a year or less) and long-term by tax year, lots matched first-in, first-out, with sells that have no buy in the export set aside. Example questions: "How much short-term gain did I have this year?"; "Splistop_coverage_check~496 tokens
Compares positions with the orders actually resting at the broker. Flags: a position over the size cap with no resting stop, or a stop covering only part of it; any good-for-day order (gone at the close); resting sells exceeding shares held with no link between the legs; resting orders in names nottax_loss_harvest_candidates~279 tokens
Positions sitting at an unrealized loss in a pasted positions export, largest loss first, with the total; given a transactions export too, flags any bought in the last 30 days (wash-sale risk on a sale). Example questions: "What can I tax-loss harvest?"; "Which of my positions are losers?"; "Any lostrading_win_rate~214 tokens
Win rate, average win, average loss, payoff ratio and average hold from a pasted broker transactions export, with the best and worst trades and the totals by symbol. Same engine as realized_pnl. Example questions: "What's my win rate?"; "Am I a good trader?"; "What were my worst trades this year?"wash_sale_check~191 tokens
Screens a pasted broker transactions export for losing sales with the same ticker bought within 30 days before or after, listing each sale, its loss and the repurchases. Example questions: "Did I trigger any wash sales?"; "Is my TSLA loss a wash sale?"; "Check my trades for the 30-day rule"which_stock_is_cheapest~267 tokens
Ranks two or more companies by the gap between price and owner-earnings value, from their SEC filings, with the loss-makers and the unvaluable named rather than dropped. Same engine as compare_valuations. Example questions: "Which is cheaper, Coke or Pepsi?"; "Rank AAPL, MSFT and GOOGL on value"; "W
Browse
Related MCP servers
- SEC Filings & Earnings
SEC filings, insider trades, and earnings data - 6ix
Earnings calls, news releases, decks, prices and shareholders for listed companies worldwide. - Insider Trading
Insider Trading MCP — SEC EDGAR insider filings and material events - CapitalSnitch
SEC insider trades, Congress trades, 13F funds, earnings and 8-K filings for AI, with SEC links. - Agent Data Tools: Company, compliance and checks
65 tools: OFAC sanctions, counterparty checks, company, domain, email. 10 free calls. - Agent Data API
Token risk, wallet profiles, OFAC screening, whale trades on 6 chains. x402, USDC per call. - AgentFeed
Crypto briefs and data, Solana pre-trade checks, sanctions, papers, NLP. 102 tools, USDC, 20 chains. - Cubesphere Insider
SEC insider filings as clean economic events - Form 4 trades, Form 144 notices, 13D/G stakes.
Badge for your README
[](https://aptlynx.net/servers/io.github.2016judea/trading-harness)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents