Pine Script v6 Documentation
Documentation lookup and validation for Pine Script v6 functions, grounding AI code generation in the v6 reference.
- CCM score
- 84 of 100
- GitHub stars
- 12
- tools
- 10
- transport
- STDIO, HTTP, SSE
- last updated
- Apr 4, 2026
Own this MCP server? Claim it
What it does
- Reads docs with
list_docs,get_doc,get_section, andsearch_docs, plusresolve_topicfor exact API terms liketa.rsi - Checks names with
validate_functionandget_functions, catching invented or deprecated v5 functions and suggesting replacements - Includes prompts
debug_error,convert_v5_to_v6, andexplain_function; runs free over stdio or a hosted HTTP endpoint with no key - Designed for Pine Script authors and AI assistants that need correct v6 syntax, function names, and concepts such as repainting
Install
$ npx -y add-mcp https://pinescript-mcp.fly.dev/mcp --name pinescript-mcp -yAdds the server to every agent config it finds in this project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http pinescript-mcp https://pinescript-mcp.fly.dev/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 10 toolsVerified live against the running server on Nov 6, 2026.
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.m...
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.m...
No parameters. Call it with no arguments.
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 Pi...1 params
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 Pi...
path*stringget_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 av...3 params
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 av...
limitintegeroffsetintegerpath*stringget_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,...3 params
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,...
header*stringinclude_childrenbooleanpath*stringsearch_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 resul...2 params
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 resul...
max_resultsintegerquery*stringget_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,...1 params
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,...
namespacestringvalidate_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...1 params
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...
fn_name*stringresolve_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 f...1 params
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 f...
query*stringlist_promptsList all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments.
List all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments.
No parameters. Call it with no 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.2 params
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.
argumentsvaluename*stringReadme
pinescript-mcp
Maintained by BOUCH — private hosting, custom tools and setup: paul@bouch.dev · bouch.dev/products/pinescript-mcp
Details
- Repository
- github.com/paulieb89/pinescript-mcp
- Website
- bouch.dev
- Categories
- Developer Tools, AI Agents & LLM Apps, Finance & Trading
- Package
pinescript-mcp- Transport
- STDIO, HTTP, SSE
- Registry
- MCP registry, active
- Resources
- 2
- Prompts
- 3
- Tools verified
- Nov 6, 2026
Questions
What does the Pine Script v6 Documentation MCP server let an agent do?
It gives an agent Pine Script v6 documentation lookup, function validation and linting for AI code generation. The README says it helps AI look up Pine Script functions, validate syntax, read official docs on indicators, strategies and visuals, and generate v6 code.
How do I install the pinescript-mcp server in Claude Code?
Run this command in a terminal: claude mcp add --transport http pinescript-mcp https://pinescript-mcp.fly.dev/mcp. After that, the agent can call its documentation and function validation tools for Pine Script v6.
Which tools does the pinescript-mcp server provide?
Claude Marketplaces lists 10 tools, including list_docs, get_doc, search_docs, get_functions and validate_function. The validate_function tool checks whether a Pine Script function name is valid before it is used in code.
Does pinescript-mcp need an API key or account?
The listing gives no account or API key requirement, and the public hosted server connects with the install command alone. A local stdio install runs through uvx with the pinescript-mcp package from PyPI.
Where does pinescript-mcp sit in the Developer Tools category?
It is listed in the Developer Tools category on Claude Marketplaces, alongside Front-End Checklist, Context7, Chrome DevTools MCP and Codebase Memory. Its focus is narrow: Pine Script v6 documentation and function checks for code generation.
More from paulieb89
All 2Similar to Pine Script v6 Documentation
More Developer Toolsask-docsSkillcrewaiinc/skills9.3K installsQuery the official CrewAI docs for framework and AMP platform questions, matched to the user's installed version.
pigdocSkilllltx/skills934 installsA bilingual documentation search skill that routes PIG Cloud and PIG AI questions to the right official index and summarizes the answer.
documentation-generatorPlugindavila7/claude-code-templates24.2K starsAutomated documentation generation with API docs, technical writing, and content management
Docfork McpMCP serverdocfork483 starsDocumentation search and retrieval for AI agents, drawn from indexed official library docs.
Context7MCP serverupstash65.6K starsCurrent, version-specific library docs and code examples fetched into an AI coding agent's context.
DocsMCP serverproxysoul1.6K starsSearch and read Empryo's public documentation, read-only and with no authentication required.