pineforge-4pass/pineforge-codegen-mcp
Backtest PineScript v6 strategies locally: transpiles Pine→C++ and runs on the deterministic, TradingView-validated PineForge engine (245/246 strict parity, no API key).
Ads
Overview
Backtest PineScript v6 strategies locally: transpiles Pine→C++ and runs on the deterministic, TradingView-validated PineForge engine (245/246 strict parity, no API key).
Installation
docker run --rm -i -v "$PWD:/work" ghcr.io/pineforge-4pass/pineforge-backtest-mcp:latest
Configuration
{
"mcpServers": {
"pineforge-backtest": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-v", "${workspaceFolder}:/work",
"ghcr.io/pineforge-4pass/pineforge-backtest-mcp:latest"
]
}
}Capabilities
- Transpile Pine Script v6 to C++
Convert a Pine Script v6 strategy into a C++ translation unit with `transpile_pine` without running a backtest.
- Backtest a Pine strategy against OHLCV data
Run a single deterministic backtest with `backtest_pine`, providing source, CSV path, and optional input/override/runtime parameters.
- Sweep strategy parameters in one run
Use `backtest_pine_grid` to test all combinations of `inputs` × `overrides` against a single CSV, with ranking and optional concurrency.
- Fetch Binance OHLCV data for backtesting
Pull spot or USDT-perp klines via `fetch_binance_ohlcv` and write a backtest-ready CSV with automatic pagination.
- Discover available Binance symbols
List or filter tradable symbols with `binance_symbols` before fetching market data.
- Inspect engine parameters and Pine coverage
Query `list_engine_params` for every accepted override and runtime knob, or use `check_pine_feature` and `get_coverage_topic` to verify Pine language support.
Tags
- development
- awesome-list
Related MCP servers
PayRam Crypto Card Payment Gateway
OfficialSelf Hosted Payment gateway for agents, openclaw, hermes and more
Capital.com Public API MCP Server
OfficialThe Capital.com MCP Server lets your AI assistant talk to your trading account directly. Market data, position checks, trade previews – all in plain language, without leaving your AI tool.
Bridge Town
OfficialBridge Town is an MCP-native, git-versioned financial modeling platform for FP&A teams and finance leaders. AI agents use Bridge Town tools to create projects, write Python model files, run models in isolated cloud sandboxes, query data, write outputs to Google Sheets, create dashboards, branch scenarios, and collaborate with teammates.
27dream/mcp-eastmoney
China A-share stock market MCP server — real-time quotes, main capital flow ranking, sector fund flow, and historical K-lines via Eastmoney's free APIs. Zero config, no API keys required. 5 tools: `get_stock_quote`, `search_stock`, `main_fund_rank`, `sector_fund_flow`, `get_kline`. Install: `uvx mcp-eastmoney` or `pip install mcp-eastmoney`.