INDIVIDUAL MCP TOOL
calculate_losing_streak
The exact probability of at least one losing streak of a given length over a number of independent trades, the expected longest streak and the streak 95% of sequences stay within.
LIVE ENDPOINT
https://app.cleartape.ai/mcp
Connect to this endpoint to inspect the live schema for calculate_losing_streak and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.clear-tape]
url = "https://app.cleartape.ai/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"clear-tape": {
"type": "http",
"url": "https://app.cleartape.ai/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: clear-tape
Remote MCP URL: https://app.cleartape.ai/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"clear-tape": {
"url": "https://app.cleartape.ai/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"clear-tape": {
"type": "http",
"url": "https://app.cleartape.ai/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "clear-tape",
"transport": "streamable-http",
"url": "https://app.cleartape.ai/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
calculate_position_size— Position size from the stop: how many shares to buy (or short) so that a stop-out loses a set percentage of the account.calculate_risk_reward— Risk/reward ratio of a planned trade, the win rate it needs to break even, and (optionally) an exit expressed as an R multiple.calculate_expectancy— Expectancy per trade, per 100 trades, payoff ratio, break-even win rate and profit factor from a win rate and average win and loss.calculate_atr_stop— A volatility (ATR) stop: entry minus (long) or plus (short) a multiple of the average true range.calculate_drawdown_recovery— The gain needed to recover from a drawdown and, optionally, how many losing trades in a row at a fixed risk per trade cause it.calculate_kelly_criterion— Full and fractional Kelly risk per trade from a win rate and payoff ratio, with the edge per 1R and the break-even win rate.calculate_trading_cost— The cost of one round trip (commissions, bid-ask spread, slippage) in USD, in R, as a share of the target move and of the position, and over a year of trades.get_trading_system_rules— Without id: lists Clear Tape's eleven preset trading systems (trend, breakout, momentum and volume) with their style, holding period and one-line entry, stop and exit.