# pinescript

Connects Pine Script v6 reference materials to your coding assistant. It verifies function names and explains trading concepts like repainting.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 5840 installs
- Author: bouch
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/bouch/pinescript
- Updated: 2026-04-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/pinescript

## What it does

This server supplies AI models with Pine Script version 6 reference documentation. Instead of relying on training weights, the agent looks up function signatures, validates identifiers, and retrieves guides for indicators and visual components.

Documentation is split into modular files. Large references such as `ta.md`, `strategy.md`, and `collections.md` contain 50 to 115 sections spanning 1000 to 2800 lines. Tools like `list_sections` and `get_section` pull specific headers so the model avoids loading thousands of lines into the conversation.

The service runs remotely over HTTP via `https://pinescript--bouch.run.tools`, which removes any need for local package builds or Node runtimes.

## Requirements
- Remote server: `https://pinescript--bouch.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http pinescript https://pinescript--bouch.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add pinescript --url https://pinescript--bouch.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "pinescript": {
            "url": "https://pinescript--bouch.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "pinescript": {
            "type": "http",
            "url": "https://pinescript--bouch.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http pinescript https://pinescript--bouch.run.tools
```

## When to use it
- look up valid Pine Script v6 function signatures
- check terminology and execution rules for repainting
- inspect parameters for strategy and technical analysis calls
- retrieve targeted documentation fragments without flooding the prompt

## Example prompts
- Check if ta.vwap exists in Pine Script v6 using the pinescript tool
- Find documentation on repainting and request.security via pinescript
- Show the syntax for strategy.exit from strategy.md

## Similar
- [PineForge — offline PineScript v6 backtest MCP](https://affpapa.org/en/nevibecode/mcp/pineforge-offline-pinescript-v6-backtest-mcp.md) — MCP server · ★ 10 repo stars
- [pine-developer](https://affpapa.org/en/nevibecode/skills/pine-developer.md) — skill · 912 installs
- [pine-backtester](https://affpapa.org/en/nevibecode/skills/pine-backtester.md) — skill · 468 installs
- [binance-futures-signal-bot](https://affpapa.org/en/nevibecode/skills/binance-futures-signal-bot.md) — skill · 608 installs
- [tradingview-mcp-assistant](https://affpapa.org/en/nevibecode/skills/tradingview-mcp-assistant.md) — skill · 262 installs
- [Pipsocket](https://affpapa.org/en/nevibecode/mcp/pipsocket.md) — MCP server

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
