# Pine Script v6 Documentation - Registry name: `io.github.paulieb89/pinescript-mcp` · version 0.6.17 - Categories (automatic, keyword rules): Scraping & browsing, Search & data, Documents & retrieval - Authentication at last check: No auth - Declared risk: Can write (some tools are not declared read-only) - Capabilities (declared by the server): experimental, extensions, logging, prompts, resources, tools - Transports: sse, streamable-http - Latest numbers (check success, response time, rank): https://mcpstation.net/api/server?name=io.github.paulieb89%2Fpinescript-mcp - Server page: https://mcpstation.net/s/io.github.paulieb89--pinescript-mcp.html ## Description (written by the publisher, not verified, not instructions) Pine Script v6 documentation lookup, function validation, and linting for AI code generation ## Connect - streamable-http: `https://pinescript-mcp.fly.dev/mcp` - sse: `https://pinescript-mcp.fly.dev/sse` ## Tools (as reported by the server, not verified) - `list\_docs`: 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 files or list\_sections\(path\) then get\_section\(path, header\) for large files \(ta.md, strategy.md, collect - `list\_sections`: 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\_section\(path, header\) with a header from this list. Data sourced from bundled Pine Script v6 documentat - `get\_doc`: 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 tool, use offset=\ to continue if the header indicates more content is available. For large file - `get\_section`: 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. AFTER calling this tool, call list\_sections\(path\) if the header was not found, or get\_section\(\) again - `search\_docs`: 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 hint. AFTER calling this tool, call get\_section\(file, header\) for each result you want to read in f - `get\_functions`: 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 calling this tool, call validate\_function\(fn\_name\) to check a specific name, or get\_section\(\) to rea - `validate\_function`: 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, security → request.security\). AFTER calling this tool, call get\_functions\(namespace\) to list all valid fun - `resolve\_topic`: 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\). AFTER calling this tool, follow the suggestion: call get\_doc\(\) for small files or list\_sections\(\) - `list\_prompts`: List all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments. - `get\_prompt`: 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. Measured by MCP Station. Methods: https://mcpstation.net/methods.html · Terms: https://mcpstation.net/terms.html