Skip to main content
Glama
Quant Desk TradingView MCP

Quant Desk TradingView MCP

Quant Desk — TradingView MCP

A systematic multi-strategy analysis engine that follows your TradingView chart.

Reads whatever chart you have open, fetches that instrument's history from free public sources, evaluates 358 published quantitative models against it, and produces one auditable verdict with a confidence score and a concrete position size.

Runs entirely on your machine. No TradingView subscription, no market-data vendor, no paid API. Works on the free TradingView tier.

python start.py

What it does

358 models across 16 categories, every one with a paper citation

~1s full scan

233 independent families — the honest unit of diversification

family-weighted consensus

Confidence engine — 8 components, hard vetoes, empirical calibration

0–100 score

Position sizing — capital 1,000 → 1,000,000, risk-first

refuses rather than guesses

Vectorised backtest with walk-forward validation

358 models in ~2.5s

Pine Script v6 export for all 174 price-only models

numerically verified

Any LLM provider via one saved key

14 providers, zero dependencies

Related MCP server: MCP Trading Quantitative Analysis Server

The design principle

A model that cannot run honestly reports unavailable rather than degrading to a price proxy and voting anyway.

142 of the 358 models need an options chain, fundamentals, a peer universe, order-book depth, on-chain or news data. Without that feed they stand down. Every screen shows "N voting of M available of 358 in library" — never "358 models agree".

22 models approximate their published method from substituted data. Each is labelled a proxy, states exactly what was substituted, and counts for 40% of a vote.

Why family weighting

Counting BUY votes treats 30 moving-average variants as 30 independent opinions. Under that scheme whichever style is most numerous wins every vote, and adding models makes the bias worse. Models sharing a family split one family's vote.


Quick start

git clone https://github.com/ankitjha67/TradingView-MCP.git
cd TradingView-MCP
python start.py

start.py checks Python, installs what's missing, verifies the engine loads, detects any IDE (Antigravity, VS Code, Cursor, Windsurf, Claude Desktop, Zed) and offers to wire up MCP, then launches the dashboard. No IDE found means the dashboard, which needs none.

Non-technical walkthrough: EASY_SETUP_GUIDE.md

Interfaces

The monitor follows your chart. Nothing else. It analyses the symbol and interval you have open and reports on that instrument — if the reading is neutral, "stand aside" is the answer, not a prompt to go looking elsewhere.

Scanning a wider universe is a separate, explicitly-invoked tool (tools/scan_universe.py). It is never run as part of monitoring.

Interface

Command

Scope

Live monitor

./run_monitor.sh · run_monitor.bat

your open chart only

Streamlit dashboard

python start.py

one symbol at a time

Universe scan

python tools/scan_universe.py --capital 50000

51 instruments, opt-in

Pine export

python tools/emit_pine.py --symbol AAPL --interval 1d

one symbol

Verify Pine

python tools/verify_pine.py --symbol SPY --bars 2500

all 174 translations

MCP server

auto-configured into detected IDEs

on request

Keeping the monitor alive

run_monitor.sh (macOS/Linux) and run_monitor.bat (Windows) set PYTHONPATH and run the monitor detached from the shell that launched it. Both accept the same flags:

./run_monitor.sh --capital 50000 --currency INR --risk 1.0

It rewrites tv_active_chart.md and tv_active_chart.json at every bar close, and follows you automatically when you switch symbol or interval.

Monitoring cadence

Re-analysis is aligned to the close of the bar on your chart's interval — every minute on a 1m chart, every 15 minutes on 15m, daily on daily. Changing symbol or interval re-analyses immediately. Stale feeds (weekends, closed markets) are detected, labelled and backed off rather than re-reported as live.

Models read the last closed bar; re-running mid-bar re-reads a forming candle, so the signal flickers then settles. One stable reading per bar is what you act on.

When the feed goes stale — weekend, closed market, halted symbol — the monitor says so and switches to a fixed 10-minute re-check so it picks up the reopen promptly, rather than sitting on the interval's own cadence and going blind for a full day.

Data

Free public sources, tried in order: Binance (crypto) → Yahoo Finance → Stooq. Eleven intervals from 1-minute to monthly. Crypto, US and international equities, indices, forex, commodities.

TradingView is used only to observe which symbol and interval you are looking at — no TradingView data API is called, which is why the free plan suffices.

Confidence engine

Component

Weight

Question

Family diversity

20%

How many independent ideas agree

Conviction

18%

Signal strength

Agreement

18%

How one-sided the vote is

Concordance

14%

Do structurally opposed categories agree

Regime alignment

12%

Are agreeing models suited to conditions

Signal stability

8%

Persistent, or flipped on this bar

Data quality

6%

Coverage, depth, proxy share

Reward geometry

4%

Does the target clear transaction costs

