Skip to main content
Glama
S4consultoria

TradingView MCP Server

TradingView MCP Server (núcleo)

Servidor MCP construido desde cero que expone datos de TradingView vía librerías no oficiales (tradingview-ta, tvDatafeed). Sigue el mismo patrón de despliegue que el servidor MCP de Alpaca: Streamable HTTP montado en /mcp, listo para Render.

Herramientas expuestas

  • get_quote_and_rating(symbol, exchange, screener, interval) — cotización actual + rating técnico (Comprar/Vender/Neutral) + indicadores (RSI, MACD, medias móviles, etc.)

  • get_historical_data(symbol, exchange, interval, n_bars) — velas OHLCV históricas.

  • screen_market(symbols, exchange, screener, interval) — compara el rating técnico de varios símbolos a la vez.

Related MCP server: tradingview-mcp

Variables de entorno (opcionales)

  • TV_USERNAME / TV_PASSWORD: credenciales de TradingView para tvDatafeed. Sin ellas funciona en modo anónimo (con más límites).

  • PORT: puerto HTTP (Render lo inyecta automáticamente).

Correr localmente

pip install -r requirements.txt
python server.py

El servidor queda escuchando en http://localhost:8000/mcp.

Desplegar en Render

  1. Sube esta carpeta a un repo de GitHub.

  2. En Render: New → Web Service → conecta el repo.

  3. Render detecta render.yaml automáticamente (Build: pip install -r requirements.txt, Start: python server.py).

  4. (Opcional) configura TV_USERNAME / TV_PASSWORD en Environment.

  5. Una vez desplegado, la URL del conector para Claude.ai es: https://<tu-servicio>.onrender.com/mcp

Importante — limitaciones a tener en cuenta

TradingView no tiene una API pública oficial. Este servidor usa librerías no oficiales que dependen de endpoints internos y pueden romperse sin aviso si TradingView cambia su plataforma. Está pensado como núcleo funcional (cotizaciones, ratings, histórico, screener manual); funciones como alertas nativas, Pine Script o dibujos técnicos de tu cuenta no están cubiertas — requerirían ingeniería inversa adicional del WebSocket privado de TradingView.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    C
    maintenance
    An MCP server providing Model-usable tools to fetch real-time quotes, historical price charts, fundamental datasets, SEC filings, economic/earnings calendars, option chains, and corporate bond data from TradingView.
    21
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server that lets AI assistants interact with TradingView for real-time quotes, historical OHLCV data, screener, alerts, watchlists, news, chart layouts, Pine scripts, and more. Connect it to Claude Desktop, Cursor, or any MCP-compatible client to control TradingView via natural language.
    81
    5
    -
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for TradingView's market screener API, enabling stock, forex, crypto, and ETF screening, technical analysis, and investor workflows via Claude or CLI.
    12
    675
    50
    MIT
  • F
    license
    B
    quality
    C
    maintenance
    A TradingView-style market research and charting MCP server that provides tools for market data, indicators, watchlists, and local HTML chart rendering without scraping TradingView.
    9
    -

Latest Blog Posts

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/S4consultoria/tradingview-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server