Pine Script v6 Documentation — Claude Code MCP server
This MCP server gives AI assistants Pine Script v6 reference material, function checks, and debugging prompts for code generation.
claude mcp add --transport http pinescript-mcp https://pinescript-mcp.fly.dev/mcpWhat Pine Script v6 Documentation does
Pine Script v6 Documentation lets an agent search the language reference, verify whether a function exists, and inspect material on indicators, strategies, visuals, and execution behavior. It can help explain a function, diagnose a compilation error, or move code from v5 to v6.
The server includes document search, file and section navigation, function lookup, resource access, and prompt templates. Those templates cover error analysis, function explanations, and version conversion. The local stdio setup requires uvx; the hosted HTTP endpoint is another way to connect without that local command.
Each package version carries its own frozen documentation snapshot. Pinning a package version keeps the reference used by the agent unchanged across updates.
What it helps with
- verify a Pine Script v6 function
- look up
ta.*andstrategy.*parameters - diagnose a Pine Script compilation error
- convert a script from v5 to v6
- check code against the v6 reference
Example prompts for the agent
- Check whether
ta.supertrendexists in Pine Script v6 and explain its parameters. - Analyze this Pine Script compilation error and suggest a fix.
- Convert this Pine Script v5 code to v6 syntax.
How to install Pine Script v6 Documentation
1Platform CLI: remote server
claude mcp add --transport http pinescript-mcp https://pinescript-mcp.fly.dev/mcp2Platform CLI
claude mcp add pine-script-v6-documentation -- uvx pinescript-mcpuvx runs the command named after the package; if the README names another one, use uvx --from pinescript-mcp <command>
1Platform CLI: remote server
codex mcp add pine-script-v6-documentation --url https://pinescript-mcp.fly.dev/mcp2Platform CLI
codex mcp add pine-script-v6-documentation -- uvx pinescript-mcpuvx runs the command named after the package; if the README names another one, use uvx --from pinescript-mcp <command>
Config file
{
"mcpServers": {
"pine-script-v6-documentation": {
"url": "https://pinescript-mcp.fly.dev/mcp"
}
}
}{
"mcpServers": {
"pine-script-v6-documentation": {
"command": "uvx",
"args": [
"pinescript-mcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from pinescript-mcp <command>
Config file
{
"servers": {
"pine-script-v6-documentation": {
"type": "http",
"url": "https://pinescript-mcp.fly.dev/mcp"
}
}
}{
"servers": {
"pine-script-v6-documentation": {
"type": "stdio",
"command": "uvx",
"args": [
"pinescript-mcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from pinescript-mcp <command>
1Platform CLI: remote server
gemini mcp add -t http pine-script-v6-documentation https://pinescript-mcp.fly.dev/mcp2Platform CLI
gemini mcp add pine-script-v6-documentation uvx pinescript-mcpuvx runs the command named after the package; if the README names another one, use uvx --from pinescript-mcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Pine Script v6 Documentation
How do I install Pine Script v6 Documentation in Claude Code?
Run claude mcp add --transport http pinescript-mcp https://pinescript-mcp.fly.dev/mcp. This connects Claude Code to the hosted MCP server over HTTP.
What does Pine Script v6 Documentation do?
It searches the Pine Script v6 reference, checks functions, and gives the agent API material for code generation. It also exposes prompts for debugging, function explanations, and v5-to-v6 conversion.
Do I need uvx to use the server?
uvx is required for the local stdio setup. The hosted HTTP connection does not require it.