Hard vetoes override any score: neutral consensus, agreement below 55%, fewer than 4 independent families, target move below 2× round-trip cost, turnover too thin to fill, or an inverted historical calibration on that instrument.

Empirical calibration measures what the score has actually been worth: it buckets past bars by signal strength and reports realised forward returns. Sometimes the answer is "has NOT reliably tracked forward returns here" — and that becomes a veto.

Position sizing

quantity = (capital × risk% × confidence_multiplier) ÷ (entry − stop)

Sizing from the stop distance holds risk constant across instruments. Then constrained by lot granularity (crypto fractional, whole shares, NIFTY 75 / BANKNIFTY 15, forex micro lots), exchange minimum order value, exposure cap, and available margin.

When a trade can't be taken it refuses with the exact remedy — "Tradeable at ₹638,545 capital or 6.39% risk per trade" — rather than silently falling back to a minimum position that would exceed your stated risk limit.

Pine Script export

All 174 price-only models export to Pine v6, plus a family-weighted consensus indicator. Every translation is checked against an independent re-implementation of Pine semantics — verified across equities, ETFs, gold and crypto on multiple intervals.

Models that cannot be faithfully translated (feed-dependent, or online training loops with no Pine equivalent) are not approximated; they're listed with the reason.

Documentation

File

Contents

EASY_SETUP_GUIDE.md

Non-technical install, start to finish

STRATEGY_CATALOG.md

All 358 models, citations, data requirements

PRD.md

Requirements and honest status

CONTEXT.md

Architecture — read before changing core/quant/

walkthrough.md

What was rebuilt and why



Agent desk (second opinion)

The engine's rule is that an LLM explains what the models found and never originates a signal. TauricResearch/TradingAgents is the opposite: a team of LLM agents — fundamentals, news, sentiment and technical analysts, then a bull/bear debate and a three-way risk review — argues its way to a BUY/SELL/HOLD.

Both hold at once, because the desk is wired as a second reader, not a voter:

Sets direction

never — compute_consensus is untouched

Changes the confidence score

never

Sizes a position

never — sizing stays with the calibrated engine

Disagrees with the models

adds a caution, which halves position size

Agrees

says so, changes nothing

Measured on AAPL daily: consensus BUY +0.166, score 57.1, grade C in every case; size ×0.325 with no desk, with an absent desk, and with an agreeing desk — and ×0.163 with a disagreeing one. Direction and score never moved.

Why include it at all. Every run reports ~142 of 358 models standing down for "missing data feed" — options chains, fundamentals, on-chain, news, sentiment. Those are exactly the inputs TradingAgents has. It is not a better price model; it reads a different part of the problem, and the one thing it is trusted to do is make you take less when it sees something the price series cannot show.

It runs in its own virtualenv, deliberately

tradingagents resolves pandas 3.0.5; this engine is 21 modules and 358 models on pandas 2.3.3, and pyproject.toml sets no upper bound — so a plain pip install silently upgrades pandas underneath the library. The install also pulls chainlit, redis, textual and ~40 opentelemetry instrumentation packages.

So the desk lives in .venv-agents/ and is reached over a subprocess with JSON on the wire. Each side keeps the dependency tree it wants; the cost is one process spawn per debate, which already takes minutes.

python tools/setup_agent_desk.py          # create the venv and install
python tools/setup_agent_desk.py --check  # status, changes nothing

It reuses whatever LLM provider is configured in Settings — including NVIDIA NIM, which tradingagents does not name but reaches as an OpenAI-compatible endpoint.

Cadence and cost

A debate is many model calls over several minutes, and this engine re-analyses at every bar close. So a verdict is cached per (ticker, trading date) and never started automatically — the Live Signal tab has a button. News and fundamentals do not change between two 1-minute bars, which is the resolution the debate actually reads at. Once run, every refresh that day reuses it, including the monitor.


Statistical significance

Every backtest reports a t-statistic beside its Sharpe:

t = annualised Sharpe x sqrt(years observed)

A Sharpe on its own says very little. 1,500 one-minute bars is six trading days, and over six days a Sharpe of 8 carries t ≈ 1.0 — indistinguishable from luck. The engine now says so instead of ranking it first.

The convention and the 1.96 threshold come from the replication catalogue in paperswithbacktest/awesome-systematic-trading, which publishes both figures for 1,687 replicated papers and notes plainly that half of them fail the bar. The identity was verified against all 61 of its published rows before being trusted here (largest deviation 0.12, pure rounding) — and is re-verified by tools/sync_replication_catalogue.py, which stores the table locally as JSON and warns if upstream ever changes convention.

python tools/sync_replication_catalogue.py            # refresh the catalogue
python tools/sync_replication_catalogue.py --compare  # scale against our library

What it changes

compare_strategies reports significant and significantly_losing next to the ranking, the Backtest Lab shows a t-stat column and warns when nothing clears the bar, and the performance report adds a caveat when the headline Sharpe is undetermined.

