Skip to content

PineForge — offline PineScript v6 backtest MCP for Grok

io.github.pineforge-4pass/pineforge-backtest-mcp

Offline PineScript v6 → C++ backtests at deterministic TradingView parity, run locally via MCP.

client:Grok transport:stdio runtime:oci

Install PineForge — offline PineScript v6 backtest MCP in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "pineforge-backtest-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/pineforge-4pass/pineforge-backtest-mcp:v0.9.31"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

PineForge — offline PineScript v6 backtest MCP in other clients