Trading Harness
Values stocks from SEC filings and checks your own trades, stops and rebalances in Claude
Trading Harness is a free MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Free
- Platforms
- API, Web
- Runs
- Remotely
- What it can do
- Can change data (1 tool)
- Version
- 1.0.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http trading-harness https://trading-harness-mcp.vercel.app/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"trading-harness": {
"type": "http",
"url": "https://trading-harness-mcp.vercel.app/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://trading-harness-mcp.vercel.app/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"trading-harness": {
"url": "https://trading-harness-mcp.vercel.app/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"trading-harness": {
"type": "http",
"url": "https://trading-harness-mcp.vercel.app/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://trading-harness-mcp.vercel.app/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add trading-harness --url https://trading-harness-mcp.vercel.app/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.trading-harness]
url = "https://trading-harness-mcp.vercel.app/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://trading-harness-mcp.vercel.app/mcpEnter a Name (for example "Trading Harness"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"trading-harness": {
"type": "http",
"url": "https://trading-harness-mcp.vercel.app/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "trading-harness": { "httpUrl": "https://trading-harness-mcp.vercel.app/mcp" } } }Or run: gemini mcp add -s user --transport http trading-harness https://trading-harness-mcp.vercel.app/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "trading-harness": { "serverUrl": "https://trading-harness-mcp.vercel.app/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "trading-harness": { "url": "https://trading-harness-mcp.vercel.app/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "trading-harness": { "type": "streamableHttp", "url": "https://trading-harness-mcp.vercel.app/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "trading-harness": { "url": "https://trading-harness-mcp.vercel.app/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "trading-harness": { "url": "https://trading-harness-mcp.vercel.app/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "trading-harness": { "url": "https://trading-harness-mcp.vercel.app/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "trading-harness": { "url": "https://trading-harness-mcp.vercel.app/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Trading Harness
Trading Harness is a remote MCP server that runs inside Claude as a custom connector. It pulls ten years of a company's 10-K figures straight from the SEC's free XBRL data, then works out owner earnings, return on tangible capital and the growth a share price implies through a reverse DCF. It can also rank up to eight companies against each other on that gap.
The second half is for reviewing your own book. You paste an E*TRADE transactions export or a set of positions and open orders, and it reports realized profit and loss on a first-in, first-out basis with fees included, flags oversized positions that have no stop, and produces a rebalance list with the tax side of each exit. The server does not hold a brokerage login and cannot place or preview orders.
It suits individual investors who already trade and want a second, numbers-first read on a company or a portfolio. The valuation output refuses to give a number when a business lacks several positive owner-earnings years, which is worth knowing before relying on any result.
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 6 tools changes data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- as_reported_financials
- A company's 10-K lines as filed, with the XBRL tag and filing behind each.
- owner_earnings_valuation
- Owner earnings, return on tangible capital, value anchors and reverse DCF, or a refusal with its reason.
- compare_valuations
- Two to eight companies ranked on growth the price requires minus growth delivered.
- realized_pnl
- FIFO realized P&L from a pasted transactions export.
- stop_coverage_checkName suggests: changes
- Pasted positions and open orders checked for missing stops and orders that die overnight.
- rebalance_order_listName suggests: reads
- Pasted positions and target weights turned into dollar and share changes, with tax side of each exit.
What it does
- As-reported financial lines
- Returns up to ten years of 10-K line items as filed, each linked to the filing it came from.
- Owner earnings and reverse DCF
- Estimates owner earnings and the growth a current share price requires, refusing when there is nothing durable to value.
- Multi-company valuation ranking
- Ranks up to eight companies by the gap between growth priced in and growth delivered.
- FIFO realized P&L
- Matches a pasted transactions export first-in, first-out, with fees, win rate and payoff.
- Stop coverage check
- Flags positions larger than their stop protection and open orders that expire overnight.
- Rebalance order list
- Shows the dollar and share change per holding against target weights, with tax notes on exits.
Good for
- Estimating what growth a share price assumes before buying
- Comparing several companies on valuation in one pass
- Reviewing realized gains and losses from a brokerage export
- Checking whether open positions have protective stops resting
- Planning a rebalance with the tax impact of each sale
Pricing
Free
Free to use as a Claude connector.
Prices change. Check trading-harness-mcp.vercel.app before you buy.
Trading Harness FAQ
Does Trading Harness place trades?
No. It calculates and lists changes only, and it cannot place or preview orders.
Do I need to sign in?
No sign-in is required. You add the server address as a custom connector in Claude settings.
Which company data does Trading Harness use?
It uses the SEC's free XBRL filings data for as-reported figures.
Is Trading Harness free?
The connector is free to use in Claude.
How do I add Trading Harness to Claude Code?
Run this command in your terminal: claude mcp add --transport http trading-harness https://trading-harness-mcp.vercel.app/mcp
What are the best alternatives to Trading Harness?
The closest alternatives to Trading Harness are Trovest Financial Data, Intrinsic Alpha, WeightedShares — SEC EDGAR Buybacks vs. SBC & Dilution MCP, TGMCharts and Stock Scanner MCP.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
