pineforge-codegen-mcp

pineforge-4pass/pineforge-codegen-mcp
★ 1 stars TypeScript AI/LLM Updated today
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, no API key; code & data stay on your machine. Tools: backtest_pine, backtest_pine_grid, transpile_pine, fetch_binance_ohlcv.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "pineforge-codegen-mc": {
      "command": "npx",
      "args": [
        "-y",
        "pineforge-4pass/pineforge-codegen-mcp"
      ]
    }
  }
}

README Excerpt

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`](https://github.com/pineforge-4pass/pineforge-codegen-oss)

Tools (14)

PINEFORGE_ALLOW_ANYWHEREPINEFORGE_DOCKER_TIMEOUT_MSPINEFORGE_IMAGEPINEFORGE_OVERRIDESbacktest_pinebacktest_pine_gridbinance_symbolscheck_pine_featureengine_infofetch_binance_ohlcvget_coverage_topiclist_coverage_topicslist_engine_paramstranspile_pine

Topics

ai-agentsalgorithmic-tradingalgotradingbacktestingcppdeterministicdockermcpmcp-servermodel-context-protocolpine-scriptpinescriptquantquantitative-financetradingview