tradingview-mcp-server
v0.7.2Unofficial 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.
| Parameter | Type | Description |
|---|---|---|
columns | array | Optional: specific columns to include in results. If not provided, uses minimal default columns. Presets may define extended column sets. |
filters | array | Array of filter conditions to apply |
limit | number | Number of results to return (1-200). Default: 20 |
markets | array | Markets 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_by | string | Field to sort results by. Default: 'market_cap_basic' |
sort_order | string | Sort order. Default: 'desc' |
list_fields
List available fields for filtering and display. Use this to discover what fields you can filter and sort by.
| Parameter | Type | Description |
|---|---|---|
asset_type | string | Type of asset. Default: 'stock' |
category | string | Filter 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)
| Parameter | Type | Description |
|---|---|---|
preset_name * | string | Key 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.
| Parameter | Type | Description |
|---|---|---|
columns | array | Optional: specific columns to include in results. If not provided, uses default columns. |
filters | array | Array of filter conditions to apply |
limit | number | Number of results to return (1-200). Default: 20 |
sort_by | string | Field to sort results by. Default: 'volume' |
sort_order | string | Sort order. Default: 'desc' |
screen_crypto
Screen cryptocurrencies based on technical and market criteria. Returns cryptocurrencies matching the specified filters.
| Parameter | Type | Description |
|---|---|---|
columns | array | Optional: specific columns to include in results. If not provided, uses default columns. |
filters | array | Array of filter conditions to apply |
limit | number | Number of results to return (1-200). Default: 20 |
sort_by | string | Field to sort results by. Default: 'market_cap_basic' |
sort_order | string | Sort order. Default: 'desc' |
screen_etf
Screen ETFs (Exchange-Traded Funds) based on performance and technical criteria. Returns ETFs matching the specified filters.
| Parameter | Type | Description |
|---|---|---|
columns | array | Optional: specific columns to include in results. If not provided, uses minimal default columns. |
filters | array | Array of filter conditions to apply |
limit | number | Number of results to return (1-200). Default: 20 |
markets | array | Markets 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_by | string | Field to sort results by. Default: 'market_cap_basic' |
sort_order | string | Sort 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.
| Parameter | Type | Description |
|---|---|---|
symbols * | array | Array of ticker symbols (e.g., ['TVC:SPX', 'NASDAQ:AAPL', 'OMXSTO:OMXS30']). Maximum 100 symbols. |
columns | array | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (e.g., 'apple', 'bitcoin', ' ethereum') |
asset_type | string | Filter by asset type |
exchange | string | Filter by exchange (e.g., 'NASDAQ', 'NYSE') |
limit | number | Maximum results to return (1-50, default: 20) |
start | number | Offset 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.
| Parameter | Type | Description |
|---|---|---|
market * | string | Market to get metainfo for (e.g., 'america', 'uk', 'germany', 'france') |
fields | array | Optional: specific field names to look up. If omitted, returns all available fields. |
mode | string | Output 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.
| Parameter | Type | Description |
|---|---|---|
symbols * | array | Array of ticker symbols (e.g., ['NASDAQ:AAPL', 'NASDAQ:NVDA']). Maximum 50 symbols. |
include_components | boolean | Include oscillator and moving average scores breakdown (default: true) |
timeframes | array | Timeframes 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.
| Parameter | Type | Description |
|---|---|---|
symbols * | array | Array of ticker symbols to rank (e.g., ['NASDAQ:AAPL', 'NASDAQ:MSFT', 'NASDAQ:NVDA']). Maximum 50. |
timeframes | array | Timeframes for TA analysis (default: ['60', '240', '1D', '1W']) |
weights | object | Per-timeframe weights for ranking. Unspecified timeframes default to weight 1. Example: {"1D": 3, "1W": 2} |