Skip to main content
Glama
tylerscomic-lab

prop-rules-mcp

README.md
# prop-rules-mcp

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Live on MCPize](https://img.shields.io/badge/Live%20on-MCPize-6d28d9)](https://mcpize.com/mcp/prop-rules-mcp)

An MCP server that answers "can I take this trade?" instantly, against a specific prop firm's actual rules — drawdown remaining, max position size, consistency rule, daily loss limit — instead of a trader doing that math by hand mid-session.

## The problem this solves

Prop firm rules vary firm-to-firm and account-size-to-account-size (trailing vs. static drawdown, consistency rule thresholds, per-instrument contract caps), and breaking one silently fails an evaluation or a funded account — often discovered only after the fact. This puts the actual rule set behind a tool call instead of a tab of firm PDFs.

## Tools

### `check_account_status`
Pass/fail state for a live evaluation or funded account: how close to each limit, and what actions are safe right now.

### `get_drawdown_remaining`
Exact drawdown headroom left before account breach, trailing or static.

### `get_max_position_size`
Max allowed contracts for a given instrument, per firm and account-size rules.

### `check_consistency_rule`
Checks whether a trader's best single day exceeds the firm's allowed percentage of total profit — the rule that quietly disqualifies otherwise-passing accounts.

### `get_firm_rules`
Full rule set for a specific prop firm and account size, as structured data.

## Use it

**Hosted (recommended):** [MCPize](https://mcpize.com/mcp/prop-rules-mcp) — free tier, paid Pro tier for higher limits.

**Self-host:**
```bash
npm install
node server.js
```

## Part of the AlgoForge suite

Prop-firm and quant-validation tools for algo traders: [trade-journal-mcp](https://github.com/tylerscomic-lab/trade-journal-mcp), [payout-calc-mcp](https://github.com/tylerscomic-lab/payout-calc-mcp), [econ-calendar-mcp](https://github.com/tylerscomic-lab/econ-calendar-mcp), [montecarlo-validator-mcp](https://github.com/tylerscomic-lab/montecarlo-validator-mcp), [overfitting-audit-mcp](https://github.com/tylerscomic-lab/overfitting-audit-mcp), [walkforward-validator-mcp](https://github.com/tylerscomic-lab/walkforward-validator-mcp), [pinescript-audit-mcp](https://github.com/tylerscomic-lab/pinescript-audit-mcp), [backtest-cost-sensitivity-mcp](https://github.com/tylerscomic-lab/backtest-cost-sensitivity-mcp), [pinescript-mcp](https://github.com/tylerscomic-lab/pinescript-mcp).

## License

MIT