Measured on real data at the time of writing:

window

ranked

clear t ≥ 1.96

significantly losing

best t

SBIN 1m

0.015 yr

174

0

157

−0.01

AAPL 1d

5.95 yr

183

0

18

1.42

Not one model in the library clears significance on either instrument, and on the 1-minute chart 157 of 174 are significantly negative. That is the point of measuring it: the top row of a Sharpe-sorted table reads like a discovery, and usually is not.

For scale, across the catalogue's 61 published replications the best Sharpe is 3.39 and the median 1.06 — each measured over 16+ years. A model here reporting Sharpe 8 over six days is not four times better than the best replicated paper in the set.


Research reading (not a data feed)

A panel in Live Signal and a CLI for reading public news and pages about the instrument you are looking at, routed via Panniantong/Agent-Reach.

python tools/research.py --doctor            # what this machine can read
python tools/research.py                     # news for the open chart
python tools/research.py --url https://...   # read one public page

It deliberately does not feed the models, and cannot. Every voting model implements score(f) -> pd.Series over the whole frame — that historical path is what the backtester replays, what the confidence engine calibrates, and what earns a t-statistic. A web read returns what a page says now; there is no way to ask it what was being said on each of the previous 1,499 bars. A model fed this way could fill the last element of the series and nothing else, so it could never be backtested or clear the significance bar. Marking DataNeed.NEWS satisfied on that basis would flip ten sentiment models to "voting" while leaving them unverifiable — the exact failure the DataNeed enum exists to prevent.

A test asserts nothing under core/quant/ imports it, so the separation is enforced rather than promised. core/research.py sits outside the engine for the same reason.

Zero-configuration sources only

Agent-Reach tags each channel with a tier. Tier 0 needs no configuration; tier 1 and above work only through a personal logged-in session or exported cookies — its own notes say Reddit's anonymous API is blocked and only the logged-in route remains. Driving those from an unattended monitor would mean acting on your accounts against the platforms' terms, so the ceiling is enforced in code (MAX_TIER = 0), not left to a docstring.

channels

here

tier 0 — no config

web (Jina Reader), rss, github, youtube, v2ex, exa_search

used

tier 1+ — session or cookies

reddit, twitter, xueqiu, bilibili, xiaohongshu, instagram, facebook, linkedin

refused

Note on installing it. pip install agent-reach fetches a different project — PyPI's package of that name is jgalea/agent-reach, unrelated to this one. Install from source: pip install git+https://github.com/Panniantong/Agent-Reach.

If you want social data properly

The honest route is to record these readings forward into a dated archive and wait for history to accumulate — not to backfill from a live endpoint, whose results are ranked by today's engagement and silently omit whatever has since been deleted. That is survivorship bias baked into the input, and a backtest built on it would be worse than no backtest.

Credits

This project builds on atilaahmettaner/tradingview-mcp by Ahmet Taner Atila, which provides the MCP server, TradingView screener and scanner services, exchange symbol lists, and the news/sentiment integrations. Licensed MIT; the original copyright is preserved in LICENSE.

The core/quant/ engine — strategy library, consensus, confidence, sizing, backtester, Pine export and their verification — is added on top.

Category coverage for macro, rates, commodity carry and options income follows the family layout of alphakit.

The agent desk wraps TauricResearch/TradingAgents by Tauric Research, run unmodified in its own environment and consulted as a second opinion.

The Sharpe significance standard, and the replication figures used to calibrate against it, come from paperswithbacktest/awesome-systematic-trading.

Research reading is routed through Panniantong/Agent-Reach by Panniantong, restricted to its zero-configuration channels.

Licence

MIT — see LICENSE. Original work © 2025 Ahmet Taner Atila.


Not investment advice. Model output is research output. The backtester routinely shows most models failing to beat buy-and-hold, and the calibration check sometimes reports that a high score has been worth nothing on a given instrument. Those results are displayed, not hidden. Never risk money you cannot afford to lose.

Available Tools

38 tools
advanced_candle_patternB
Read-only

Advanced candle pattern analysis using multi-timeframe data.

Args: exchange: Exchange name (BINANCE, KUCOIN, etc.) base_timeframe: Base timeframe for analysis (5m, 15m, 1h, 4h) pattern_length: Number of consecutive periods to analyse (2-4) min_size_increase: Minimum percentage increase in candle size limit: Maximum number of results to return

Inputs: limit, exchange, base_timeframe, pattern_length, +1 more.

backtest_strategyA
Read-only

Backtest a trading strategy on historical data with institutional-grade metrics.

