pineforge-4pass/pineforge-codegen-mcp
by Various
Offline MCP server: an AI agent transpiles PineScript v6 → C++ and runs deterministic, TradingView-parity backtests locally — 245/246 strict, 0 engine bugs. One Docker container, n
MCP
pineforge-4pass/pineforge-codegen-mcp
Added 11 June 2026
Overview
An offline MCP server that transpiles PineScript v6 to C++ and runs deterministic, TradingView-parity backtests locally. It runs in a single Docker container with no API key required, keeping code and data on the user's machine. Tools include backtestpine, backtestpinegrid, transpilepine, and fetchbinanceohlcv.
Best for
Best for
Developers needing private, deterministic backtesting of PineScript strategies without TradingView cloud dependency
Use cases
- Run TradingView-parity backtests locally without API keys or internet dependency
- Transpile PineScript v6 strategies to C++ for deterministic execution
- Fetch OHLCV data from Binance for local backtesting
How to use
Install
docker run --rm -i -v "$PWD:/work" ghcr.io/pineforge-4pass/pineforge-backtest-mcp:latest Tools exposed
transpile_pinelist_engine_paramsbacktest_pinebacktest_pine_gridfetch_binance_ohlcvbinance_symbolslist_coverage_topicscheck_pine_featureget_coverage_topicengine_info
Tested with
Claude Desktop, Cursor, Claude Code
Example client config
{\n "mcpServers": {\n "pineforge-backtest": {\n "command": "docker",\n "args": [\n "run", "--rm", "-i",\n "-v", "${workspaceFolder}:/work",\n "ghcr.io/pineforge-4pass/pineforge-backtest-mcp:latest"\n ]\n }\n }\n} Notes
An offline MCP server that transpiles PineScript v6 to C++ and runs deterministic, TradingView-parity backtests locally. It runs in a single Docker container with no API key required, keeping code and data on the user’s machine. Tools include backtestpine, backtestpinegrid, transpilepine, and fetchbinanceohlcv.
1 stars on GitHub. Last updated 2026-06-10. Licensed MIT.
Use cases
- Run TradingView-parity backtests locally without API keys or internet dependency
- Transpile PineScript v6 strategies to C++ for deterministic execution
- Fetch OHLCV data from Binance for local backtesting
Pros
- Offline operation with no API key needed ensures data privacy
- High backtest accuracy (245/246 strict, 0 engine bugs)
- Single Docker container simplifies deployment
Cons
- Low GitHub popularity (1 star) suggests limited community and support
- Only supports PineScript v6, not newer versions
- Data fetching limited to Binance via fetchbinanceohlcv
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Offline operation with no API key needed ensures data privacy
- High backtest accuracy (245/246 strict, 0 engine bugs)
- Single Docker container simplifies deployment
Cons
- Low GitHub popularity (1 star) suggests limited community and support
- Only supports PineScript v6, not newer versions
- Data fetching limited to Binance via fetchbinanceohlcv
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.
