Back to Browse

Pinescript Audit MCP Server

Developer ToolsLow Risk10.0MCP RegistryRemote
Free

Server data from the Official MCP Registry

Static analysis for Pine Script v6 strategies — catches backtest-vs-live divergence traps.

About

Static analysis for Pine Script v6 strategies — catches backtest-vs-live divergence traps.

Remote endpoints: streamable-http: https://pinescript-audit-mcp.mcpize.run/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (2 strong, 3 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. Trust signals: trusted author (18/18 approved).

Endpoint verified · Requires authentication · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-tylerscomic-lab-pinescript-audit-mcp": {
      "url": "https://pinescript-audit-mcp.mcpize.run/mcp"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

pinescript-audit-mcp

License: MIT Live on MCPize

An MCP server that statically audits Pine Script v6 strategies for the specific traps that compile clean, backtest beautifully, and then diverge from live behavior.

The problem this solves

Pine Script strategies can compile with zero errors and still behave differently live than in the backtester — fill-timing assumptions, ATR-smoothing mismatches, lookahead bias, VWAP-anchoring drift, and exit-drift are all silent, syntactically valid patterns that the compiler has no reason to flag. This catches them before they cost real money finding out live.

What it catches

  • Fill-timing traps — orders that backtest as filling at a price/bar the live broker can't actually match
  • ATR-smoothing mismatches — RMA vs. SMA vs. EMA smoothing assumptions that quietly change signal timing
  • Lookahead bias — request.security() and similar calls that leak future bar data into historical evaluation
  • VWAP-anchoring drift — anchor-period assumptions that behave differently on session boundaries live vs. in backtest
  • Exit-drift — exit logic that behaves differently depending on calc_on_every_tick and bar-close assumptions
  • Pine v6 syntax traps — v6-specific footguns that compile but change behavior from v5 equivalents

Tools

audit_pine_strategy

Runs the full static-analysis pass against a submitted Pine Script v6 strategy and returns every trap found, with the specific line and a plain-English explanation of the backtest-vs-live divergence it causes.

Use it

Hosted (recommended): MCPize — free tier, paid Pro tier for higher limits.

Self-host:

npm install
node server.js

Part of the AlgoForge suite

Prop-firm and quant-validation tools for algo traders: prop-rules-mcp, trade-journal-mcp, payout-calc-mcp, econ-calendar-mcp, montecarlo-validator-mcp, overfitting-audit-mcp, walkforward-validator-mcp, backtest-cost-sensitivity-mcp, pinescript-mcp.

License

MIT

Reviews

No reviews yet

Be the first to review this server!