Connect the TradingView MCP server to Claude, Cursor, and VS Code so AI assistants can query market search, quotes, candles, technical analysis, news, and leaderboard tools without building a custom tool layer.
Built for teams searching for a TradingView MCP server for Claude Desktop, Cursor IDE, or VS Code MCP workflows and needing a practical setup path instead of protocol-only documentation.
Professional market data integration for AI assistants
Real-time streaming with Server-Sent Events (SSE) for efficient data delivery
Access 11 powerful tools for market data, analysis, and research
Secure token-based authentication with flexible expiration options
Works seamlessly with popular AI assistants and MCP clients
Access data from 353+ exchanges across all major asset classes
Optimized for speed and reliability with enterprise-grade infrastructure
11 powerful tools for comprehensive market data access
Search for symbols across 353+ exchanges
Get market metadata, tabs, columnsets, exchanges
Get real-time quote for a single symbol
Get real-time quotes for multiple symbols
Get historical price data (OHLCV)
Get historical prices for multiple symbols
Get technical analysis indicators
Get financial news for symbols
Get detailed news article content
Get economic calendar, earnings, dividends, IPOs
Get market leaderboards (gainers, losers, most active)
Get connected in 3 simple steps for Claude Desktop, Cursor, or VS Code
Call the token generation endpoint to get your MCP authentication token for Claude, Cursor, VS Code, or any other supported MCP client:
curl -X POST https://tradingview-data1.p.rapidapi.com/api/mcp/generate \
-H "x-rapidapi-host: tradingview-data1.p.rapidapi.com" \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" token - Your JWT authentication tokenmcpUrl - MCP service endpointexpiresIn - Token validity period (30min / 1day / 15days)Add TradingView MCP server to your client configuration. The hosted setup below is the fastest option for Claude Desktop, Cursor, and VS Code MCP workflows:
~/.cursor/mcp.json
{
"mcpServers": {
"tradingview": {
"type": "streamable-http",
"url": "https://mcp.tradingviewapi.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN_HERE",
"Accept": "application/json, text/event-stream"
}
}
}
} ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"tradingview": {
"type": "streamable-http",
"url": "https://mcp.tradingviewapi.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN_HERE",
"Accept": "application/json, text/event-stream"
}
}
}
} VS Code MCP settings / server config JSON
{
"mcpServers": {
"tradingview": {
"type": "streamable-http",
"url": "https://mcp.tradingviewapi.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN_HERE",
"Accept": "application/json, text/event-stream"
}
}
}
} Restart Claude, Cursor, or VS Code and start using TradingView tools in your AI conversations:
"Search for Apple stock symbol"
"Get real-time quote for AAPL"
"Show me technical analysis for BTC/USDT"
"Get latest news for Tesla"
"Show upcoming earnings calendar"
"Get market leaderboards and top gainers"
"Use the TradingView MCP server to compare BTCUSDT and ETHUSDT trend signals"
This MCP can be configured independently from the hosted JWT flow. It uses your RapidAPI quota directly, so you only need to add the config below and replace YOUR_RAPIDAPI_KEY.
Add directly under mcpServers in any command-based MCP client config
{
"mcpServers": {
"tradingview-data": {
"command": "npx",
"args": ["-y", "@ivotoby/openapi-mcp-server"],
"env": {
"API_BASE_URL": "https://tradingview-data1.p.rapidapi.com",
"OPENAPI_SPEC_PATH": "https://www.tradingviewapi.com/openapi.json",
"API_HEADERS": "x-rapidapi-host:tradingview-data1.p.rapidapi.com,x-rapidapi-key: YOUR_RAPIDAPI_KEY"
}
}
}
} https://mcp.tradingviewapi.com/mcp Multiple authentication methods supported (priority order):
Authorization: Bearer TOKEN (recommended)x-api-token: TOKENx-rapidapi-key / x-rapidapi-proxy-secretContent-Type: application/json
Accept: application/json, text/event-stream
Authorization: Bearer YOUR_TOKEN Regenerate tokens before expiration to maintain access
All responses follow JSON-RPC 2.0 specification:
result field with dataerror field with code and messageid field for matching requestsAPI rate limits based on your subscription tier:
WebSocket connections count as continuous requests
Start accessing professional market data through your AI assistant today.