Args: symbol: Yahoo Finance symbol (AAPL, BTC-USD, THYAO.IS, ^GSPC) strategy: rsi | bollinger | macd | ema_cross | supertrend | donchian | rsi_pullback | keltner_breakout | triple_ema (rsi_pullback and triple_ema need period >= '1y' for SMA200 warmup) period: '1mo', '3mo', '6mo', '1y', '2y' initial_capital: Starting capital in USD (default $10,000) commission_pct: Per-trade commission % (default 0.1%) slippage_pct: Per-trade slippage % (default 0.05%) interval: '1d' (daily) or '1h' (hourly) include_trade_log: Include full per-trade log (default False) include_equity_curve: Include equity curve data points (default False)

Inputs: symbol (required), strategy (required), period, interval, +5 more.

bitcoin_market_pulseA
Read-only

Single-call BTC macro context: price, dominance, total market cap + risk assessment.

Use this WHENEVER analyzing any cryptocurrency (altcoin or BTC itself) to get the broader market frame in one shot. A SOL/ETH/whatever setup looks very different when BTC is dumping with rising dominance vs. when alts are leading. Calling this once gives Claude the macro context to provide Bitcoin-aware commentary alongside the per-coin analysis - without chaining 2-3 separate yahoo_price + manual reasoning calls.

Returns:

  • bitcoin: price, 24h change %, volume, market cap

  • dominance: BTC and ETH market-cap share of total crypto

  • total_market: total crypto mcap + 24h change + active coin count

  • assessment: label (HIGH_RISK / ALT_RISK / ALT_FAVORABLE / OPPORTUNITY_WITH_CAUTION / NEUTRAL) + 1-paragraph reasoning

Inputs: no named parameters.

bollinger_scanA
Read-only

Scan for assets with low Bollinger Band Width (squeeze detection). Works with crypto and stocks.

This scans a whole EXCHANGE for squeezes (canonical name is exactly bollinger_scan; there is no "get_bollinger_band_analysis" tool). For the Bollinger read of ONE symbol, call coin_analysis instead.

Example: bollinger_scan(exchange="BINANCE", timeframe="15m", bbw_threshold=0.008)

Args: exchange: Exchange — crypto: KUCOIN, BINANCE, BYBIT, MEXC; stocks: EGX, BIST, NASDAQ, NYSE, BURSA, HKEX, SSE, SZSE, TWSE, TPEX timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M. Typical squeeze thresholds: 15m→0.008, 1h→0.02, 4h→0.04, 1D→0.12 bbw_threshold: Maximum BBW value to filter (default 0.04) limit: Number of rows to return (max 100)

Returns list[dict] on success. On ANY failure returns a structured error envelope {"error": {"code": ..., "retryable": ...}}.

Inputs: limit, exchange, timeframe, bbw_threshold. Returns: result

coin_analysisA
Read-only

Get detailed analysis for a specific asset (coin or stock) on specified exchange and timeframe.

This is the canonical single-symbol technical readout (there is no "get_technical_analysis" or "get_technical_summary" tool — use THIS one). Use multi_timeframe_analysis instead when you need trend alignment across several timeframes, and combined_analysis when you also want news sentiment + headlines in the same call.

Example: coin_analysis(symbol="BTCUSDT", exchange="BINANCE", timeframe="1h")

Args: symbol: Bare ticker, no exchange prefix — crypto: "BTCUSDT", "ETHUSDT"; stocks: "COMI" (EGX), "THYAO" (BIST), "600519" (SSE), "300251" (SZSE), "2330" (TWSE), "3105" (TPEX) exchange: Exchange — crypto: KUCOIN, BINANCE, MEXC; stocks: EGX, BIST, NASDAQ, NYSE, BURSA, HKEX, SSE, SZSE, TWSE, TPEX. If the symbol isn't listed there, the error's listed_on field names exchanges that do list it. timeframe: Time interval (5m, 15m, 1h, 4h, 1D, 1W, 1M)

Returns: Detailed analysis with all indicators and metrics

Inputs: symbol (required), exchange, timeframe.

combined_analysisA
Read-only

POWER TOOL: TradingView technical analysis + news sentiment + financial news.

Use this when you want TA AND sentiment AND news for one symbol in a single call. For indicators only, coin_analysis is faster; for cross-timeframe trend alignment use multi_timeframe_analysis.

Example: combined_analysis(symbol="NVDA", exchange="NASDAQ", timeframe="1D")

Args: symbol: Bare ticker, no exchange prefix ("AAPL", "BTCUSDT", "THYAO", "GDX") exchange: Exchange (NASDAQ, NYSE, AMEX, NYSEARCA, PCX, BINANCE, KUCOIN, MEXC, BIST, EGX, TWSE, TPEX) timeframe: Analysis timeframe (5m, 15m, 1h, 4h, 1D, 1W)

Inputs: symbol (required), exchange, timeframe.

compare_strategiesA
Read-only

