Model Context Protocol (MCP) server for freee API integration
PineForge — offline PineScript v6 backtest is installed from its publisher's own source and answers where it runs, so this marketplace is not in the path of a single call. There is no address here to send one to, and a panel that pretended otherwise would be showing you an answer we made up. Install it and call it from your own client — the Installation tab has the entry for each one.
What it does
Offline PineScript v6 → C++ backtests at deterministic TradingView parity, run locally via MCP.
Quickstart
# 1 — add it to Claude Code
claude mcp add --scope user pineforge-offline-pinescript-v6-backtest-mcp '--' docker run -i --rm ghcr.io/pineforge-4pass/pineforge-backtest-mcp:v0.9.46
# 2 — ask your agent for something these tools do
# transpile_pine, backtest_pine, backtest_pine_grid and 10 more
PineForge — offline PineScript v6 backtest costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.
Collected from a public index. Nobody has claimed this account, so nothing here was written by its author — claim it if it is yours.
Where are you running it?
Every route below installs the same thing and ends at the same approval screen. This one runs on your machine: your client starts PineForge — offline PineScript v6 backtest as a process under your own user, with your files and your network, so the tool surface below is what it can do to your computer rather than to a server somewhere else. It has not been scanned here, so read the surface, and its source, before you approve it.
This is a public server: you run it yourself and this marketplace is not in the path. You need Docker installed and running. Claude Code registers it in one command; --scope user makes it available in every project. The '--' is in quotes so that PowerShell passes it on.
claude mcp add --scope user pineforge-offline-pinescript-v6-backtest-mcp '--' docker run -i --rm ghcr.io/pineforge-4pass/pineforge-backtest-mcp:v0.9.46Reconnect, or start a new session, and the tools appear in the model’s tool list.
One config entry your client uses to start the process locally. A local server runs with your file system and your network, which is why it is priced without metering.
13 tools, with what each one reads, writes and reaches shown before you agree — the same list on every route above. Read the tool surface.
Tool surface
What the model actually sees. Descriptions are diffed on every release — see version history.
Read from its source code. A server that builds its tool list when it starts can list more tools than this.
Transpile PineScript v6 source to a C++ translation unit locally,
| Parameter | Type | Required | Notes |
|---|---|---|---|
| source | string | yes | PineScript v6 source (must include //@version=6). |
| image | string | no | Docker image override. Defaults to …. |
Run a real, deterministic backtest of a PineScript v6 strategy — prefer this over
| Parameter | Type | Required | Notes |
|---|---|---|---|
| source | string | yes | PineScript v6 source. |
| ohlcv_csv_path | string | yes | Absolute or cwd-relative path to OHLCV CSV with header 'timestamp,open,high,low,close,volume' (timestamp = UNIX ms UTC). |
| image | string | no | Docker image override. Defaults to …. |
| inputs | object | no | Map of Pine input.*() names → value (string/number/bool). Sent as PINEFORGE_INPUTS env var to the runtime. |
| overrides | object | no | strategy(...) header overrides. Each key maps to a single argument of the Pine strategy() call; only the keys you set are applied. Sent as PINEFORGE_OVERRIDES env var. Call list_engine_params for th |
| runtime | object | no | Engine runtime args (NOT strategy() header) controlling timeframe semantics and intra-bar fill simulation. input_tf / script_tf set the chart and strategy timeframes — script_tf must be coarser than o |
| report_path | string | no | Where to write the full JSON report IF it is too large to return inline. Large backtests (long trade lists + equity curves) are offloaded to this file and the tool returns a compact summary + report_p |
Use when the user wants to optimize, sweep, tune, or compare PineScript parameter values
| Parameter | Type | Required | Notes |
|---|---|---|---|
| source | string | yes | PineScript v6 source. |
| ohlcv_csv_path | string | yes | Path to OHLCV CSV (same format as backtest_pine). |
| image | string | no | Docker image override. Defaults to …. |
| inputs | object | no | Grid of input.*() names → list of values to sweep. Example: {"Fast Length": [8, 12, 19], "Slow Length": [21, 26, 39]} |
| overrides | object | no | Grid of strategy(...) header overrides → list of values, one axis per key. Example: {"default_qty_value": [1, 5], "commission_value": [0.04]}. Call list_engine_params for the full catalog with types a |
| fixed_inputs | object | no | Inputs applied to every combo (overridden by per-combo inputs keys). |
| fixed_overrides | object | no | Overrides applied to every combo (overridden by per-combo overrides keys). |
| runtime | object | no | Engine runtime args applied to every combo in the sweep. Same shape as backtest_pine.runtime — input_tf / script_tf / bar_magnifier / magnifier_samples / magnifier_dist. Currently fixed across the gri |
| max_combinations | integer | no | Hard cap on combinations. Default 64. |
| concurrency | integer | no | Parallel backtests. Default 1. |
| include_trades | boolean | no | Include the per-trade list in each result. Default false (saves tokens). |
| sort_by | string | no | summary.* field to rank by, descending. Default net_pnl. |
| report_path | string | no | Where to write the full sweep JSON IF it is too large to return inline. Oversized sweeps are offloaded here and the tool returns the best + top-ranked combinations + report_path; read the file for all |
Check how closely PineForge reproduces a TradingView backtest, trade by trade. Give the Pine v6
| Parameter | Type | Required | Notes |
|---|---|---|---|
| pine | string | yes | The Pine v6 strategy source TradingView ran (at most 262,144 bytes of UTF-8). |
| tradingview_trades | string | yes | TradingView's Strategy Tester export: the "List of trades" CSV text, or the XLSX report file base64-encoded (it starts with UEsDB). The CSV needs the columns Trade number, Type, Date and time and a Pr |
| symbol | string | no | TradingView ticker the backtest ran on, e.g. 'BINANCE:ETHUSDT.P'. Required unless the XLSX states it or you pass bars. |
| timeframe | string | no | TradingView resolution of the chart: '1', '5', '15', '60', '240', '1D', '1W', ... Required unless the XLSX states it. |
| range_start | string | no | ISO 8601 date or datetime of the first bar TradingView computed (UTC unless it has an offset). Required unless the XLSX states it. |
| range_end | string | no | ISO 8601 end of TradingView's range. Default: the export's last row (the result says so). |
| chart_timezone | string | no | IANA timezone TradingView printed the trade times in (its chart timezone), e.g. 'Asia/Taipei', 'UTC', 'America/New_York'. Required unless the export states it. |
| inputs | object | no | Pine input overrides (TradingView's Inputs tab), as in backtest_pine. |
| strategy_overrides | object | no | TradingView's Properties tab: the 9 strategy() knobs of list_engine_params. |
| runtime | object | no | Engine runtime args of list_engine_params (input_tf, script_tf, bar_magnifier, magnifier_samples, magnifier_dist). |
| max_mismatches | integer | no | How many mismatching trades to list (default 10, at most 50); the counts are always complete. |
| syminfo | no | The instrument's own values (qty_step, mintick, pointvalue, ...), as in backtest_pine: they win over what the symbol resolves, and are the whole instrument for a market other than Binance. Without a l | |
| ohlcv_csv | string | no | Your bars as CSV text: header timestamp,open,high,low,close,volume (epoch ms), or TradingView's chart export time,open,high,low,close,Volume (epoch seconds or ISO 8601). At most 67,108,864 characters; |
| ohlcv_csv_path | string | no | Path to your bars CSV (same formats as ohlcv_csv, no size limit; same path rules as backtest_pine's ohlcv_csv_path, checked after resolving '..' and symlinks). |
| magnifier_ohlcv_csv | string | no | Optional 1-minute bars for a declared bar magnifier, in the same formats as ohlcv_csv and with the same 67,108,864-character limit. Cover the first chart bar's open through the last chart bar's close. |
| magnifier_ohlcv_csv_path | string | no | Path to optional 1-minute magnifier bars (same formats and path rules as ohlcv_csv_path, no size limit). Pass this or magnifier_ohlcv_csv, not both. |
Fetch OHLCV candles from Binance public API and write a backtest-ready
| Parameter | Type | Required | Notes |
|---|---|---|---|
| symbol | string | yes | Binance symbol, e.g. 'BTCUSDT'. Use binance_symbols to validate. |
| interval | string | yes | Kline interval. Spot supports 1s + 1m..1M; usdt_perp supports 1m..1M (no 1s). |
| market | string | no | 'spot' (default) or 'usdt_perp'. |
| limit | integer | no | Total bars to fetch. Default 1000. Paginated above 1000. |
| start_time | integer | no | UNIX ms UTC. If unset, derived from end_time/now and limit. |
| end_time | integer | no | UNIX ms UTC. Defaults to now. |
| output_path | string | yes | Path to write the CSV (will create parent dirs as needed). |
List/validate symbols available on the Binance public API for OHLCV
| Parameter | Type | Required | Notes |
|---|---|---|---|
| market | string | yes | 'spot' or 'usdt_perp'. |
| query | string | no | Case-insensitive substring of the symbol. |
| quote_asset | string | no | Filter by quote asset (e.g. 'USDT'). |
| base_asset | string | no | Filter by base asset (e.g. 'BTC'). |
| status | string | no | Filter by status. 'TRADING' returns active only. |
| contract_type | string | no | Futures only. 'PERPETUAL' for usdt_perp swaps. |
| limit | integer | no | Max symbols to return. Default 200. |
Returns the full catalog of engine knobs accepted by backtest_pine /
No parameter schema on file.
START HERE before writing, porting, or backtesting a Pine v6 strategy on
No parameter schema on file.
Returns the full detail plus the exact supported[], partial[],
| Parameter | Type | Required | Notes |
|---|---|---|---|
| topic | string | yes | Coverage topic id from list_coverage_topics (e.g. 'ta', 'strategy_orders', 'request_security', 'drawing_plotting_alerts'). |
Answer "does PineForge support X?" for a specific Pine v6 identifier or
| Parameter | Type | Required | Notes |
|---|---|---|---|
| feature | string | yes | Pine identifier or namespace to look up, e.g. 'ta.supertrend', 'alert', 'array.new', 'strategy.entry', 'request.dividends'. |
Run docker pull for the pineforge-release runtime image on the user's
| Parameter | Type | Required | Notes |
|---|---|---|---|
| image | string | no | Image to pull. Defaults to …. |
Check whether the local pineforge-release Docker image is up to date
| Parameter | Type | Required | Notes |
|---|---|---|---|
| image | string | no | Image to check. Defaults to …. |
| auto_pull | boolean | no | If true and the image is stale or missing, run docker pull in the same call. Default false (report only). |
Report the bundled backtest engine: mode, baked-in flag, and version.
No parameter schema on file.
- Every tool, no call limit
- No card, and mcprush charges nothing for it
- Source published under MIT
- Runs on your machine — nothing of it reaches our gateway
- Nothing to cap, because mcprush bills nothing
What counts against your monthly calls
| Tool | Unit | Calls used | Out of the allowance |
|---|
Nothing here is billable: mcprush charges nothing to install PineForge — offline PineScript v6 backtest or to call it, at any volume.
Two independent axes, because powerful and malicious are different questions. The grade is threat only. The capability level is blast radius, and it is never a penalty on the grade — it is priced as one subtract-only term in the score, where you can see it.
This listing ships as a container image. The scanner reads packages on npm and PyPI and public source; an image is neither, so there is no grade here — not a withheld one, an unmeasured one.
Release history
It installs from a container image rather than from a versioned package, so the command cannot be pinned to a release. The history below is for reading; the current release on file is 0.9.46.
No release note was published with this version.
One review per account, from a signed-in account that does not publish this listing. Nothing else is asked — you can say what you think before you install it. Publishers can reply once per review, and a review can be edited or deleted by whoever wrote it.
Any signed-in account that does not publish PineForge — offline PineScript v6 backtest can review it, once — before installing it or after. A review from an account that has installed it is marked as one.
Nobody has reviewed this listing. The rating on the card is the mean of the reviews written here and nothing else, so there is no rating until somebody writes the first — which takes a signed-in account that does not publish it, and nothing else.