PineScript v6 MCP Server v1.0.0
First public release of the complete PineScript v6 reference MCP server.
Includes
- 20 MCP tools + 1 resource for PineScript v6 docs lookup, validation, and codegen
- 3,686+ documentation entries covering all functions, types, variables, constants
- Dual-tier validation: local linter (<10ms) + TradingView pine-facade compiler
- Three-tier caching: hot cache → name index → L1 query cache
- ChromaDB vector store with semantic search
Quick Start
git clone https://github.com/TheFractalyst/pinescript-mcp.git
cd pinescript-mcp
make installThen either build the database:
make indexOr download the pre-built database attached to this release:
curl -L https://github.com/TheFractalyst/pinescript-mcp/releases/download/v1.0.0/pinescript_db.tar.gz | tar xzPre-built Database
The pinescript_db.tar.gz attached below contains the pre-built ChromaDB index (~56MB).
Extract it in the project root to skip the indexing step.