io.github.2016judea/trading-harness · v1.0.1 · finance-and-payments
Trading Harness is healthy: it completed an MCP handshake in 1974 ms and exposes 21 tools.
Value a company from its SEC filings, and check your own trades, stops and rebalance math
Endpoint: https://trading-harness-mcp.vercel.app/mcp (streamable-http)
No repository listed · Website · JSON · Add to my inventory
| Users (last 30 days) | 0 |
| Handshake | Healthy |
| Auth needed | None |
| Tool count | 21 |
| Latency | 1974 ms |
| Last checked (UTC) | 2026-11-29T23:40:27.685Z |
| Checked (UTC) | Status | Latency | Error |
|---|---|---|---|
| 2026-11-29T23:40:27.685Z | Healthy | 1974 | |
| 2026-11-27T14:40:50.917Z | Healthy | 469 | |
| 2026-11-25T07:20:21.357Z | Healthy | 1749 | |
| 2026-11-23T02:01:03.843Z | Healthy | 2377 |
as_reported_financials | 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, by |
owner_earnings_valuation | 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-stag |
compare_valuations | 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, r |
realized_pnl | 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 and |
stop_coverage_check | 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 not |
rebalance_order_list | 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 wo |
is_this_stock_undervalued | 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 reaso |
growth_priced_into_stock | 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 into |
which_stock_is_cheapest | 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 |
free_cash_flow_history | 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" |
dividends_and_buybacks | 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" |
short_vs_long_term_capital_gains | 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?"; "Spli |
wash_sale_check | 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" |
tax_loss_harvest_candidates | 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 los |
trading_win_rate | 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?" |
positions_without_stop_loss | 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 with |
request_a_feature | Files a feature request for Trading Harness on Brick & Mortar's public request board (brickandmortar.dev/requests) and emails the person who builds it. For something Trading Harness does not do yet: a calculation, a broker's export format or a kind of filing it has no tool for. title is the person's |
report_a_bug | Files a bug report for Trading Harness on Brick & Mortar's public request board (brickandmortar.dev/requests, tagged Bug) and emails the person who fixes it. For something Trading Harness did that went wrong: a CSV it could not read, a figure that does not match the filing, an error. The board is pu |
list_feature_requests | The feature requests and bug reports filed for Trading Harness on Brick & Mortar's public board: each item's kind (feature or bug), upvotes, status (requested, building, shipped) and, for closed items, the builder's response and shipped date, most upvoted first. A request already on the board can be |
upvote_feature_request | Adds one upvote to a request on Brick & Mortar's public board, by id from list_feature_requests. One vote per caller; a repeat call adds nothing. |
other_brick_and_mortar_connectors | The other connectors Brick & Mortar publishes besides Trading Harness, read from its public catalog: each one's name, what it answers, its scope (city, county, state, federal or other), its topics, its status and where it is listed. Data only. |