Run all 9 strategies (RSI, Bollinger, MACD, EMA Cross, Supertrend, Donchian, RSI Pullback, Keltner Breakout, Triple EMA) and return a ranked leaderboard.

Args: symbol: Yahoo Finance symbol (AAPL, BTC-USD, SPY…) period: '1mo', '3mo', '6mo', '1y', '2y' (period >= '1y' recommended so rsi_pullback and triple_ema can complete SMA200 warmup; otherwise they contribute zero trades) initial_capital: Starting capital in USD (default $10,000) interval: '1d' (daily) or '1h' (hourly)

Inputs: symbol (required), period, interval, initial_capital.

consecutive_candles_scanB
Read-only

Scan for coins with consecutive growing/shrinking candles pattern.

Args: exchange: Exchange name (BINANCE, KUCOIN, etc.) timeframe: Time interval (5m, 15m, 1h, 4h) pattern_type: "bullish" (growing candles) or "bearish" (shrinking candles) candle_count: Number of consecutive candles to check (2-5) min_growth: Minimum growth percentage for each candle limit: Maximum number of results to return

Inputs: limit, exchange, timeframe, min_growth, +2 more.

egx_fibonacci_retracementA
Read-only

Fibonacci retracement analysis for EGX stocks.

Args: symbol: EGX stock symbol (e.g., "COMI", "TMGH", "FWRY") lookback: Period for swing high/low — "1M", "3M", "6M", "52W", "ALL" (default 52W) timeframe: Analysis timeframe (5m, 15m, 1h, 4h, 1D, 1W, 1M — default 1D)

Inputs: symbol (required), lookback, timeframe.

egx_index_analysisA
Read-only

Analyse an EGX index showing constituent performance with full indicators.

Args: index: EGX30, EGX70, EGX100, SHARIAH33, EGX35LV, TAMAYUZ timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D) limit: Number of stocks to show in detail (max 100)

Inputs: index, limit, timeframe.

egx_market_overviewB
Read-only

Get a comprehensive overview of the Egyptian Exchange (EGX) market.

Args: timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D for stocks) limit: Number of stocks per category (max 20)

Inputs: limit, timeframe.

egx_sector_scanA
Read-only

Scan EGX stocks by sector. Shows available sectors if none specified.

Args: sector: Sector name (banks, healthcare_and_pharma, real_estate, etc.) Leave empty to list all sectors. timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M limit: Max results per sector (max 50)

Inputs: limit, sector, timeframe.

egx_sector_scannerA
Read-only

Sector rotation scanner for EGX — identifies hot/cold sectors and top picks.

Args: timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D) top_n_sectors: Number of top sectors to show stock picks for (1-18, default 5) top_n_stocks: Number of top stocks per highlighted sector (1-10, default 3) min_stock_score: Minimum stock score for picks (0-100, default 60)

Inputs: timeframe, top_n_stocks, top_n_sectors, min_stock_score.

egx_stock_screenerA
Read-only

Production stock ranking engine for EGX — finds strong stocks with actionable setups.

Args: timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D) min_score: Minimum stock score to include (0-100, default 55) index_filter: Filter by index — EGX30, EGX70, EGX100, SHARIAH33, EGX35LV, TAMAYUZ limit: Number of results (max 50)

Inputs: limit, min_score, timeframe, index_filter.

egx_trade_planA
Read-only

Generate a full trade plan for a specific EGX stock.

Args: symbol: EGX stock symbol (e.g., "COMI", "TMGH", "FWRY") timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M (default 1D)

Inputs: symbol (required), timeframe.

financial_newsB
Read-only

Real-time financial news via Marketaux (licensed).

Args: symbol: Optional symbol filter ("AAPL", "BTC"). None = all news. category: News category ("crypto", "stocks", "all") limit: Max number of news items

Inputs: limit, symbol, category.

futures_category_snapshotB
Read-only

Quote all major front-month contracts in a specific futures category.

Args: category: equity_index | energy | metals | agriculture | rates | forex | crypto_futures

Returns: OHLCV quotes for the standard watchlist of contracts in that category. Example symbols: ES1! NQ1! (equity_index), CL1! NG1! (energy), GC1! SI1! (metals).

Inputs: category.

futures_market_overviewA
Read-only

Top futures contracts sorted by trading volume.

Args: category: all | equity_index | energy | metals | agriculture | rates | forex | crypto_futures exchanges: us (CME, COMEX, NYMEX, CBOT) | global (adds ICE, EUREX) limit: max contracts to return (default 30) volume_min: minimum volume filter (0 = no filter)

Returns: Dict with total_available count and list of contracts with OHLCV + % change.

Inputs: limit, category, exchanges, volume_min.

futures_top_moversA
Read-only

Futures contracts with the biggest percentage moves today.

Args: direction: gainers | losers exchanges: us | global limit: max results volume_min: minimum volume filter (default 10, filters illiquid contracts)

