Pine Script v6 Documentation
Pine Script v6 documentation lookup, function validation, and linting for AI code generation
Connect it
Settings → Connectors → Add custom connector
URL: https://pinescript-mcp.fly.dev/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://pinescript-mcp.fly.dev/mcp{
"mcpServers": {
"pinescript-mcp": {
"url": "https://pinescript-mcp.fly.dev/mcp"
}
}
}claude mcp add --transport http pinescript-mcp https://pinescript-mcp.fly.dev/mcp{
"servers": {
"pinescript-mcp": {
"type": "http",
"url": "https://pinescript-mcp.fly.dev/mcp"
}
}
}{
"mcpServers": {
"pinescript-mcp": {
"command": "uvx",
"args": [
"pinescript-mcp"
]
}
}
}claude mcp add pinescript-mcp -- uvx pinescript-mcp10 tools, verified live
list_docsread-onlyUSE 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, collections.md, drawing.md, general.md). Data sourced from bundled Pine Script v6 documentation.
list_sectionsread-onlyUSE 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 documentation.
get_docread-onlyUSE 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 files (ta.md, strategy.md, collections.md, drawing.md, general.md), prefer list_sections() + get_section
get_sectionread-onlyUSE 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 with a child header for a narrower subsection. Data sourced from bundled Pine Script v6 documentatio
search_docsread-onlyUSE 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 full. Data sourced from bundled Pine Script v6 documentation.
get_functionsread-onlyUSE 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 read its documentation. Data sourced from bundled pine_v6_functions.json.
validate_functionread-onlyUSE 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 functions in the relevant namespace if the function is invalid. Data sourced from bundled pine_v6_f
resolve_topicread-onlyUSE 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() + get_section() for large files. For natural language questions use search_docs() instead. Data sou
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.
Alternatives in Developer Tools
Compare →PAPg AiguideA
Comprehensive PostgreSQL documentation and best practices, including ecosystem tools
COContrastAPIA
55 tools, 7 Resources, Sigma rules, email SPF/DMARC, MITRE, CVE/KEV, risk_score. No key.
QRQR RápidoA
Generate QR codes for URLs, PIX, Wi-Fi, vCards, WhatsApp and more. For AI agents.
ZTZoom Team ChatOfficialA
Zoom Chat server for channels, messages, contacts, files, and chat collaboration.
ZTZoom TasksOfficialA
Zoom Tasks server for creating, updating, assigning, and synchronizing task workflows.
ZDZoom DocsOfficialA
Zoom Docs server for creating and retrieving Zoom documents and notes in Markdown.