MCP ExplorerExplorer

Tradingview Pinescript V6 Reference

@9Mirrors-Labon a year ago
5 MIT
FreeCommunity
AI Systems
Structured Pine Script v6 documentation for MCP or RAG use

Overview

What is Tradingview Pinescript V6 Reference

The tradingview-pinescript-v6-reference is a structured JSON dataset extracted from the TradingView Pine Script v6 Documentation, designed to provide clean, machine-readable access to Pine Script v6 reference information for various applications.

Use cases

Use cases include integrating the reference into trading bots, enhancing AI models for Pine Script development, and providing searchable documentation for developers working with Pine Script v6.

How to use

To use the tradingview-pinescript-v6-reference, you can plug it directly into Model Context Protocol (MCP) systems like Context7 or Cursor as a reference. It can also be utilized in AI-assisted Pine Script development and searchable documentation servers.

Key features

Key features include a structured format capturing function names, types, descriptions, remarks, examples, and related links, making it easy to navigate and understand Pine Script v6 functionalities.

Where to use

The tradingview-pinescript-v6-reference can be used in fields such as algorithmic trading, financial analysis, and AI development, particularly where Pine Script is utilized for creating trading strategies and indicators.

Content

Pine Script v6 Documentation

Pine Script v6 Structured Reference Banner

This repository contains a structured JSON dataset extracted from the TradingView Pine Script v6 Documentation.

It is designed to provide clean, machine-readable access to Pine Script v6 reference information, suitable for:

  • Model Context Protocol (MCP) usage (e.g., Context7, Cursor)
  • Retrieval-Augmented Generation (RAG) systems
  • AI-assisted Pine Script development
  • Searchable documentation servers

📦 What’s included

Each entry captures:

  • heading: The name of the function, annotation, variable, keyword, type, or operator.
  • type: The general classification (Functions, Variables, Constants, etc.).
  • description: Full human-readable explanation.
  • remarks: Important notes, warnings, or behavior quirks.
  • examples: Array of code examples related to the entry.
  • related_links: Array of links to related documentation entries.

📚 Data Source

  • Source: TradingView Official Pine Script v6 Reference
  • Extraction: Scraped and structured manually using Firecrawl to capture full heading, description, remarks, examples, and related links.
  • Scope: Covers sections under:
    • Variables
    • Constants
    • Functions
    • Keywords
    • Types
    • Operators
    • Annotations

TradingView Pine Script Documentation Screenshot

Note: Minor formatting cleanup was performed to ensure machine compatibility. No content was altered from the source.


Pine Script v6 Structured Reference

📁 Files

File Description
pinescript_v6_reference.json Full structured reference for Pine Script v6

⚙️ Intended Use

  • Plug directly into Context7 or Cursor as a reference-type MCP source.
  • Use with RAG pipelines for Pine Script-aware LLM agents.
  • Build smarter Pine Script assistants without depending on live web lookups.

⚠️ Limitations

  • This dataset is based on TradingView’s public documentation as of April 2025.
  • It will not automatically include future updates to Pine Script (e.g., v7 changes).
  • Some remarks and examples rely on TradingView-specific behavior and might vary slightly across versions.

📜 License

MIT License

Feel free to fork, modify, and use for any personal, educational, or commercial purpose.
Attribution appreciated but not required.


Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers