mcp-tradingview-server
Provides tools to retrieve TradingView technical indicators and OHLCV data for various symbols and exchanges.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-tradingview-serverGet indicators for BTCUSDT on BINANCE"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP TradingView Server
FastMCP v2 server that exposes TradingView technical indicators and OHLCV data through the tradingview_scraper library. The mcp-tradingview console entry powers Claude Desktop or any MCP-aware client.
Quick Start
Automated Setup (Recommended)
Install uv and Python 3.11+
Run the setup script:
./setup.shInstalls dependencies and creates virtual environment
Automatically configures Claude Desktop with the MCP server
Restart Claude Desktop to load the new configuration
Manual Setup
Install uv and Python 3.11+
uv venv --python 3.11 && source .venv/bin/activateuv pip install -e .Configure Claude Desktop (see below)
Related MCP server: tradingview-mcp
Running
Stdio (Claude default):
uv run mcp-tradingviewSSE service:
uv run mcp-tradingview --transport sse --host 0.0.0.0 --port 8000HTTP service:
uv run mcp-tradingview --transport http --host 0.0.0.0 --port 8000 --path /mcp
FASTMCP_HOST, FASTMCP_PORT, and FASTMCP_PATH environment variables override the bind settings when present.
Tools
get_indicators(symbol, exchange="BINANCE", timeframe="1h", all_indicators=True, export_result=False)– full TradingView indicator snapshot; returnssuccess,symbol,exchange,timeframe, and anindicatorsmapping.get_specific_indicators(symbol, indicators, exchange="BINANCE", timeframe="1h", export_result=False)– filters the full snapshot to requested keys (case-insensitive) and echoesrequested_indicators.get_historical_data(symbol, exchange="BINANCE", timeframe="1h", max_records=100, export_result=False)– streams OHLCV candles viaStreamer, returningrecords_collected,data, and optionalexport_file.
Resources & Exports
Resource
indicators/{symbol}emits a formatted indicator report usingget_indicatorsdefaults.When
export_result=True, JSON payloads are written toexport/; keep large archives out of version control.
Claude Desktop
Add the server to claude_desktop_config.json. Here are the recommended configurations:
Using Claude Code CLI (Easiest)
claude mcp add tradingview -- uvx --from /absolute/path/to/mcp-tradingview-server mcp-tradingviewOr with uv run:
claude mcp add tradingview -- uv run mcp-tradingview --cwd /absolute/path/to/mcp-tradingview-serverManual Configuration
Stdio Transport (Recommended)
{
"mcpServers": {
"tradingview": {
"command": "uvx",
"args": ["--from", "/absolute/path/to/mcp-tradingview-server", "mcp-tradingview"]
}
}
}Alternative with uv run:
{
"mcpServers": {
"tradingview": {
"command": "uv",
"args": ["run", "mcp-tradingview"],
"cwd": "/absolute/path/to/mcp-tradingview-server"
}
}
}HTTP Transport
{
"mcpServers": {
"tradingview": {
"command": "uv",
"args": ["run", "mcp-tradingview", "--transport", "http", "--host", "0.0.0.0", "--port", "8001", "--path", "/mcp"],
"cwd": "/absolute/path/to/mcp-tradingview-server"
}
}
}Restart Claude Desktop after updating the configuration. The bundled CLAUDE.md provides extra guidance the model can reference while chatting.
Development
uv run pytestexecutes the asynchronous test suite intest_server.py.Use
logging.getLogger(__name__)for diagnostics; avoid printing secrets.Refer to
export/for captured fixtures when updating tests or documentation.
License
This project is provided as-is for educational and research purposes.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceProvides comprehensive stock market data and technical analysis tools via the MCP protocol, enabling real-time quotes, historical data, and professional indicators like RSI and MACD for Claude Desktop and other clients.Last updated5Apache 2.0
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server that lets AI assistants interact with TradingView for real-time quotes, historical OHLCV data, screener, alerts, watchlists, news, chart layouts, Pine scripts, and more. Connect it to Claude Desktop, Cursor, or any MCP-compatible client to control TradingView via natural language.Last updated1765
- Flicense-qualityBmaintenanceEnables Claude to control and read from the TradingView Desktop app, providing automated morning briefs, chart analysis, Pine Script development, and replay mode.Last updated176
- Flicense-qualityBmaintenanceEnables Claude to control TradingView Desktop for automated morning briefs, chart analysis, Pine Script development, and session management via MCP tools.Last updated176
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bidouilles/mcp-tradingview-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server