Skip to main content
MCP server CX Codex

pinescript — Claude Code MCP server: Pine Script function validation

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

no license 5,840 installs updated 2026-04-29

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http pinescript https://pinescript--bouch.run.tools
Open on GitHub

What pinescript 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.

What it helps with

  • 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 for the agent

  • 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

How to install pinescript

Platform CLI: remote server

claude mcp add --transport http pinescript https://pinescript--bouch.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about pinescript

What does the pinescript MCP server do?

It connects assistants to Pine Script v6 references. The agent can validate built-in methods, search documentation, and fetch specific topics on indicators or trading strategies.

How to install pinescript in Claude Code?

Run claude mcp add --transport http pinescript https://pinescript--bouch.run.tools in your terminal.

Why does the server fetch docs by section rather than full files?

Files such as strategy.md or ta.md run between 1000 and 2800 lines. Reading individual sections prevents context exhaustion while keeping the necessary syntax at hand.

Similar MCP servers

All MCP servers for Programming languages →

Project sponsors

Companies that keep this analytics open