TradingView MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| market_get_capabilitiesA | Report configured providers, browser authentication availability, lazy-runtime state, and the currently loaded chart. Use this before choosing a data workflow. |
| market_get_priceA | Get OHLCV bars for a symbol from the configured data source or currently loaded local dataset. By default also loads the result into the local chart viewer. |
| market_get_quoteB | Get one current quote and snapshot fields from the configured data source or loaded local bars. |
| market_get_quotesA | Get quotes for up to 50 symbols in one call. |
| market_searchB | Search instruments by ticker or company name. |
| market_get_taA | Get a multi-timeframe recommendation summary, or detailed indicators when interval is set. Local mode calculates deterministic indicators from loaded bars. |
| market_screenB | Run a market screener request. Local mode returns the currently loaded symbol. |
| market_stock_snapshotB | Get normalized symbol snapshots with optional news and server-side filters. |
| chart_openA | Return the local TradingView Lightweight Charts viewer URL. The viewer reflects chart changes made by other tools. |
| chart_get_stateA | Get the current chart summary. Set includeBars only when raw OHLCV is needed. |
| chart_import_csvA | Load a CSV under MARKET_CHART_DATA_ROOT into the chart. Required columns: time (or timestamp/date), open, high, low, close; volume is optional. |
| chart_set_dataA | Replace the chart with inline, user-provided OHLCV bars (maximum 10,000). |
| chart_set_viewB | Change chart metadata or theme without fetching data. |
| chart_add_indicatorC | Add or replace an SMA, EMA, Bollinger Bands, RSI, or MACD study. |
| chart_remove_indicatorC | Remove an indicator by id. |
| chart_add_levelA | Add a labeled horizontal support, resistance, stop, or target level. |
| chart_remove_levelB | Remove a labeled horizontal price level by id. |
| chart_add_seriesA | Add or replace a time-aligned line or histogram series. Price overlays, CVD panes, expected paths, max-pain history, and option-flow series are supported. |
| chart_remove_seriesC | Remove a custom line or histogram series by id. |
| chart_add_zoneB | Add or replace a shaded time/price zone for demand, supply, expected ranges, or invalidation areas. |
| chart_remove_zoneB | Remove a shaded chart zone by id. |
| chart_add_markerA | Add or replace a marker for SQ, signal confirmation, participant-flow events, or scenario triggers. |
| chart_remove_markerA | Remove a chart marker by id. |
| chart_apply_overlaysA | Atomically apply indicators, levels, custom series, zones, and markers so clients never observe a half-updated analysis workspace. |
| chart_clear_overlaysA | Remove indicators, levels, custom series, zones, and markers in one operation. |
| chart_analyzeA | Calculate deterministic trend, SMA/EMA, RSI, MACD, Bollinger Bands, ATR, signals, and support/resistance from the current bars. This is not investment advice. |
| chart_snapshotA | Render the local chart viewer in an isolated headless browser and return a PNG for visual analysis. The browser and ephemeral viewer close afterward unless keepRuntimeOpen is true. |
| chart_load_demoB | Reset the chart to deterministic synthetic OHLCV for testing and onboarding. |
| tradingview_get_historyA | Open an official TradingView symbol/interval, export chart data through Supercharts, archive the CSV, and return a compact summary by default. Set includeBars only when raw OHLCV must enter model context. The browser closes after the operation unless keepBrowserOpen is true. Supports minute, daily, weekly, and monthly intervals. No account upgrade action is attempted. |
| tradingview_analyze_symbolA | Recommended one-call workflow: fetch and archive official TradingView OHLCV, load it into the local chart, and return deterministic technical analysis with source and delay metadata. The browser closes afterward unless keepBrowserOpen is true. |
| tradingview_get_dayA | Recommended one-call historical-date workflow. Navigate official TradingView Supercharts to the requested date, export OHLCV through the chart UI, and return the matching session or intraday aggregate, prior/next bars when available, price changes, gaps, ranges, volume, rolling performance, and deterministic technical analysis. Non-trading days return an explicit no_session_bar status instead of substituting another date. |
| tradingview_capture_periodA | Open an official TradingView symbol and interval, use the Supercharts Custom range control for the requested YYYY-MM-DD dates, and return the resulting chart as a PNG in one call. The browser closes by default and authentication remains local. |
| tradingview_open_chartB | Open the official TradingView Supercharts UI for a validated symbol and interval. Optional authentication is loaded only from the configured local state/cookie file and is never returned. |
| tradingview_get_stateA | Read the current official chart URL, symbol, interval, authentication state, and delayed-data flag without exposing cookies. |
| tradingview_add_indicatorA | Use the official Supercharts indicator dialog to add an exact built-in or user-visible indicator by name. |
| tradingview_export_chartA | Download the data currently loaded in official Supercharts through its chart-data export UI, including visible indicator columns. Optionally load OHLCV into the local chart for deterministic analysis. |
| tradingview_snapshotB | Capture the official TradingView chart region or viewport for visual analysis. Authentication details are excluded from the result. |
| tradingview_closeA | Close the managed TradingView browser, context, and page. Authentication files remain local and untouched. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/moeuu/tradingview-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server