Pine Script v6 Documentation
io.github.paulieb89/pinescript-mcpPine Script v6 documentation lookup, function validation, and linting for AI code generation
Tools · 10
USE WHEN discovering what Pine Script v6 documentation is available. Returns a categorised list of doc file paths with one-line descriptions. AFTER calling this tool, call get_doc(path) for small file…
USE WHEN navigating a large documentation file before reading a specific section. Returns a newline-separated list of # and ## headers (### excluded) in the file. AFTER calling this tool, call get_sec…
USE WHEN reading the full content of a Pine Script v6 documentation file. Returns the file content; when limit is set, a header shows the char range and offset to continue reading. AFTER calling this …
USE WHEN reading a specific named section from a Pine Script v6 documentation file. Returns the section content from the matched header to the next same-level header, with file path and line range. AF…
USE WHEN finding documentation sections that match specific terms across all Pine Script v6 docs. Returns up to max_results sections ranked by match count, each with a preview and a get_section() call…
USE WHEN browsing valid Pine Script v6 functions, optionally filtered to a namespace. Returns function names grouped by namespace (e.g. ta.*, strategy.*) or filtered to the requested namespace. AFTER …
USE WHEN confirming a Pine Script v6 function name is valid before using it in code. Returns a valid/invalid verdict with namespace suggestions or known replacement hints (e.g. ta.adx → ta.dmi, securi…
USE WHEN looking up an exact Pine Script API term or known concept keyword. Returns the best-matching doc paths with matched keywords and a retrieval suggestion (get_doc or list_sections + get_section…
List all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments.
Get a prompt by name with optional arguments. Returns the rendered prompt as JSON with a messages array. Arguments should be provided as a dict mapping argument names to values.
Resources · 2
START HERE — routing guide that maps Pine Script questions to documentation files and tool call sequences
docs://manifest
Complete list of valid Pine Script v6 functions as JSON
docs://functions
Prompts · 3
Debug a Pine Script compilation error.
Convert Pine Script v5 code to v6.
Explain a Pine Script function in detail.
Similar MCP servers embedding-nearest
How to use
Add to your Claude Desktop / Cursor / Cline MCP config:
{
"mcpServers": {
"pine_script_v6_documentation": {
"url": "https://pinescript-mcp.fly.dev/mcp",
"transport": "streamable-http"
}
}
}