L'Atlas / Serveurs MCP / Pine Script v6 Documentation
Serveur MCP

Pine Script v6 Documentation

io.github.paulieb89/pinescript-mcp

Serveur MCP OK 12 outils

Faire examiner Voir les tarifs

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

Fiche technique

Auteur
paulieb89 (espace de noms du registre)
Dépôt
github.com/paulieb89/pinescript-mcp
Site
bouch.dev
Version
0.6.17
Transport
Streamable HTTP SSE stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://pinescript-mcp.fly.dev/mcp Streamable HTTP
https://pinescript-mcp.fly.dev/sse SSE
Paquets
pinescript-mcp 0.6.17 pypi stdio
Outils
12
Catégories
—
Dernière mise à jour
4 avr. 2026
Publication
4 avr. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.paulieb89/pinescript-mcp.svg)](https://latlas.dev/mcp/io.github.paulieb89/pinescript-mcp)
HTML
<a href="https://latlas.dev/mcp/io.github.paulieb89/pinescript-mcp"><img src="https://latlas.dev/badge/fiche/io.github.paulieb89/pinescript-mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://pinescript-mcp.fly.dev/mcp
Dernier résultat
OK 28 nov. 2026, 09:05
Temps de réponse
2 029 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
pinescript-docs 3.3.0
Outils
12

Adresse
https://pinescript-mcp.fly.dev/sse
Dernier résultat
Échec 28 nov. 2026, 11:00 HTTP 404

Historique

DateAdresseRésultatRéponseOutils
28 nov. 2026, 11:00pinescript-mcp.fly.dev/sseÉchec784 ms—
28 nov. 2026, 09:05pinescript-mcp.fly.dev/mcpOK2 029 ms12

Outils exposés (12, réponse à 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.

Aucun paramètre.

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.

ParamètreTypeRequisDescription
pathstringouiDocumentation 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.

ParamètreTypeRequisDescription
pathstringouiRelative path to the documentation file (e.g., 'reference/functions/ta.md').
limitintegernonMaximum characters to return. Use 30000 for large files. 0 = no limit.
offsetintegernonCharacter 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.

ParamètreTypeRequisDescription
pathstringouiDocumentation file path (e.g., 'reference/functions/strategy.md').
headerstringouiHeader text to find (e.g., 'strategy.exit()' or '## strategy.exit()').
include_childrenbooleannonInclude 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.

ParamètreTypeRequisDescription
querystringouiSearch terms (case-insensitive). Multi-word queries match sections containing ALL terms.
max_resultsintegernonMaximum 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.

ParamètreTypeRequisDescription
namespacestringnonFilter 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.

ParamètreTypeRequisDescription
fn_namestringouiFunction 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.

ParamètreTypeRequisDescription
querystringouiExact 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.

ParamètreTypeRequisDescription
querystringouiNatural language question or description (e.g., 'how to prevent repainting in higher timeframe strategies').
top_kintegernonNumber 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.

ParamètreTypeRequisDescription
error_textstringouiThe exact error message from the TradingView Pine Script compiler or runtime.
codestring | nullnonOptional: 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.

Aucun paramètre.

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.

ParamètreTypeRequisDescription
namestringouiThe name of the prompt to get
argumentsobject | nullnonOptional arguments for the prompt

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

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

Configs prêtes à copier

Adresse distante utilisée : https://pinescript-mcp.fly.dev/mcp. Formats repris de la documentation de chaque client.

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"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

Pine Script v6 Documentation · L’Atlas · Test du

Markdown
[Pine Script v6 Documentation — L’Atlas](https://latlas.dev/mcp/io.github.paulieb89/pinescript-mcp)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.