Back to Browse

Janorium Examples MCP Server

Developer ToolsModerate5.6MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Backtest crypto trading strategies on Binance spot and futures history with Janorium (free).

About

Backtest crypto trading strategies on Binance spot and futures history with Janorium (free).

Remote endpoints: streamable-http: https://janorium.com/mcp streamable-http: https://janorium.com/mcp/free

Security Report

5.6
Moderate5.6Moderate Risk

The janorium-mcp server is a backtesting client that authenticates with a user-supplied API key, sends it only over TLS by default, and keeps it out of URLs and logs; no exfiltration, shell execution, or hardcoded secrets were found in the reviewed files. Permissions (network_http, websocket, file_read/write for campaign ledgers and docs, env_vars for config) match the stated purpose, with the main caveat being that an opt-in insecure HTTP mode sends the API key in cleartext and the config.ts file was truncated so its remaining logic was not fully reviewed. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.

5 files analyzed · 10 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

network_websocket

Check that this permission is expected for this type of plugin.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Your Janorium API key (cbk_…): janorium.com → Settings → API keys. Scopes read + run; optimize, research, publish only if needed.Required

Environment variable: CB_API_KEY

Janorium REST API base URL. Leave unset for the public platform.Optional

Environment variable: CB_BASE_URL

true: refuse every run outside a campaign with a locked holdout (guards a strategy search against overfitting). false: one-off runs need no campaign.Optional

Environment variable: MCP_REQUIRE_CAMPAIGN

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

Janorium strategy examples

janorium/janorium-examples MCP server

Example strategy configs for Janorium, a free web platform for backtesting crypto trading strategies without writing code. Every config in this repository is a real public strategy from the platform. Each one comes with its rules in plain words, the result of the study it was built for, and links to its runs on the leaderboard and to the article that tested it.

What Janorium is

  • Backtesting on Binance history. Strategies run on Binance spot and USDT-M perpetual futures candles from 2020 on, on timeframes from 1 minute to 1 day.
  • Rules, not code. A strategy is a declarative JSON config: 100+ indicators, entry and exit conditions, stops and take-profits, position sizing, DCA grids and leverage. You build it in a visual editor, or an AI assistant writes it from the published reference.
  • Costs included. Fees, slippage, funding payments and liquidation are part of every result.
  • Reports. Return, win rate, Sharpe, max drawdown, the trade list and the equity curve against buy and hold. On top of that: a parameter optimizer with walk-forward checks, Monte Carlo resampling and a public leaderboard.
  • Backtesting only, and free. Janorium never places orders and never connects to an exchange account. There are no paid plans.

Examples

ExampleMarketIdea
Golden cross 50/200 on daily SMAsPerpetual, 4hLong while the daily SMA 50 is above the daily SMA 200
Lump sum: buy once and holdSpot, 1dOne buy of 9,880 USDT on the first candle, held to the end
DCA: 52 weekly buys, then holdSpot, 1d190 USDT every Monday, 52 times, held to the end
DCA every Monday, 25 USDTSpot, 1dA fixed weekly buy on one weekday; change day to test the others
DCA bot: base order + 5 safety orders, take-profit +2%Spot, 1hAverage down every -2%, close the whole deal at +2% from the average
RSI 30/70 reversalSpot, 1dBuy when RSI(14) climbs back above 30, sell when it crosses 70
MACD 12/26/9 signal-line crossSpot, 1dLong from a MACD cross above its signal line to the cross back
Bollinger 20/2: lower band back to the middleSpot, 1dBuy a close back above the lower band, sell at the middle band
EMA 9/21 crossover on 4h candlesSpot, 4hLong while EMA 9 is above EMA 21
EMA 50 cross with a 5% stop-lossSpot, 4hTrend entry on a close above EMA 50, fixed 5% stop
EMA 50 cross with a 3×ATR trailing stopSpot, 4hThe same trend entry, trailing stop 3 × ATR(14) under the highest close
Buy the dip after a -5% day, hold 30 daysSpot, 1dBuy after a daily close-to-close drop worse than -5%
Funding fade: long while funding is negative, hold 7 daysPerpetual, 4hGo long on a perpetual when shorts are paying funding
Long/short ratio fade: long when the crowd is most shortPerpetual, 4hLong when the account long/short ratio is in its 90-day bottom 10%
Hold only 21:00–23:00 UTC above the 200-day SMAPerpetual, 1hTwo hours after the US close, only in an uptrend, with maker fees

Most of these are textbook rules tested as they are, and most did not beat holding the coin. The READMEs say so, with the numbers from the articles. examples/README.md groups them by type.

Run an example

  1. Sign up at janorium.com. It is free.
  2. Create a new strategy, paste the example's config.json into the editor's JSON box and press Apply.
  3. Save it and start a backtest: pick the coin, the timeframe and the period. The symbol and timeframe in the config are only defaults.

To see results without an account, open the example's leaderboard page: public strategies show their backtests to guests.

Config format

  • schema/README.md is a short field-by-field guide: the root shapes, conditions, operators, the indicator list, exits and DCA.
  • schema/strategy.schema.json is the structure as JSON Schema (draft-07), for editor autocompletion and quick checks. Janorium also checks cross-field rules that a schema cannot express.
  • The complete contract is published as one file written for AI assistants: strategy-config-reference.md. Give it to ChatGPT or Claude with your idea in plain words and it writes the config; the guide Build a strategy with AI shows the steps.

MCP server

janorium-mcp lets Claude Desktop, Claude Code, Cursor and other MCP clients validate, dry-run and backtest strategies on Janorium under your own free API key, so an assistant answers with numbers from a real backtest. It is on npm and in the MCP Registry as com.janorium/mcp. mcp/ holds its source, tests and the four references it serves; the npm package is built from that directory, and mcp/README.md has the setup.

How the backtests work

  • Conditions are checked once per candle, after it closes. An order fills at that candle's close plus slippage, or at the next candle's open when the strategy asks for it.
  • Stops and take-profits are checked against the candle's high and low. When one candle touches both, the stop-loss is assumed to fill first.
  • Fees are charged on entry and exit. On futures every Binance funding settlement during an open position is charged or credited, and liquidation is modelled.
  • Not modelled: order book depth beyond the optional volume-based slippage, partial fills, latency, lot and tick sizes, and the exchange's own liquidation engine. Real liquidations can come earlier and cost more.

The full methodology: How Janorium backtests.

Links

Found a mistake in an example, or want one added? Open an issue.

License

The configs, the documentation and the MCP server in this repository are released under the MIT License. The Janorium platform itself is not open source.

Reviews

No reviews yet

Be the first to review this server!