Get the FREE Ultimate OpenClaw Setup Guide →

TradingViewMCPServer

🛠️ Build a reliable trading assistant for Forex, Stocks, and Crypto with advanced indicators and Pine Script tools for smart trading decisions.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio asmah-acheampong-tradingviewmcpserver node path/to/server.js \
  --env NoEnvRequired="The server ships as a standalone application; environment variables are not strictly required unless specified by your deployment."

How to use

TradingViewMCPServer provides Pine Script tooling within the MCP ecosystem. It offers validation, autocompletion, and testing capabilities for Pine Script, along with access to a suite of over 20 technical indicators and multi-asset support (forex, stocks, and crypto). After starting the server, you can access the Pine Script editor, run validation on your scripts, enable autocomplete suggestions as you type, and perform backtesting and strategy testing using historical data. The tools are designed to be approachable for users with no programming background, while still offering advanced features for more experienced traders.

To use the server, launch the application and sign in with your trading credentials or create an account if prompted. Open the Pine Script editor to write or paste your scripts, use the validation tool to catch syntax or logical errors, and explore the indicator library to add technical indicators to your charts. The backtesting and real-time data features allow you to test strategies against historical data and monitor live market conditions, enabling informed decision-making with minimal coding effort.

How to install

Prerequisites:

  • A supported desktop environment (Windows 10+, macOS Mojave+, or Linux) and at least 4 GB RAM
  • Disk space: ~200 MB for the application package
  • Internet access for data updates and initial setup

Installation steps:

  1. Download the latest release from the project’s Releases page or the provided download link in the README.
  2. Extract the archive to a preferred location on your system.
  3. Locate the executable or launch script provided by the release (e.g., TradingViewMCPServer.exe on Windows or a server.js entry point for a Node-based distribution).
  4. Run the application according to your platform (double-click the executable on Windows/macOS, or run node path/to/server.js in a terminal if it’s a Node-based distribution).
  5. If prompted, sign in with your trading account or create a new account to access Pine Script tools, indicators, and backtesting features.
  6. Ensure network access is enabled so real-time data and updates can be fetched.

Additional notes

Tips and notes:

  • The package is delivered as a standalone application via a downloadable zip; no separate runtime installation may be required beyond the provided files.
  • If you encounter permission prompts during installation, grant the necessary privileges to proceed.
  • Ensure your firewall or antivirus software allows the application to access the internet for data streaming and updates.
  • If you experience issues with indicators or backtesting, verify that you are using a compatible version of the release and that your system meets the minimum RAM requirements.
  • The MCP server configuration shown here uses a placeholder path to the server entry point; adjust the command and path to reflect your actual installation layout.

Related MCP Servers

Sponsor this space

Reach thousands of developers ↗