Hi everyone. I came across this repo yesterday https://github.com/tradesdontlie/tradingview-mcp
It definitely has potential for devs/traders. I rarely code in Pine, but have a few old scripts that need a Claude's touch maybe.. Cool thing it can access Pine editor directly.
Requirements:
- basic knowledge/experience working with Claude CLI
- TradingView Desktop app (subscription needed only for live data stream and features of corresponding paid plans; seconds TF, non-standard charts,...)
{if you don't have Claude and completely new to this then you also need Node.js and Git and a whole new guide to it...}
Installation notes. **The repo's own guide has some gaps and will likely cause problems on Windows. Steps below are the corrected version**
1. In PowerShell run
2. The hardest part is TV app location. We need a path to TradingView.exe which is TradingView.Desktop_version__some_hash_suffix
It's probably in C:\Program Files\WindowsApps\ which is sealed with seven seals and you can't open it to copy the path.
This PS script should work
Copy it. Use in step 3.1
...or ultimate script to unlock the folder (so you can delete "update ghosts" of some apps as well)
3. Move the tradingview-mcp folder into whatever directory you run <claude> from, create .mcp.json in the same directory
I put it in ~/.claude
3.1 Run shell command
In my case it's
This will run the TV app, might ask you to login again
Finally run claude from that directory, check if it's working and see repo for available commands...
If someone already tried it out, would be nice to hear your use cases.
It definitely has potential for devs/traders. I rarely code in Pine, but have a few old scripts that need a Claude's touch maybe.. Cool thing it can access Pine editor directly.
Requirements:
- basic knowledge/experience working with Claude CLI
- TradingView Desktop app (subscription needed only for live data stream and features of corresponding paid plans; seconds TF, non-standard charts,...)
{if you don't have Claude and completely new to this then you also need Node.js and Git and a whole new guide to it...}
Installation notes. **The repo's own guide has some gaps and will likely cause problems on Windows. Steps below are the corrected version**
1. In PowerShell run
Inserted Code
git clone https://github.com/tradesdontlie/tradingview-mcp.git cd tradingview-mcp npm install
2. The hardest part is TV app location. We need a path to TradingView.exe which is TradingView.Desktop_version__some_hash_suffix
It's probably in C:\Program Files\WindowsApps\ which is sealed with seven seals and you can't open it to copy the path.
This PS script should work
Inserted Code
Get-AppxPackage *TradingView* | Select-Object InstallLocation
Copy it. Use in step 3.1
...or ultimate script to unlock the folder (so you can delete "update ghosts" of some apps as well)
Inserted Code
$targetPath = "C:\Program Files\WindowsApps" takeown /f $targetPath icacls $targetPath /grant Username:F
3. Move the tradingview-mcp folder into whatever directory you run <claude> from, create .mcp.json in the same directory
I put it in ~/.claude
Inserted Code
{
"mcpServers": {
"tradingview": {
"command": "node",
"args": ["C:\\Users\\Name\\.claude\\tradingview-mcp\\src\\server.js"]
}
}
} 3.1 Run shell command
Inserted Code
& "C:\Program Files\WindowsApps\folder\TradingView.exe" --remote-debugging-port=9222
Inserted Code
& "C:\Program Files\WindowsApps\TradingView.Desktop_3.1.0.7818_x64__n534cwy3pjxzj\TradingView.exe" --remote-debugging-port=9222
Finally run claude from that directory, check if it's working and see repo for available commands...
If someone already tried it out, would be nice to hear your use cases.
Air force