The pinescript MCP server enables AI agents to develop and optimize TradingView PineScript strategies. It provides tools for script creation, backtesting, and performance analysis. The server connects to TradingView's PineScript API, allowing agents to fetch historical data, execute scripts, and retrieve results. Developers use it to automate strategy development, backtest trading ideas, and optimize script parameters.
The pinescript MCP server enables AI agents to develop and optimize TradingView PineScript strategies. It provides tools for script creation, backtesting, and performance analysis. The server connects to TradingView's PineScript API, allowing agents to fetch historical data, execute scripts, and retrieve results. Developers use it to automate strategy development, backtest trading ideas, and optimize script parameters.
npx -y pinescript-mcpAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"cklose2000-pinescript-mcp-server-github": {
"command": "npx",
"args": [
"-y",
"npx -y pinescript-mcp"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from pinescript?"
API Key Required
This server requires an API key from pinescript. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| PINESCRIPT_API_KEY | Yes | Your pinescript API key |
"What resources are available in pinescript?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in pinescript"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in pinescript with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.