Pine Script v6 Documentation
by pinescript-mcp.fly.dev in Developer tools
Pine Script v6 documentation lookup, function validation, and linting for AI code generation
https://pinescript-mcp.fly.dev/mcp- Tools
- 12
- open to any client
- Uptime
- 98.2%
- last 30 days
- Response time
- 198 ms
- 303 ms slowest 5%
- Last check
- Passed
- 16 h ago, next any minute now
Scan it nowHow to connectCompare alternatives from other providers
Reliability
Status and outage history · Atom feed · Watch with other listings
How to connect
Add it to any MCP client that supports remote servers.
{
"mcpServers": {
"pine-script-v6-documentation": {
"type": "http",
"url": "https://pinescript-mcp.fly.dev/mcp"
}
}
}12 tools
- 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…
- 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…
- 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=<end> to continue if the header indicates more content is…
- 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…
- 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…
- 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…
- 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)…
- 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…
- semantic_search_pine_docs
USE 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…
- explain_pine_error
USE 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…
- 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.
Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time |
|---|---|---|---|
| 16 h ago | Passed | 200 | 191 ms |
| 31 h ago | Passed | 200 | 214 ms |
| 47 h ago | Passed | 200 | 205 ms |
| 3 days ago | Passed | 200 | 303 ms |
| 3 days ago | Passed | 200 | 160 ms |
Show 10 older checks
| 5 days ago | Timed out | - | - |
| 7 days ago | Passed | 200 | 214 ms |
| 7 days ago | Passed | 200 | 314 ms |
| 8 days ago | Passed | 200 | 241 ms |
| 9 days ago | Passed | 200 | 131 ms |
| 9 days ago | Passed | 200 | 165 ms |
| 10 days ago | Passed | 200 | 172 ms |
| 10 days ago | Passed | 200 | 190 ms |
| 11 days ago | Passed | 200 | 274 ms |
| 11 days ago | Passed | 200 | 167 ms |