PineForge Codegen MCP Server

Local MCP server: AI writes PineScript v6, bundled engine transpiles to C++ and backtests against Binance data — no API key, fully local.

Remote serverstreamable-httpPython

What is the PineForge Codegen MCP Server?

Local MCP server: AI writes PineScript v6, bundled engine transpiles to C++ and backtests against Binance data — no API key, fully local.

What it actually does

Self-contained stdio MCP server: an AI agent writes PineScript v6, and the bundled pineforge-release image transpiles it to C++ and backtests it against Binance market data — all in one container, in-process. Fully local — the image bundles the pineforge-codegen transpiler, so Pine → C++ → backtest run with no host Docker daemon. No API key, nothing leaves the box.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
transpile_pinein-process
list_engine_paramslocal (no I/O)
backtest_pinein-process
backtest_pine_gridin-process
check_tradingview_parityin-process (Binance public API only without your bars)
fetch_binance_ohlcvBinance public API
binance_symbolsBinance public API
list_coverage_topicslocal (no I/O)
check_pine_featurelocal (no I/O)
get_coverage_topiclocal (no I/O)
engine_infolocal (no I/O)

How to install the PineForge Codegen MCP Server

{
  "mcpServers": {
    "pineforge-backtest": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-v",
        "/absolute/path/to/your/data:/work",
        "ghcr.io/pineforge-4pass/pineforge-backtest-mcp:latest"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use PineForge Codegen to transpile pine.”
  • “Use PineForge Codegen to list engine params.”
  • “Use PineForge Codegen to backtest pine.”

Frequently asked questions

Local MCP server: AI writes PineScript v6, bundled engine transpiles to C++ and backtests against Binance data — no API key, fully local. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.