Pine Script v6 Documentation

io.github.paulieb89/pinescript-mcp · v0.6.17 · docs-and-knowledge

Pine Script v6 Documentation is healthy: it completed an MCP handshake in 675 ms and exposes 12 tools.

Pine Script v6 documentation lookup, function validation, and linting for AI code generation

Endpoint: https://pinescript-mcp.fly.dev/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count12
Latency675 ms
Last checked (UTC)2026-12-01T08:05:22.350Z

Health history

Checked (UTC)StatusLatencyError
2026-12-01T08:05:22.350ZHealthy675
2026-11-28T22:05:35.414ZHealthy2949
2026-11-26T13:45:32.706ZHealthy2490
2026-11-24T07:15:24.858ZHealthy2647
2026-11-22T02:45:24.336ZHealthy386
2026-11-19T23:45:10.115ZHealthy1061
2026-11-17T21:50:25.599ZHealthy609
2026-11-15T21:20:43.640ZHealthy1483
2026-11-13T22:16:08.290ZHealthy2595
2026-11-12T00:10:40.144ZHealthy1990
2026-11-10T03:10:34.127ZHealthy1648
2026-11-08T07:30:25.262ZHealthy1466
2026-11-06T13:00:48.572ZHealthy488
2026-11-04T19:15:35.393ZHealthy2656
2026-11-03T02:30:30.136ZHealthy3204
2026-11-01T10:50:22.606ZHealthy1428
2026-10-30T20:10:22.997ZHealthy600
2026-10-29T06:10:24.491ZHealthy1229
2026-10-27T16:40:10.410ZHealthy1540
2026-10-26T04:30:20.208ZHealthy3175

Tools (12)

list_docsUSE 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_sectionsUSE 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_docUSE 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=<end> to continue if the header indicates more content is available. For large file
get_sectionUSE 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_docsUSE 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_functionsUSE 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_functionUSE 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_topicUSE 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()
semantic_search_pine_docsUSE WHEN answering conceptual, fuzzy, or natural language questions about Pine Script v6. Returns ranked documentation chunks with score, source path, and section header. Each result includes a get_section() call hint for retrieving the full content. AFTER calling this tool, call get_section(path, h
explain_pine_errorUSE WHEN diagnosing a Pine Script compilation or runtime error. Returns semantically relevant documentation chunks alongside the bundled common-errors reference. If the error mentions an unknown function name, also call validate_function() after this tool. AFTER calling this tool, call validate_func
list_promptsList all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments.
get_promptGet 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.