Skip to main content
Glama
README.md
# pinescript-mcp

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Live on MCPize](https://img.shields.io/badge/Live%20on-MCPize-6d28d9)](https://mcpize.com/mcp/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.

## Use it

**Hosted (recommended):** [MCPize](https://mcpize.com/mcp/pinescript-mcp) — free tier, paid Pro tier for higher limits.

**Self-host:**
```bash
npm install
cp .env.example .env   # add your own GROQ_API_KEY
npm start
```

## Part of the AlgoForge suite

Prop-firm and quant-validation tools for algo traders: [prop-rules-mcp](https://github.com/tylerscomic-lab/prop-rules-mcp), [trade-journal-mcp](https://github.com/tylerscomic-lab/trade-journal-mcp), [payout-calc-mcp](https://github.com/tylerscomic-lab/payout-calc-mcp), [econ-calendar-mcp](https://github.com/tylerscomic-lab/econ-calendar-mcp), [montecarlo-validator-mcp](https://github.com/tylerscomic-lab/montecarlo-validator-mcp), [overfitting-audit-mcp](https://github.com/tylerscomic-lab/overfitting-audit-mcp), [walkforward-validator-mcp](https://github.com/tylerscomic-lab/walkforward-validator-mcp), [pinescript-audit-mcp](https://github.com/tylerscomic-lab/pinescript-audit-mcp), [backtest-cost-sensitivity-mcp](https://github.com/tylerscomic-lab/backtest-cost-sensitivity-mcp).

## License

MIT