L'Atlas / MCP servers / Pine Script v6 Documentation
MCP server

Pine Script v6 Documentation

io.github.paulieb89/pinescript-mcp

MCP server OK 12 tools

Get a review See pricing

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

Technical sheet

Author
paulieb89 (registry namespace)
Repository
github.com/paulieb89/pinescript-mcp
Site
bouch.dev
Version
0.6.17
Transport
Streamable HTTP SSE stdio
Authentication
None (observed by our test)
Server address
https://pinescript-mcp.fly.dev/mcp Streamable HTTP
https://pinescript-mcp.fly.dev/sse SSE
Packages
pinescript-mcp 0.6.17 pypi stdio
Tools
12
Categories
—
Last updated
4 Apr 2026
Published
4 Apr 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 2 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.paulieb89/pinescript-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.paulieb89/pinescript-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.paulieb89/pinescript-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.paulieb89/pinescript-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.paulieb89/pinescript-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.paulieb89/pinescript-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.paulieb89/pinescript-mcp"><img src="https://latlas.dev/badge/fiche/io.github.paulieb89/pinescript-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://pinescript-mcp.fly.dev/mcp
Last result
OK 28 Nov 2026, 09:05
Response time
2,029 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
pinescript-docs 3.3.0
Tools
12

Address
https://pinescript-mcp.fly.dev/sse
Last result
Failed 28 Nov 2026, 11:00 HTTP 404

History

DateAddressResultResponseTools
28 Nov 2026, 11:00pinescript-mcp.fly.dev/sseFailed784 ms—
28 Nov 2026, 09:05pinescript-mcp.fly.dev/mcpOK2,029 ms12

Exposed tools (12, from tools/list, 28 Nov 2026)

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, strategy.md, collections.md, drawing.md, general.md). Data sourced from bundled Pine Script v6 documentation.

No parameters.

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 Script v6 documentation.

ParameterTypeRequiredDescription
pathstringyesDocumentation file path (e.g., 'reference/functions/ta.md').

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= 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() instead. Data sourced from bundled Pine Script v6 documentation.

ParameterTypeRequiredDescription
pathstringyesRelative path to the documentation file (e.g., 'reference/functions/ta.md').
limitintegernoMaximum characters to return. Use 30000 for large files. 0 = no limit.
offsetintegernoCharacter offset to start reading from.

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 get_section() again with a child header for a narrower subsection. Data sourced from bundled Pine Script v6 documentation.

ParameterTypeRequiredDescription
pathstringyesDocumentation file path (e.g., 'reference/functions/strategy.md').
headerstringyesHeader text to find (e.g., 'strategy.exit()' or '## strategy.exit()').
include_childrenbooleannoInclude nested subsections under the matched header.

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 you want to read in full. Data sourced from bundled Pine Script v6 documentation.

ParameterTypeRequiredDescription
querystringyesSearch terms (case-insensitive). Multi-word queries match sections containing ALL terms.
max_resultsintegernoMaximum sections to return.

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 get_section() to read its documentation. Data sourced from bundled pine_v6_functions.json.

ParameterTypeRequiredDescription
namespacestringnoFilter by namespace (e.g., 'ta', 'strategy', 'request'). Empty string returns all functions grouped by namespace.

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) to list all valid functions in the relevant namespace if the function is invalid. Data sourced from bundled pine_v6_functions.json.

ParameterTypeRequiredDescription
fn_namestringyesFunction name to validate (e.g., 'ta.sma', 'strategy.entry', 'plot').

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 files or list_sections() + get_section() for large files. For natural language questions use search_docs() instead. Data sourced from bundled TOPIC_MAP and doc file content scan.

ParameterTypeRequiredDescription
querystringyesExact Pine Script term or known concept keyword (e.g., 'ta.rsi', 'strategy.entry', 'repainting').

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, call get_section(path, header) on the top results for complete context. For exact API term lookups use resolve_topic() instead; for keyword grep use search_docs() instead. Data sourced from the ai-ready-data pinescript-v06 semantic index.

ParameterTypeRequiredDescription
querystringyesNatural language question or description (e.g., 'how to prevent repainting in higher timeframe strategies').
top_kintegernoNumber of results to return.

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 tool, call validate_function(fn_name) if the error mentions an unrecognised function; call get_section() on any suggested doc paths to read full context. Data sourced from ai-ready-data semantic index and bundled concepts/common_errors.md.

ParameterTypeRequiredDescription
error_textstringyesThe exact error message from the TradingView Pine Script compiler or runtime.
codestring | nullnoOptional: the Pine Script code that produced the error.

list_prompts

List all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments.

No parameters.

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.

ParameterTypeRequiredDescription
namestringyesThe name of the prompt to get
argumentsobject | nullnoOptional arguments for the prompt

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://pinescript-mcp.fly.dev/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http pinescript-mcp https://pinescript-mcp.fly.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : pinescript-mcp ; URL : https://pinescript-mcp.fly.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : pinescript-mcp ; Server URL : https://pinescript-mcp.fly.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "pinescript-mcp": {
      "url": "https://pinescript-mcp.fly.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "pinescript-mcp": {
      "type": "http",
      "url": "https://pinescript-mcp.fly.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "pinescript-mcp": {
      "url": "https://pinescript-mcp.fly.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "pinescript-mcp": {
      "httpUrl": "https://pinescript-mcp.fly.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.pinescript-mcp]
url = "https://pinescript-mcp.fly.dev/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Pine Script v6 Documentation · L’Atlas · Tested on

Markdown
[Pine Script v6 Documentation — L’Atlas](https://latlas.dev/en/mcp/io.github.paulieb89/pinescript-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.