Pine Script v6 Documentation
io.github.paulieb89/pinescript-mcp
Serveur MCP OK 12 outils
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
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.paulieb89/pinescript-mcp)<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
| Date | Adresse | Résultat | Réponse | Outils |
|---|---|---|---|---|
| 28 nov. 2026, 11:00 | pinescript-mcp.fly.dev/sse | Échec | 784 ms | — |
| 28 nov. 2026, 09:05 | pinescript-mcp.fly.dev/mcp | OK | 2 029 ms | 12 |
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ètre | Type | Requis | Description |
|---|---|---|---|
| path | string | oui | Documentation 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ètre | Type | Requis | Description |
|---|---|---|---|
| path | string | oui | Relative path to the documentation file (e.g., 'reference/functions/ta.md'). |
| limit | integer | non | Maximum characters to return. Use 30000 for large files. 0 = no limit. |
| offset | integer | non | Character 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ètre | Type | Requis | Description |
|---|---|---|---|
| path | string | oui | Documentation file path (e.g., 'reference/functions/strategy.md'). |
| header | string | oui | Header text to find (e.g., 'strategy.exit()' or '## strategy.exit()'). |
| include_children | boolean | non | Include 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search terms (case-insensitive). Multi-word queries match sections containing ALL terms. |
| max_results | integer | non | Maximum 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ètre | Type | Requis | Description |
|---|---|---|---|
| namespace | string | non | Filter 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ètre | Type | Requis | Description |
|---|---|---|---|
| fn_name | string | oui | Function 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Exact 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ètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Natural language question or description (e.g., 'how to prevent repainting in higher timeframe strategies'). |
| top_k | integer | non | Number 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ètre | Type | Requis | Description |
|---|---|---|---|
| error_text | string | oui | The exact error message from the TradingView Pine Script compiler or runtime. |
| code | string | null | non | Optional: 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ètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | The name of the prompt to get |
| arguments | object | null | non | Optional 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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport 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 mcp add --transport http pinescript-mcp https://pinescript-mcp.fly.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : pinescript-mcp ; URL : https://pinescript-mcp.fly.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : pinescript-mcp ; Server URL : https://pinescript-mcp.fly.dev/mcp ; Create as a plugin{
"mcpServers": {
"pinescript-mcp": {
"url": "https://pinescript-mcp.fly.dev/mcp"
}
}
}{
"mcpServers": {
"pinescript-mcp": {
"type": "http",
"url": "https://pinescript-mcp.fly.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"pinescript-mcp": {
"url": "https://pinescript-mcp.fly.dev/mcp"
}
}
}{
"mcpServers": {
"pinescript-mcp": {
"httpUrl": "https://pinescript-mcp.fly.dev/mcp"
}
}
}[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
[Pine Script v6 Documentation — L’Atlas](https://latlas.dev/mcp/io.github.paulieb89/pinescript-mcp)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.