Returns: List of futures ranked by % change with OHLCV data.

Inputs: limit, direction, exchanges, volume_min.

futures_watchlistA
Read-only

Return the full categorized list of well-known front-month futures symbols.

Categories: equity_index, energy, metals, agriculture, rates, forex, crypto_futures. Use these symbols with futures_category_snapshot or coin_analysis for deeper analysis.

Inputs: no named parameters.

get_active_chart_recommendationA
Read-only

Detects the active TradingView chart open in the browser and returns a live trade recommendation.

This tool queries the Chrome/Edge remote debugging session on port 9222 to read the active chart symbol, exchange, and timeframe, then runs a strategy backtest and technical analysis to return a tailored trade setup.

Inputs: no named parameters.

market_sentimentA
Read-only

News sentiment for stocks and crypto (licensed Marketaux entity sentiment).

Args: symbol: Asset symbol ("AAPL", "BTC", "ETH", "TSLA") category: News group to search ("crypto", "stocks", "all") limit: Max articles to analyse

Inputs: symbol (required), limit, category.

market_snapshotB
Read-only

Global market overview: major indices, top crypto, FX rates, and key ETFs. Powered by Yahoo Finance.

Inputs: no named parameters.

multi_agent_analysisA
Read-only

Run a multi-agent debate (Technical, Sentiment, Risk) for a specific symbol.

Args: symbol: Symbol — crypto: "BTCUSDT"; stocks: "COMI" (EGX), "THYAO" (BIST), "600519" (SSE), "300251" (SZSE), "2330" (TWSE), "3105" (TPEX), "GDX" (AMEX) exchange: Exchange — crypto: KUCOIN, BINANCE, MEXC; stocks: EGX, BIST, NASDAQ, NYSE, AMEX, NYSEARCA, PCX, SSE, SZSE, TWSE, TPEX timeframe: Time interval (5m, 15m, 1h, 4h, 1D, 1W)

Returns: A structured debate between 3 AI agents culminating in a final trading decision.

Inputs: symbol (required), exchange, timeframe.

multi_timeframe_analysisA
Read-only

Multi-timeframe alignment analysis (Weekly → Daily → 4H → 1H → 15m).

Canonical name is exactly multi_timeframe_analysis (there is no "get_multi_timeframe_analysis" tool). Use this for cross-timeframe trend alignment on ONE symbol; for a single-timeframe deep dive use coin_analysis; for TA + sentiment + news use combined_analysis.

Example: multi_timeframe_analysis(symbol="SOLUSDT", exchange="BINANCE")

Args: symbol: Bare ticker, no exchange prefix — crypto: "BTCUSDT"; stocks: "COMI" (EGX), "THYAO" (BIST), "600519" (SSE), "300251" (SZSE), "2330" (TWSE), "3105" (TPEX), "GDX" (AMEX) exchange: Exchange — crypto: KUCOIN, BINANCE, MEXC; stocks: EGX, BIST, NASDAQ, NYSE, AMEX, NYSEARCA, PCX, SSE, SZSE, TWSE, TPEX

Inputs: symbol (required), exchange.

rating_filterA
Read-only

Filter coins by Bollinger Band rating.

Args: exchange: Exchange name like KUCOIN, BINANCE, BYBIT, MEXC, etc. timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M rating: BB rating (-3 to +3): -3=Strong Sell, -2=Sell, -1=Weak Sell, 1=Weak Buy, 2=Buy, 3=Strong Buy limit: Number of rows to return (max 50)

Returns list[dict] on success. On ANY failure returns a structured error envelope {"error": {"code": ..., "retryable": ...}}.

Inputs: limit, rating, exchange, timeframe. Returns: result

smart_volume_scannerA
Read-only

Smart volume + technical analysis combination scanner.

Args: exchange: Exchange name min_volume_ratio: Minimum volume multiplier (default 2.0) min_price_change: Minimum price change percentage (default 2.0) rsi_range: "oversold" (<30), "overbought" (>70), "neutral" (30-70), "any" limit: Number of results (max 30)

Returns list[dict] on success. On ANY failure returns a structured error envelope {"error": {"code": ..., "retryable": ...}}.

Inputs: limit, exchange, rsi_range, min_price_change, +1 more. Returns: result

stock_extended_hoursA
Read-only

Real-time pre-market and after-hours prices for a US stock symbol.

Use this when the user asks about a stock outside the regular 9:30am-4pm ET session — earnings reactions, overnight news, "what is X doing in after-hours?", "how did Y open in pre-market?". Returns the most recent valid print from each session window (pre-market, regular, post-market) along with computed % changes vs. the previous close and the regular close, respectively.

During the regular session, post_market will be null (no data yet). On weekends/holidays, returns whatever's most recent in each window.

Args: symbol: US stock symbol — AAPL, NVDA, TSLA, SPY, ^GSPC, etc.

