tradingview-mcp-server

v0.7.2
tradingview-mcp-server Checked 2 days ago Published 1 month ago

Unofficial MCP server and CLI for TradingView stock screener API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

screen_stocks

Screen stocks based on fundamental and technical criteria. Returns stocks matching the specified filters.

ParameterTypeDescription
columnsarrayOptional: specific columns to include in results. If not provided, uses minimal default columns. Presets may define extended column sets.
filtersarrayArray of filter conditions to apply
limitnumberNumber of results to return (1-200). Default: 20
marketsarrayMarkets to scan. Valid values: america, uk, germany, france, italy, spain, sweden, norway, denmark, finland, brazil, india, japan, hongkong, china, australia, canada, turkey, uae, and 30+ more. Defaul…
sort_bystringField to sort results by. Default: 'market_cap_basic'
sort_orderstringSort order. Default: 'desc'

list_fields

List available fields for filtering and display. Use this to discover what fields you can filter and sort by.

ParameterTypeDescription
asset_typestringType of asset. Default: 'stock'
categorystringFilter fields by category. If omitted, returns all categories

get_preset

Get a pre-configured screening strategy. Returns filter configuration for the strategy. Available presets: - quality_stocks: High-quality low-volatility stocks (conservative) - value_stocks: Undervalued stocks with low P/E and P/B - dividend_stocks: High dividend yield with consistent payout - momentum_stocks: Strong recent performance and technical momentum - growth_stocks: High-growth companies with expanding revenue/earnings - quality_growth_screener: Comprehensive quality+growth screen with technical filters - market_indexes: Global market indexes for regime analysis (use lookup_symbols)

ParameterTypeDescription
preset_name *stringKey of preset to retrieve. See tool description for available keys.

list_presets

List all available preset screening strategies. Returns key, name, and description for each preset. Use the key with get_preset.

screen_forex

Screen forex pairs based on technical criteria. Returns forex pairs matching the specified filters.

ParameterTypeDescription
columnsarrayOptional: specific columns to include in results. If not provided, uses default columns.
filtersarrayArray of filter conditions to apply
limitnumberNumber of results to return (1-200). Default: 20
sort_bystringField to sort results by. Default: 'volume'
sort_orderstringSort order. Default: 'desc'

screen_crypto

Screen cryptocurrencies based on technical and market criteria. Returns cryptocurrencies matching the specified filters.

ParameterTypeDescription
columnsarrayOptional: specific columns to include in results. If not provided, uses default columns.
filtersarrayArray of filter conditions to apply
limitnumberNumber of results to return (1-200). Default: 20
sort_bystringField to sort results by. Default: 'market_cap_basic'
sort_orderstringSort order. Default: 'desc'

screen_etf

Screen ETFs (Exchange-Traded Funds) based on performance and technical criteria. Returns ETFs matching the specified filters.

ParameterTypeDescription
columnsarrayOptional: specific columns to include in results. If not provided, uses minimal default columns.
filtersarrayArray of filter conditions to apply
limitnumberNumber of results to return (1-200). Default: 20
marketsarrayMarkets to scan. Valid values: america, uk, germany, france, italy, spain, sweden, norway, denmark, finland, brazil, india, japan, hongkong, china, australia, canada, turkey, uae, and 30+ more. Defaul…
sort_bystringField to sort results by. Default: 'market_cap_basic'
sort_orderstringSort order. Default: 'desc'

lookup_symbols

Look up specific symbols (stocks, indexes, ETFs) by ticker. Use this for direct symbol lookup including market indexes like TVC:SPX, TVC:DJI, OMXSTO:OMXS30 that cannot be found via screening. Returns comprehensive data including ATH, 52-week highs/lows.

ParameterTypeDescription
symbols *arrayArray of ticker symbols (e.g., ['TVC:SPX', 'NASDAQ:AAPL', 'OMXSTO:OMXS30']). Maximum 100 symbols.
columnsarrayOptional: specific columns to include. Default: name, close, change, volume, market_cap_basic, all_time_high, all_time_low, price_52_week_high, price_52_week_low.

search_symbols

Search for TradingView symbols by name, ticker, or description. Discover exact symbol identifiers for stocks, forex, crypto, and more. Use this before screening when you need to find the correct symbol format.

ParameterTypeDescription
query *stringSearch query (e.g., 'apple', 'bitcoin', ' ethereum')
asset_typestringFilter by asset type
exchangestringFilter by exchange (e.g., 'NASDAQ', 'NYSE')
limitnumberMaximum results to return (1-50, default: 20)
startnumberOffset for pagination (default: 0)

get_market_metainfo

Get metadata about a TradingView market screener, including available fields and their types. Useful for discovering what fields can be used in screening queries.

ParameterTypeDescription
market *stringMarket to get metainfo for (e.g., 'america', 'uk', 'germany', 'france')
fieldsarrayOptional: specific field names to look up. If omitted, returns all available fields.
modestringOutput mode: 'summary' for normalized output (default), 'raw' for passthrough.

get_ta_summary

Get TradingView-style technical analysis summary for one or more symbols across multiple timeframes. Returns buy/sell/neutral labels and recommendation scores based on oscillators and moving averages.

ParameterTypeDescription
symbols *arrayArray of ticker symbols (e.g., ['NASDAQ:AAPL', 'NASDAQ:NVDA']). Maximum 50 symbols.
include_componentsbooleanInclude oscillator and moving average scores breakdown (default: true)
timeframesarrayTimeframes for TA analysis. Valid: '1', '3', '5', '15', '30', '45', '60', '120', '180', '240', '1D', '1W', '1M'. Default: ['60', '240', '1D', '1W']

rank_by_ta

Rank symbols by weighted technical analysis scores across timeframes. Useful for comparing which symbols have the strongest overall TA signals.

ParameterTypeDescription
symbols *arrayArray of ticker symbols to rank (e.g., ['NASDAQ:AAPL', 'NASDAQ:MSFT', 'NASDAQ:NVDA']). Maximum 50.
timeframesarrayTimeframes for TA analysis (default: ['60', '240', '1D', '1W'])
weightsobjectPer-timeframe weights for ranking. Unspecified timeframes default to weight 1. Example: {"1D": 3, "1W": 2}