pinescript-mcp
Generates Pine Script v6 strategy code from plain-language strategy descriptions, tailored for prop-firm futures trading with constraints such as position sizing, session filters, and drawdown-aware exits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pinescript-mcpwrite a Pine Script v6 ORB strategy for NQ with 1% risk and a daily drawdown stop"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pinescript-mcp
An MCP server that generates Pine Script v6 strategy code for prop-firm futures traders from a plain-language description, AI-powered.
What it does
Describe a strategy idea in plain language — entry/exit logic, indicators, timeframe, instrument — and get back working Pine Script v6 code, written with prop-firm evaluation constraints in mind (position sizing, session filters, drawdown-aware exits) rather than generic retail-strategy boilerplate.
Related MCP server: PineScript MCP Server
Use it
Hosted (recommended): MCPize — free tier, paid Pro tier for higher limits.
Self-host:
npm install
cp .env.example .env # add your own GROQ_API_KEY
npm startPart 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, pinescript-audit-mcp, backtest-cost-sensitivity-mcp.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Static analysis for Pine Script v6 strategies — catches backtest-vs-live divergence traps.
1Evidence-gated quant research for TradingView Pine Script strategies, run from your AI client.
LuxAlgo for AI agents: the Library, prop firms, Market Trackers, Edge Stats, and your Trade Journal
Instant "can I take this trade?" check against prop firm drawdown/position/consistency rules.
1
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides comprehensive Pine Script v6 documentation and tools to help AI assistants look up functions, validate syntax, and generate accurate code. It enables linting, version conversion from v5 to v6, and deep conceptual analysis to prevent code hallucinations.109MIT
- AlicenseNot gradedqualityFmaintenanceEnables creation, optimization, and management of PineScript trading strategies with Claude Desktop integration for AI-assisted development.26 npm105MIT
- AlicenseAqualityAmaintenanceBacktest PineScript v6 strategies locally from your AI agent: transpiles Pine to C++ and runs it on the deterministic, TradingView-validated PineForge engine via Docker. Tools for single backtests, parameter-grid sweeps, and Binance OHLCV fetch — no API key, data never leaves your machine.1156 npm7MIT
- FlicenseNot gradedqualityDmaintenanceEnables validation, fixing, and generation of PineScript code for TradingView, providing tools for syntax checking, error correction, and template generation.47-