Access TradingView data capabilities through MCP for AI assistants like Claude, Cursor, and VS Code. No need to build your own tool layer—use our ready-to-go tools directly.
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
Call the token generation endpoint to get your MCP authentication token:
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:
~/.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"
}
}
}
} Restart your client 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"
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.