mcpserver.lol
registry/pinescript-mcp
Connection check check failed · 1 of 3

pinescript-mcp

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

Tools 10
GitHub stars 9
Installs / wk
Licence MIT
Transport streamable-http, sse, stdio
Last checked 27h ago

Tools & capabilities

10 tools

Read from the running server on 27h ago.

get_doc read-only path*limitoffset
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.…
get_functions read-only namespace
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 request…
get_prompt name*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.
get_section read-only path*header*include_children
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 pat…
list_docs read-only
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(…
list_prompts
List all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments.
list_sections read-only path*
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 thi…
resolve_topic read-only query*
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_se…
search_docs read-only query*max_results
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…
validate_function read-only fn_name*
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.…