About stillos-edge-gate
stillos-edge-gate is a command-line tool and MCP server that grades trading records before capital is committed. It tests for a fee-adjusted, out-of-sample edge across training and test splits, and provides a verifiable signed receipt with each verdict.
Key features
- 01Classify strategy results into four verdicts
- 02Test chronological out-of-sample holdout
- 03Adjust trade results for fees and slippage
- 04Check significance and performance in both splits
- 05Issue signed, verifiable receipts
Use cases
- 01Evaluate a trading strategy before risking capital
- 02Distinguish regime luck from persistent edge
- 03Review fee-adjusted results across held-out trades
MCP support
Can run as an MCP server for clients to invoke strategy grading. The README also provides a command-line interface and a JavaScript library.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://stillos-edge-gate-edge.stillos.workers.dev/mcpclaude mcp add --transport http stillmarcus24-stillos-edge-gate https://stillos-edge-gate-edge.stillos.workers.dev/mcp{"mcpServers":{"stillmarcus24-stillos-edge-gate":{"type":"http","url":"https://stillos-edge-gate-edge.stillos.workers.dev/mcp"}}}Open in Cursor{"servers":{"stillmarcus24-stillos-edge-gate":{"type":"http","url":"https://stillos-edge-gate-edge.stillos.workers.dev/mcp"}}}Open in VS Code{"mcpServers":{"stillmarcus24-stillos-edge-gate":{"type":"http","url":"https://stillos-edge-gate-edge.stillos.workers.dev/mcp"}}}{"mcpServers":{"stillmarcus24-stillos-edge-gate":{"serverUrl":"https://stillos-edge-gate-edge.stillos.workers.dev/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
1| Parameter | Type | Required | Description |
|---|---|---|---|
| agent | string | No | who is asking (for the receipt) |
| trades | array | Yes | settled trades |
Details
From the project READMEstillos-edge-gate
A callable trust primitive. Grade a track record before you commit capital.
A real edge is not a prediction — it is a repeatable, out-of-sample, fee-adjusted decision advantage that survives a regime change. This tells you, in one word, whether a strategy has one:
REAL_EDGE | REGIME_LUCK | NEGATIVE_EV | INSUFFICIENT_DATA
Fail-closed: anything that isn't a surviving, fee-adjusted, regime-stable edge is rejected. Every verdict ships with a signed, independently verifiable receipt.
Install
npx stillos-edge-gate grade trades.json
or add as an MCP server (Claude Desktop / any MCP client):
{ "mcpServers": { "stillos-edge-gate": { "command": "npx", "args": ["stillos-edge-gate", "mcp"] } } }
Input
[ { "t": "2026-06-01T12:00:00Z", "price": 0.62, "side": "no", "outcome": 1 }, ... ]
price = entry price 0..1 · side = yes|no · outcome = 1 won / 0 lost.
How it decides
- chronological 70/30 out-of-sample holdout (most-recent 30% is the test)
- fee + slippage adjusted per trade
- significance test (t ≥ 1.5) on fee-adjusted EV
REAL_EDGEonly if +EV in both splits after fees, significant.
Why trust it
We ran it on our own live trading book first. It returned NEGATIVE_EV — and we published the signed receipt. We don't sell edges; we tell you whether yours is real.
Library
const { gradeStrategy } = require('stillos-edge-gate');
const v = gradeStrategy(trades); // { verdict, train, test, t_stat, reasons }
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.