Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by cklose2000 • Uncategorized
A Model Context Protocol (MCP) server for working with TradingView PineScript
A Model Context Protocol (MCP) server for working with TradingView PineScript
Full-text search across all Pine Script v6 documentation. Use this for general queries about concepts, patterns, or topics when you don't know the exact function name. Returns ranked results from both the reference manual and user guide. Prefer pine_reference for known function/variable names, and pine_guide for conceptual topics like 'execution model' or 'strategies'.
Look up a specific Pine Script v6 function, variable, or type by exact name. Returns the full signature, parameters, description, and code examples. This should be your FIRST choice when you know the function name (e.g., 'ta.sma', 'strategy.entry', 'close', 'request.security'). Supports short names like 'sma' which auto-resolve to 'ta.sma'. Use the format parameter to get just the signature or just examples.
Retrieve conceptual guide topics from the Pine Script user guide. Use for learning how something works — execution model, strategies, plotting, timeframes, etc. NOT for function lookups (use pine_reference instead). Set listTopics=true to discover all available topics before searching.
Search for Pine Script code examples by keyword. Extracts and deduplicates code blocks from documentation. Use when you need executable code patterns rather than documentation text. For the official example of a specific function, prefer pine_reference with format='examples'.
Discover what's available in Pine Script by browsing categories. Call without arguments to list all categories (ta, strategy, request, math, etc.) and their entry counts. Provide a category name to see all functions/variables in that category with descriptions. Great for exploration when you're not sure what functions exist.
Step-by-step guidance for writing a Pine Script v6 indicator with best practices
Systematic debugging checklist for Pine Script strategy issues
Guide for migrating a Pine Script from an older version to v6
Overview of all available Pine Script documentation: categories, function counts, and guide topics
Pine Script v6 quick reference cheatsheet with common syntax patterns
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.