Returns: - pre_market: {price, as_of_utc, change_vs_previous_close_pct} or null - regular: {price, as_of_utc, change_pct} (consolidated tape close) - post_market: {price, as_of_utc, change_vs_regular_close_pct} or null - previous_close, currency, exchange, market_state for context

Inputs: symbol (required).

stock_options_chainA
Read-only

Full options chain (calls + puts) for a US stock symbol and one expiry.

Use this when the user asks "what's the options chain for X?", "show me AAPL puts expiring next Friday", or wants to inspect bid/ask/IV/volume on a specific strike. If no expiry is provided, returns the nearest expiry so Claude can quote it back and ask "want a different one?".

Args: symbol: US stock symbol — AAPL, NVDA, TSLA, SPY, etc. expiry: Optional ISO date (YYYY-MM-DD). Must match one of the available_expiries Yahoo returns; otherwise returns an error with the list of valid dates.

Returns: - underlying_price, underlying_change_pct - requested_expiry, available_expiries (list of YYYY-MM-DD) - call_count, put_count - calls: list of {strike, last_price, bid, ask, volume, open_interest, implied_volatility, in_the_money, expiration} - puts: same shape as calls

Inputs: symbol (required), expiry.

stock_options_unusual_activityA
Read-only

Top strikes by volume / open-interest ratio — institutional positioning signal.

Use this when the user asks "any unusual options activity on X?", "where is the smart money positioned on NVDA before earnings?", or wants a V/OI screener for a ticker. A V/OI ratio > 1 means today's volume already exceeds standing open interest, which classically flags fresh institutional positioning on a specific strike in a specific direction (call vs put).

Scans the soonest few expirations, filters out illiquid strikes (under min_volume), and returns the top-N sorted by V/OI descending. Also returns aggregate call vs put volume so Claude can comment on the overall directional bias.

Args: symbol: US stock symbol — AAPL, NVDA, TSLA, SPY, META, etc. top_n: How many strikes to return. Default 10. min_volume: Filter floor for today's volume — prevents noise from illiquid strikes with high V/OI ratios. Default 100. expiries: Number of soonest expirations to scan. Default 4 (typically covers ~1 month of weeklies + monthlies).

Returns: - underlying_price - expiries_scanned (list of YYYY-MM-DD) - total_call_volume, total_put_volume, put_call_volume_ratio - unusual: list of top-N contracts sorted by V/OI desc, each with {strike, side (call|put), expiration, volume, open_interest, v_oi_ratio, last_price, implied_volatility, in_the_money, strike_vs_spot_pct (moneyness)}

Inputs: symbol (required), top_n, expiries, min_volume.

stock_pricesA
Read-only

Current price + daily % change for specific stock symbols.

Args: tickers: comma-separated EXCHANGE:SYMBOL list (max 2000 — one upstream request even at full size), e.g. "NASDAQ:NVDA, NASDAQ:TSLA, KRX:005930". The exchange prefix is required — the scanner's direct-ticker lookup is exchange-scoped.

Returns: Envelope dict: rows of {ticker, symbol, description, exchange, price, open, high, low, currency, change_percent} plus a not_found list naming any requested ticker the scanner didn't recognize.

Inputs: tickers (required).

stock_screenerA
Read-only

Screen stocks by share type — the API twin of TradingView's "Common stock" / "Preferred stock" symbol-search filter.

Args: country: TradingView market name — e.g. america, korea, germany, brazil, japan, uk, india, turkey, canada, australia, france, hongkong stock_type: common | preferred limit: rows to return (max 2000, single upstream request), ranked by market cap descending exclude_otc: default True — drop OTC listings (foreign companies traded over-the-counter); "america" otherwise means "US venue", not "US company" compact: default False — True returns only ticker/symbol/price/currency/ change_percent per row (light payload for bulk price feeds) sort_by: market_cap (default) | dividend_yield | change | price — server-side descending sort over the WHOLE market, so e.g. sort_by=dividend_yield with limit=20 is the market's true top-20 dividend payers, not just the biggest companies re-sorted

Returns: Envelope dict: total_matches (market-wide count), returned, and rows of {ticker, symbol, description, exchange, price, open, high, low, currency, change_percent, dividend_yield, market_cap} — price is the current/last close; open/high/low are the current session's daily bar. Prices are in the market's local currency (e.g. KRW for korea).

Inputs: limit, compact, country, sort_by, +2 more.

top_gainersA
Read-only

Return top gainers for an exchange and timeframe using Bollinger Band analysis.

Args: exchange: Exchange name — crypto: KUCOIN, BINANCE, BYBIT, MEXC; stocks: EGX, BIST, NASDAQ, NYSE, BURSA, HKEX, SSE, SZSE, TWSE, TPEX timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M limit: Number of rows to return (max 50)

