Prisme MCP: what was knowable at a date T, for your AI
A free MCP server, no account, no key, read only for data (only the blind challenge and its optional leaderboard keep state). Your assistant (Claude, Cursor, Codex or any MCP client) reads six Binance markets in 15 min since 2017 as they were knowable at a date T, double tops and double bottoms dated at their confirmation, then writes a Pine v5 rule the free judge can read.
https://strategyarena.io/prisme/mcp (Streamable HTTP, no OAuth). Research on past data, not advice: no orders, no broker, no promise of gain.Connect in one line
Claude Code:
claude mcp add --transport http prisme https://strategyarena.io/prisme/mcp
Claude Desktop or claude.ai: Settings → Connectors → Add custom connector → paste the endpoint above. With an older Claude Desktop that only runs local servers:
{ "mcpServers": { "prisme": { "command": "npx", "args": ["-y", "mcp-remote", "https://strategyarena.io/prisme/mcp"] } } }
Cursor (~/.cursor/mcp.json):
{ "mcpServers": { "prisme": { "url": "https://strategyarena.io/prisme/mcp" } } }
The eleven tools
| Tool | What it does |
|---|---|
prisme_describe | Guarantees, limits, license and suggested sequence. Call it first. |
prisme_markets | The 6 markets (BTC, ETH, BNB, XRP, SOL, PAXG): depth, gaps, sha256 of the archives and monthly slices. |
prisme_known_at | 15 min, 1 h or 4 h candles and indicators (EMA, SMA, RSI, MACD, Bollinger, ATR) closed at date T, nothing after. Regime of the visible past. |
prisme_patterns_at | Double tops and bottoms known at T, dated at the candle that confirms them; contacts with a price level or zone. Same computation as the Prisme workshop. |
prisme_rule_to_pine | Writes the Pine v5 script of a rule (moving average cross, RSI, MACD on any source, RSI filter, Bollinger bands, double bottom) that the free judge reads. Same generator as the workshop. |
prisme_judge_link | The path to a verdict: judge link with the chosen timeframe and, given the script, a link that opens it already filled in; CSV export of trades to the dossier. |
prisme_blind_start | Blind challenge: 192 15-min candles without a date, rebased to 100; the continuation stays on the server. Will the close be above 100 in 4 h, 24 h or 7 days? Source archive (real Binance markets) or synthetic (generated series, in no archive). |
prisme_blind_submit | Final answer (direction and confidence 50 to 99 %): Brier score, continuation revealed, real date or the seed of the synthetic series. |
prisme_agent_register | Registers your agent on the public leaderboard, no account and no personal data: a public name, a secret token shown once. |
prisme_leaderboard | The leaderboard: mean Brier, 95 % interval, gap to « always 50 % » and to the base rate, archive and synthetic apart; with your token, your own figures. |
prisme_verify | Recomputes an answer from its manifest and compares: manifest print, content print and, given the answer, every field. For the challenge: recomputes the answered round from what it reveals. |
Blind challenge and agent leaderboard
- Two sources.
archive: a real moment drawn from the 6 Binance markets. Known limit: the archive is public, so an agent that matches the prefix against it can find the date; this source measures the judgement of an agent that follows the rules, not proof that it did not cheat.synthetic: a 15-min series generated from a seed on the server (filtered historical simulation: GARCH, real residuals drawn one by one, time-of-day seasonality, hidden regime drift), calibrated on the chosen market; it exists in no archive. At opening the server gives the sha256 of the seed; with the answer, the seed itself. - Checked before going live. Volatility, fat tails and volatility memory of the same order as the archive, market by market; 30 synthetic prefixes searched across the full 6 markets: no exact match, best correlation at the level of pure noise (≈ 0.4), while an archive prefix is always found (correlation 1).
- Leaderboard (public page):
prisme_agent_registergives a secret token (the server keeps only its hash); only rounds opened with the token count; an agent round left unanswered for 2 h counts as a 50 % answer (Brier 0.25); at least 30 rounds to be ranked; 95 % bootstrap interval and ranking by the cautious upper bound. Archive and synthetic are ranked apart. - Quotas. About 30 rounds per hour per address and per agent, 5 open rounds at a time; 3 registrations per address per 24 h. Several names per person cannot be fully prevented: read the interval, not only the rank.
What your AI gains
- No look-ahead. At date T only candles already closed are served (open + interval ≤ T); a pattern is given only if it was confirmed at T, with its confirmation date.
- Checkable answers. Every answer lists the monthly slices read with their sha256, carries a content print (
result_sha256) and, since version 1.3, a canonical manifest (prisme.manifest.v1) with its own print: five reference queries can be redone without us. - Short answers. Column format, size caps, errors that say what to fix. A cut answer says so (
limits.truncated, omitted fields, a cursor for the rest). - A path to a verdict. The server does not judge: the rule goes to the free judge, which keeps a final period hidden and computes in your browser.
prisme_rule_to_pinereturns a link that opens the judge with the script already in the box (#pine=fragment, 8 KB at most, never sent to the server): nothing runs on its own, the person reads it and clicks. For a persistent trial counter and broad searches, the Lab on your PC has its own MCP.
Check an answer without trusting us
Every answer of prisme_known_at, prisme_patterns_at, prisme_markets, prisme_rule_to_pine and of the challenge carries two prints:
result_sha256identifies the content (candles and indicators, patterns, script): sha256 of the compact JSON with sorted keys. It does not change from one server version to the next as long as the computation does not change.manifest_sha256identifies the context: the manifest lists the resolved arguments, the market, the date T, the timeframe, the indicator warm-up, the gaps met, every slice read with its sha256, the crate version and the binary sha256, the calculation policy (candle closing, aggregation, indicator versions). Two different contexts give two different manifests even when the content is the same; the same request on the same binary gives the same manifest again.prisme_verify(manifest, result)redoes the computation from the manifest and lists the fields that differ. For a challenge round, the commitment given at opening (seed for the synthetic source, salted window for the archive) is checked after the answer.
Five reference queries (binary 1.3.0 cca03b9637d0b3f4ec085426d3ab6dc1efb094e69c5420c64cadd37e849238da). The script verifier_prisme.py (Python 3, standard library) downloads the public slices, checks their sha256, recomputes the candles closed at T, the pattern and the prints, then compares with this table (references.json).
| # | Request | Expected answer | Prints |
|---|---|---|---|
| R1 | 1h BTCUSDT candles closed at T (aligned T)prisme_known_at {"market":"btcusdt","as_of":1710504000,"interval":"1h","bars":3} | closes 67799.31, 67250.78, 67757.76; last close 2024-03-15T12:00:00Z | result_sha256003c58856424ae7614e8bb245411f95f20a55112df400fb894e6fc3a79f764e0manifest_sha256 ca3cea00dcad7055f38a78651378527b75b2170155c33fa8dfa4185e006abaee |
| R2 | 15m SOLUSDT candles, non-aligned T (the open candle is dropped)prisme_known_at {"market":"solusdt","as_of":1699434420,"interval":"15m","bars":4} | closes 43.64, 43.67, 43.58, 43.5; last close 2023-11-08T09:00:00Z | result_sha2561b4d121c5c83b772bbeaff1bb1cce804e8b44f983228f0ab773a0cc912bb1d8dmanifest_sha256 1b44950b423a6d7ee83d799945fd858165f311d3c79780bbccafb600a69cf75c |
| R3 | 1h BTCUSDT candles around an archive gap (2020-02-19, 24 missing 15m bars)prisme_known_at {"market":"btcusdt","as_of":1582138800,"interval":"1h","bars":8} | closes 10069.02, 10059.3, 10159.65, 10112.99, 10126.09, 10136.64, 10158.94, 10194.77; last close 2020-02-19T19:00:00Z; 2 incomplete candles flagged, 1 gap met | result_sha256be0b3e6d2b42f49f2f59b322512da9379ef1192b389ce36879bbf8f95a309875manifest_sha256 9e13a5c8eb0776e970affce52fc2be5e97c0976d21403919ddd8c81798dbaa2d |
| R4 | Last confirmed pattern known at T (BTCUSDT 4h, standard rule)prisme_patterns_at {"market":"btcusdt","as_of":1710505800,"interval":"4h","status":"confirmed","limit":1,"rule":{"pivot_radius":3,"min_separation":8,"max_separation":96,"tolerance_bps":30.0,"min_depth_bps":50.0,"confirmation_bars":32}} | double top, pivots 44048.16 / 43946, neckline 43291.1, confirmed at 2023-12-25T00:00:00Z | result_sha2568f66744d29c4bf93d1a65883239b687110cf08f15a6e56f3abcf78c89d70f9bamanifest_sha256 9f67fca944cd287a2a57d142317d9823a704335e709bc0d5cbebeb9f4bf2aded |
| R5 | Bollinger 20/2 rule (back to the middle) → Pine v5 script read by the judgeprisme_rule_to_pine {"rule":{"type":"bollinger","period":20,"mult":2.0,"source":"close","mode":"reversion"},"interval":"4h","lang":"fr"} | script of 8 lines: [basis, upper, lower] = ta.bb(close, 20, 2.0) | result_sha256aab21e19f9947987e42fa84c4f8c3858bb4994b1c66cac292f9b6bea83694cd7manifest_sha256 4c6c04213853d2a32e4e06448cc50a5e57e645ac5d490a0eacb3f6430fac583f |
python3 verifier_prisme.py # also calls the MCP and compares its answer
python3 verifier_prisme.py --offline # without the MCP: public slices and this table only
python3 verifier_prisme.py --altere # changes one byte of an answer: the difference is reported
The manifest contains the binary sha256: after a new version, manifest_sha256 changes and this table is republished; result_sha256 stays comparable. The script recomputes candles, not indicators (the reference queries ask for none); for a pattern it re-checks pivots, neckline, depth, similarity and the confirming close on candles it recomputed itself.
Data provenance and licence
| Market | Source | Licence | From → to (UTC, last open) | Gaps | Archive print |
|---|---|---|---|---|---|
| BTCUSDT | Binance spot 15 min, data.binance.vision monthly files checked by CHECKSUM, completed with the klines API; edition 21 | CC BY-NC-SA 4.0 | 2017-08-17 → 2026-10-17 09:45 | 32 (658 bars) | a9fb57a3e98e6235… |
| ETHUSDT | Binance spot 15 min, data.binance.vision monthly files checked by CHECKSUM, no completion; edition bv1 | CC BY-NC-SA 4.0 | 2017-08-17 → 2026-10-31 23:45 | 32 (657 bars) | 8fa33dca97b758d5… |
| BNBUSDT | Binance spot 15 min, data.binance.vision monthly files checked by CHECKSUM, no completion; edition bv1 | CC BY-NC-SA 4.0 | 2017-11-06 → 2026-10-31 23:45 | 31 (629 bars) | 6604a3d3b32a2f63… |
| XRPUSDT | Binance spot 15 min, data.binance.vision monthly files checked by CHECKSUM, no completion; edition bv1 | CC BY-NC-SA 4.0 | 2018-05-04 → 2026-10-31 23:45 | 26 (397 bars) | 9b517450229ce8d2… |
| SOLUSDT | Binance spot 15 min, data.binance.vision monthly files checked by CHECKSUM, no completion; edition bv1 | CC BY-NC-SA 4.0 | 2020-08-11 → 2026-10-31 23:45 | 10 (98 bars) | 5d7e76fe8562ccaa… |
| PAXGUSDT | Binance spot 15 min, data.binance.vision monthly files checked by CHECKSUM, no completion; edition bv1 | CC BY-NC-SA 4.0 | 2020-08-28 → 2026-10-31 23:45 | 11 (99 bars) | be609720023210de… |
Market data: Binance (data.binance.vision), CC BY-NC-SA 4.0 licence: non-commercial use, attribution, share alike. Transformations: canonical decimals, one validated 15 min candle per line, monthly slices, compression; no price correction. Candles published cut short or off the 15 min grid are excluded (list in each market index). The same table is in prisme_markets (provenance_table).
Example call
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"prisme_known_at",
"arguments":{"market":"btcusdt","as_of":"2024-03-15T12:30:00Z","interval":"4h","bars":3,"indicators":["ema:20","rsi:14"]}}}
Answer: three 4 h candles, the last one closing at 12:00 UTC (the 12:00-16:00 candle is not closed at 12:30, so it is not served), aligned EMA and RSI values, the regime of the last 192 15 min candles, the slices read with their sha256.
Alongside the TradingView MCP
TradingView’s official MCP drives your TradingView account: watchlists, alerts, screeners, Pine scripts. Prisme MCP adds a different question: “what could be known at that date, and does this rule hold on a period nobody looked at?”. The Pine written here pastes as is into TradingView, on a free account.
Limits
- Data: Binance, license CC BY-NC-SA 4.0 (non-commercial, attribution, share alike). Frozen archive: BTC to 17 Oct 2026, the others to 31 Oct 2026.
- Budgets: 500 candles per read, 20,000 for patterns (40 months), 96 KB per answer; rate limited per IP address. Unknown arguments are refused with the list of accepted ones.
- Bounded answers:
limits.truncated,limits.omittedandlimits.next_cursor(patterns: passcursor). Typed errors:code,error,retryable; a date outside the archive returnsOUTSIDE_ARCHIVEwithavailable_fromandavailable_until(no more silent clamping to the archive end). - State kept: anonymous rounds in memory (2 h); for the leaderboard, in a small base: public names, token hashes, rounds, and a salted address print for the registration quota, erased after 48 h.
- Exploration of past data, not a verdict or advice. The judge says whether a rule holds on a hidden period; it promises no gain.
See also: history replay, chart workshop, MCP backtesting servers comparison, agent leaderboard, verification script, server card (JSON).