TradingView MCP Server: What It Can and Can't Do (2026)
The official TradingView MCP server and the community ones compared: what each can read, which can touch Pine Script, the plan you need and which to use.
By Tom Evans · Updated · 10 min read

TradingView's official MCP server lets AI assistants such as Claude and ChatGPT read market data, run the screener, pull news, filings and the economic calendar, and manage your watchlists and price alerts. It went into public beta on 16 September 2026 for Essential plans and above. It can't place trades. Since 16 November 2026 it can also validate, read, save, run and backtest Pine Script, within a daily call limit that depends on your plan. TradingView still describes the toolset as beta.
"TradingView MCP" now means three different things: the official server, community bridges that control the TradingView Desktop app, and community data servers that only borrow TradingView's name. They differ a lot in what they can reach and how much risk they carry. This page compares them. For the setup steps and copy-paste commands, see how to connect Claude or Codex to TradingView.
TradingView MCP limits and the new Pine Script tools (November 2026)
On 16 November 2026 TradingView announced two changes to the official server (checked 27 November 2026). It added eight Pine Script tools, and from 17 November it caps the number of MCP calls each paid plan includes per day. The official server can now validate, run and backtest Pine Script, and the rest of this page reflects that. Earlier versions of this page said it had no Pine Script or Strategy Tester tools; that was true before 16 November 2026.
The eight new Pine Script tools
| Tool | What it does |
|---|---|
validate_pine_script | Returns compiler errors and warnings with their position in the code |
get_pine_script_info | Lists a script's inputs and plots |
run_pine_indicator | Calculates a script on a symbol and timeframe and returns its plot values |
run_pine_backtest | Returns a compact Strategy Tester report; with a date range it runs Deep Backtesting, depending on your plan |
search_pine_scripts | Searches your scripts, built-ins and community publications |
get_pine_script_source | Reads your own and open-source code (not protected or invite-only scripts) |
create_pine_script | Saves compiling code to your account (it doesn't publish it) |
update_pine_script | Updates a saved script and keeps earlier versions |
According to the docs, the backtest report gives profit and loss, profit factor, trade counts, percent profitable, average trade and largest win and loss for all, long and short trades, plus max drawdown, Sharpe and Sortino, the tested period and the latest closed trades (20 by default, at most 200). "Equity curves are never returned."
Daily MCP call limits by plan
| TradingView plan | MCP calls included per day |
|---|---|
| Essential (and legacy plans) | 10 |
| Plus | 20 |
| Premium | 50 |
| Ultimate | 500 |
| Any paid plan with the AI add-on | 500 a day, 50 a minute |
Every call counts, including each validation, indicator run and backtest. TradingView's docs also say the server is for personal use, shouldn't be used for automated trading or trading decisions, and shouldn't be connected to a bot or app other people can use.
What the limits mean in practice
Iterating on a strategy over MCP uses calls quickly. A single round of "fix the error, compile, backtest, adjust" is often three or four calls: validate, update, run the backtest, then validate again after the next edit. On Essential's 10 calls a day, that's two or three rounds before you're locked out until tomorrow. Even Premium's 50 runs out in an afternoon of tuning, and tuning that many rounds against the same history is a fast way to overfit anyway.
If you want to iterate on a strategy rather than research markets, Strategy Lab has no MCP cap: you describe the strategy to TES, the AI strategy coach, in plain English and the backtest runs inside Strategy Lab, with an unseen-period check, Monte Carlo and cost tests on each result. The Free plan includes 15 backtests and 5 TES prompts a week. Backtests are not future results, and leveraged trading carries a high risk of loss.
The three kinds of TradingView MCP server
| Official (TradingView) | Desktop bridge (community) | Data server (community) | |
|---|---|---|---|
| Example | mcp.tradingview.com/mcp | tradesdontlie/tradingview-mcp | atilaahmettaner/tradingview-mcp |
| Connects to | TradingView's servers, with your login | TradingView Desktop on your computer | Public market data endpoints and other sources |
| TradingView account | Essential plan or above | Any, with Desktop installed | Not needed |
| Pine Script | Yes since 16 Nov 2026: validate, run, save | Write, compile, read errors | No |
| Strategy Tester results | Compact report since 16 Nov 2026 (run_pine_backtest), no equity curve | Yes (trades and equity data) | No (its own Python backtester instead) |
| Watchlists and alerts | Yes, read and write | Yes, by controlling the app | No |
| Places trades | No | No | No |
| Supported by TradingView | Yes (beta) | No, uses undocumented internal APIs | No |
| Best for | Research, screening, monitoring, light Pine work | Pine Script development with Claude Code | Quick indicator and screener data without an account |
Details for each are below. Everything about the official server comes from TradingView's MCP documentation and launch post.
The official TradingView MCP server
Who can use it
Anyone with a paid TradingView plan. The docs' usage table starts at Essential or any legacy plan. You sign in with your TradingView account through OAuth 2.1, so there's no API key to create or store. Setup takes about two minutes; the steps are in how to connect Claude or Codex to TradingView.
The 38 tools
TradingView's docs list 38 tools in nine groups (checked 27 November 2026) and say "The toolset is in beta and expands over time". The current list has no separate fundamentals, earnings calendar or dividends calendar tools.
| Group | Tools | What they do |
|---|---|---|
| Market data | get_ohlcv, get_economic_data, get_economic_symbols | At most 5,000 OHLCV bars per call as rows (8,000 as columns), plus economic series |
| Symbol search | search_symbols | Turns a ticker or company name into EXCHANGE:TICKER |
| Screener | run_screener, get_symbol_data, get_symbol_data_batch, get_screener_columns, get_technicals_rating | Filtered screens up to 1,000 rows, any screener column, technical ratings |
| News | get_news, get_news_story | Headlines (up to 200) and full stories |
| Documents | get_documents, get_document_view | Filings and earnings call transcripts |
| Calendars | get_economic_calendar | Macro events such as CPI, GDP and rates (back to 2003) |
| Watchlists | 8 tools | List, read, create, rename, add, remove, delete |
| Alerts | 8 tools | Create price alerts, pause, restart, delete, read the alert log |
| Pine scripts | 8 tools | Check, search, read, save, run and backtest Pine Script (see the table above) |
Only the watchlist, alert and Pine Script save tools (create_pine_script, update_pine_script) change anything in your account. Everything else is read-only.
Its limits
- Data follows your plan. The docs say data delay and depth follow your plan and exchange subscriptions, and TradingView's launch post described the data as delayed.
- Daily call limits since 17 November 2026: 10 a day on Essential up to 500 on Ultimate (see the table above).
- Price alerts only. Single price conditions work (cross, cross up, cross down, greater, less). Indicator, multi-condition and webhook alerts still have to be made on tradingview.com.
- No trading. None of the tools touch orders or positions. Pine Script and backtest tools were added on 16 November 2026, and each call counts towards the daily limit.
- Compact backtests.
run_pine_backtestreturns summary metrics and up to 200 recent closed trades, never the equity curve.
When to use it
Use the official server for anything built on market research: a daily briefing on your watchlist, screening in plain English, earnings and macro checks before a session, or a post-mortem on which alerts fired and what price did next. It's also the safest option, because it's TradingView's own service with scoped permissions.
Desktop bridges: Pine Script access
The TradingView MCP Bridge is the best known (about 7,000 stars on GitHub). It runs on your computer, and Claude Code talks to it over MCP. The bridge then controls the TradingView Desktop app through Chrome DevTools Protocol on localhost:9222. That means it can do things through the app's interface that the official server can't:
- Write Pine Script into the editor, compile it and read compiler errors and
log.info()output. - Change the symbol and timeframe, add indicators and take screenshots of the chart or Strategy Tester.
- Read Strategy Tester data: the strategy summary, trades and equity.
The costs are real, and the project's own README states them:
- It "accesses undocumented internal TradingView APIs", so a TradingView update can break it without warning.
- It isn't affiliated with or endorsed by TradingView, and you're responsible for complying with TradingView's terms of use. The README lists automated trading, redistributing market data and getting around subscription limits as prohibited uses.
- You launch TradingView Desktop with remote debugging turned on, which exposes a local control port while it runs.
If you use one, install it from the original repository. Another popular TradingView MCP project warns in its README about copies under other GitHub accounts that carry malicious npm dependencies.
Data servers that only borrow the name
Projects such as atilaahmettaner/tradingview-mcp (about 5,000 stars) don't log into TradingView at all. They fetch indicator and screener data from public endpoints and other sources such as Yahoo Finance, and some add a small built-in backtester with fixed strategies (RSI, Bollinger, MACD, EMA cross and so on). They're handy for quick analysis without a TradingView account, but they can't see your charts, your scripts or your Strategy Tester. And their backtests aren't your strategy.
What none of them tell you
Every option above helps you get data or write code faster. None of them answers the question an algo trader actually has after a backtest: is this edge real, and where does it break?
That answer is in your strategy's own trades, broken down by the conditions each one happened in: session, weekday, time of day and volatility. A strategy with a decent overall profit factor can be losing steadily in one session and quietly carried by another. An AI assistant reading the summary tab won't see that.
Two places to go from here:
- How to test a strategy ChatGPT or Claude wrote: the full validation workflow.
- Strategy Lab: rebuild the strategy by describing it to TES and test it on an unseen final period, with Monte Carlo, realistic costs and other markets. It's free, with no card.
Frequently asked questions
- What is the TradingView MCP server?
- It's TradingView's official Model Context Protocol server, which lets AI assistants such as Claude, ChatGPT, Grok and Perplexity access your TradingView account: market data, screener, news, filings, the economic calendar, watchlists, price alerts and, since 16 November 2026, Pine Script. It's in public beta since 16 September 2026.
- Which TradingView plan do I need for MCP?
- A paid plan. The docs' usage table starts at Essential or any legacy plan, with 10 calls a day included (checked 27 November 2026).
- Can the TradingView MCP server read Pine Script?
- Yes, since 16 November 2026. The official server can validate, run, read and save Pine Script and return Strategy Tester reports, within your plan's daily call limit. Community desktop bridges can read and write Pine Script by controlling TradingView Desktop, but they use undocumented internal APIs and aren't supported by TradingView.
- Is the TradingView MCP data real-time?
- Not necessarily. TradingView's docs say data delay and depth follow your plan and exchange subscriptions, and its launch post described MCP market data as delayed during the beta.
- Is it safe to connect TradingView to Claude?
- The official server uses OAuth 2.1 sign-in, scoped tool permissions and no API keys, and it can't trade. Its write access is limited to watchlists, price alerts and your own saved Pine Scripts. Community bridges carry more risk, because they run local code with control over the TradingView app.
- What are the TradingView MCP limits?
- From 17 November 2026, TradingView caps the MCP calls included in paid plans per day: 10 on Essential and legacy plans, 20 on Plus, 50 on Premium and 500 on Ultimate. The AI add-on raises any paid plan to 500 calls a day and 50 a minute. Every Pine validation, run and backtest counts as a call (checked 27 November 2026).
- Can the TradingView MCP run a Pine Script backtest?
- Yes, since 16 November 2026. The
run_pine_backtesttool returns a compact Strategy Tester report, and with a date range it runs Deep Backtesting, depending on your plan. It returns no equity curve. Each backtest uses one of your daily MCP calls, so repeated tuning runs out quickly on lower plans; to test a strategy idea without call limits, use Strategy Lab.
Backtested strategies that held up
Each one was searched from hundreds of variants, then tested once on a locked final year it was never tuned on. Full rules, every trade and a free prompt to rebuild it.
- ETHUSDT
+1,893.2%
Sep 2019 to Nov 2026
Profit factor
1.39
Win rate
35.2%
Max DD
−18.9%
Breakout · 4 hours
ETHUSDT 4h Bollinger band breakout
Enter when the candle closes above the upper Bollinger band(30, 2) for longs, below the lower band for shorts, with the 200 EMA trend. ETHUSDT 4-hour candles, long and short, 3R target.
See the rules and results - EURUSD
+1,339.5%
Nov 2006 to Nov 2026
Profit factor
1.66
Win rate
53.0%
Max DD
−16.0%
Momentum · Daily
EURUSD daily CCI cross
Enter when CCI(14) crosses above -100 for longs, below 100 for shorts. EURUSD daily candles, long and short, 1.5R target.
See the rules and results - ADAUSDT
+937.9%
Sep 2019 to Nov 2026
Profit factor
1.50
Win rate
34.5%
Max DD
−15.0%
Breakout · 4 hours
ADAUSDT 4h Bollinger band breakout
Enter when the candle closes above the upper Bollinger band(20, 2) for longs, below the lower band for shorts, with the 200 EMA trend. ADAUSDT 4-hour candles, long and short, 3R target.
See the rules and results
Keep reading
AI and Pine ScriptTradingView AI Copilot: What It Can and Can't Tell You About Your Strategy
TradingView AI Copilot review: what it does on a strategy, what it gets wrong about backtests, who it suits, and how it compares with Claude through MCP.
AI and Pine ScriptHow to Connect Claude to TradingView (Official MCP Server, 2026)
Add TradingView's official MCP server to Claude, Claude Code or Codex step by step: the commands, the plan you need, daily call limits and what it can do.
AI and Pine ScriptClaude for Pine Script: Write, Debug and Test TradingView Strategies
How to use Claude to write and debug Pine Script v6 strategies: prompts that work, a rules file for Claude Code, fixing compiler errors and testing the result.