Returns: list[dict] on success. On ANY failure returns a structured error envelope {"error": {"code": ..., "retryable": ...}} — never a raw exception string.

Inputs: limit, exchange, timeframe. Returns: result

top_losersA
Read-only

Return top losers for an exchange and timeframe. Supports crypto (KUCOIN, BINANCE, MEXC) and stocks (EGX, BIST, NASDAQ).

Returns list[dict] on success. On ANY failure returns a structured error envelope {"error": {"code": ..., "retryable": ...}}.

Inputs: limit, exchange, timeframe. Returns: result

volume_breakout_scannerA
Read-only

Detect coins with volume breakout + price breakout.

Args: exchange: Exchange name like KUCOIN, BINANCE, BYBIT, MEXC, etc. timeframe: One of 5m, 15m, 1h, 4h, 1D, 1W, 1M volume_multiplier: How many times the volume should be above normal level (default 2.0) price_change_min: Minimum price change percentage (default 3.0) limit: Number of rows to return (max 50)

Returns list[dict] on success, or an error envelope on total upstream failure ({"error": {"code": "ALL_BATCHES_FAILED", ...}}). The empty list now strictly means "no matches today"; rate-limit cliffs surface explicitly.

Inputs: limit, exchange, timeframe, price_change_min, +1 more. Returns: result

volume_confirmation_analysisB
Read-only

Detailed volume confirmation analysis for a specific coin.

Args: symbol: Coin symbol (e.g., BTCUSDT) exchange: Exchange name timeframe: Time frame for analysis

Inputs: symbol (required), exchange, timeframe.

walk_forward_backtest_strategyA
Read-only

Walk-forward backtest to detect overfitting — validates strategy on unseen data.

Args: symbol: Yahoo Finance symbol (AAPL, BTC-USD, SPY…) strategy: rsi | bollinger | macd | ema_cross | supertrend | donchian | keltner_breakout (rsi_pullback and triple_ema not supported here — SMA200 warmup exceeds typical fold size; use run_backtest with period='2y') period: '1mo', '3mo', '6mo', '1y', '2y' (recommend '2y') initial_capital: Starting capital per fold in USD (default $10,000) commission_pct: Per-trade commission % (default 0.1%) slippage_pct: Per-trade slippage % (default 0.05%) n_splits: Number of walk-forward folds (default 3, max 10) train_ratio: Fraction of each fold used for training (default 0.7) interval: '1d' (daily) or '1h' (hourly)

Inputs: symbol (required), strategy (required), period, interval, +5 more.

yahoo_priceA
Read-only

Real-time price quote from Yahoo Finance for any stock, crypto, ETF or index.

Args: symbol: Yahoo Finance symbol — e.g. AAPL, BTC-USD, SPY, ^GSPC, EURUSD=X, THYAO.IS

Inputs: symbol (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 38 tools

    Disambiguation3/5

    Several tools overlap in purpose (e.g., egx_sector_scan vs egx_sector_scanner, bollinger_scan vs rating_filter, multiple volume/candle scanners, and several analysis variants like coin_analysis, multi_timeframe_analysis, combined_analysis, multi_agent_analysis). Descriptions offer explicit cross-references and clarify the intended use for many pairs, but boundaries remain fuzzy for a large set. An agent could still misselect without careful reading.

    Naming Consistency3/5

    All names use snake_case, but the pattern is not fully predictable: some are prefixed by domain (egx_, futures_, stock_), others are generic, and suffixes vary (scan, scanner, screener, analysis). A single get_ prefix appears, and near-duplicate names like egx_sector_scan and egx_sector_scanner break consistency. Still readable overall.

    Tool Count2/5

    38 tools is excessive for a single server, exceeding the 25+ threshold and risking tool overload. While the broad trading domain (crypto, stocks, EGX, futures, options, news, backtesting) explains some breadth, many tools are overlapping scanners or analysis variants that could be consolidated. The count makes selection unnecessarily difficult.

    Completeness4/5

    Coverage spans technical indicators, screeners, news sentiment, backtesting, options, futures, and market overviews, forming a broad trading analysis toolkit. Some gaps exist (e.g., dedicated historical OHLCV retrieval, portfolio/watchlist management), but core workflows appear well supported. Minor missing operations are workaroundable.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides advanced cryptocurrency and stock market analysis using TradingView data with real-time screening, technical indicators, and pattern recognition. Supports multiple exchanges and markets for comprehensive trading intelligence through natural language queries.
      10
      3
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables quantitative trading analysis with 12 tools for real-time market data, 28+ technical indicators, FinBERT-powered news sentiment analysis, and automated trading signal generation for stocks and forex.
      1
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI co-pilots to interact with TradingView charts, manage alerts via REST API, automate morning briefs with custom trading rules, and perform real-time market analysis.
      -