TradingView MCP server for AI agents

Let Claude, ChatGPT or your own agent read TradingView: 14 typed functions through one MCP server. No TradingView API key needed.

Functions
14
Sign-in
Not needed
Works with
MCP, HTTP, Node, Python

Connect

Just TradingView

An MCP server for TradingView alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.

https://api.bowmark.ai/mcp/site/tradingview
Every site

One MCP server for TradingView and every other site Bowmark covers. Your agent looks up what it needs and calls it.

https://api.bowmark.ai/mcp
Set it up in your client

Both need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.

Functions

Open a function to see its arguments, what it returns and how to call it.

Read 14
  • getChartDataGet historical candlestick/OHLCV data for charting.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes
    options{ interval?: "1" | "3" | "5" | "15" | "30" | "45" | "60" | "120" | "180" | "240" | "D" | "W" | "M", bars?: number }No

    Returns ChartData

    interface ChartBar {
      time: number;
      open?: number;
      high?: number;
      low?: number;
      close?: number;
      volume?: number;
    }
    
    interface ChartData {
      symbol: string;
      exchange: string;
      interval: "1" | "3" | "5" | "15" | "30" | "45" | "60" | "120" | "180" | "240" | "D" | "W" | "M";
      bars: ChartBar[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getChartData

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getChartData("NASDAQ", "AAPL");
  • getCompanyInfoGet fundamental information about a company: description, sector, market cap, employees.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes

    Returns CompanyInfo

    interface CompanyInfo {
      symbol: string;
      exchange: string;
      name: string;
      description: string;
      type: string;
      sector?: string;
      industry?: string;
      marketCap?: number;
      peRatio?: number;
      dividendYield?: number;
      analystRecommendation?: number;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getCompanyInfo

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getCompanyInfo("NASDAQ", "AAPL");
  • getDividendsGet dividend history and yield information for a symbol.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes

    Returns Dividends

    interface Dividends {
      symbol: string;
      exchange: string;
      amountRecent?: number;
      exDateRecent?: number;
      paymentDateRecent?: number;
      yieldCurrent?: number;
      payoutRatioTtm?: number;
      consecutiveYearsPaid?: number;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getDividends

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getDividends("NASDAQ", "AAPL");
  • getEarningsGet earnings history and upcoming earnings dates for a symbol.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes

    Returns Earnings

    interface Earnings {
      symbol: string;
      exchange: string;
      lastReleaseDate?: number;
      nextReleaseDate?: number;
      epsActual?: number;
      epsEstimate?: number;
      epsSurprise?: number;
      epsSurprisePercent?: number;
      epsEstimateNextQuarter?: number;
      revenueEstimateNextQuarter?: number;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getEarnings

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getEarnings("NASDAQ", "AAPL");
  • getEconomicCalendarGet upcoming and recently released economic events (releases, indicators) for a set of countries.

    Arguments

    NameTypeRequired
    countriesstring[]No
    daysAheadnumberNo

    Returns EconomicEvent[]

    interface EconomicEvent {
      id: string;
      title: string;
      country: string;
      indicator: string;
      period: string;
      date: number;
      actual?: number;
      forecast?: number;
      previous?: number;
      importance: number;
      currency?: string;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getEconomicCalendar

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getEconomicCalendar(["US"], 7);
  • getFinancialsGet financial statements and historical data: revenue, earnings, balance sheet.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes

    Returns Financials

    interface Financials {
      symbol: string;
      exchange: string;
      totalRevenue?: number;
      revenueGrowthYoy?: number;
      grossProfit?: number;
      netIncome?: number;
      netIncomeGrowthYoy?: number;
      ebitda?: number;
      earningsPerShare?: number;
      freeCashFlow?: number;
      totalAssets?: number;
      totalCurrentAssets?: number;
      totalLiabilities?: number;
      totalCurrentLiabilities?: number;
      totalDebt?: number;
      cashAndEquivalents?: number;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getFinancials

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getFinancials("NASDAQ", "AAPL");
  • getMarketOverviewGet the current price and change for major market indices: NASDAQ Composite, S&P 500, Russell 2000 and NASDAQ-100.

    Arguments

    None.

    Returns MarketOverview

    interface MarketOverview {
      indices: {
        symbol: string;
        name: string;
        type: string;
        price: number;
        change?: number;
        changePercent?: number;
        high?: number;
        low?: number;
        open?: number;
      }[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getMarketOverview

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getMarketOverview();
  • getNewsGet recent news articles related to a symbol or market.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes

    Returns NewsItem[]

    interface NewsItem {
      id: string;
      title: string;
      source: string;
      published: number;
      urgency: number;
      link: string;
      relatedSymbols: string[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getNews

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getNews("NASDAQ", "AAPL");
  • getOptionChainGet option chain data for symbols that have options.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes

    Returns OptionChain

    interface OptionContract {
      symbol: string;
      optionType: "call" | "put";
      strike: number;
      expiration: number;
      currency?: string;
      bid?: number;
      ask?: number;
      bidIv?: number;
      askIv?: number;
      impliedVolatility?: number;
      delta?: number;
      gamma?: number;
      theta?: number;
      vega?: number;
      rho?: number;
      theoreticalPrice?: number;
    }
    
    interface OptionChain {
      exchange: string;
      symbol: string;
      expirations: number[];
      contracts: OptionContract[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getOptionChain

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getOptionChain("NASDAQ", "AAPL");
  • getQuoteGet current price, change, and key metrics for a symbol.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes

    Returns Quote

    interface Quote {
      symbol: string;
      exchange: string;
      description: string;
      type: string;
      currency?: string;
      price: number;
      changePercent?: number;
      changeAbsolute?: number;
      open?: number;
      high?: number;
      low?: number;
      volume?: number;
      marketCap?: number;
      sector?: string;
      industry?: string;
      peRatio?: number;
      dividendYield?: number;
      week52High?: number;
      week52Low?: number;
      beta1Year?: number;
      updateMode?: string;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getQuote

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getQuote("NASDAQ", "AAPL");
  • getScreenerResultsRun a stock screener with filters and return matching symbols.

    Arguments

    NameTypeRequired
    options{ columns: string[], market?: string, filters?: ScreenerFilter[], sortBy?: string, sortOrder?: "asc" | "desc", limit?: number, offset?: number }Yes
    interface ScreenerFilter {
      field: string;
      operation: "greater" | "egreater" | "less" | "eless" | "equal" | "nequal" | "in_range" | "not_in_range" | "match";
      value: string | number | boolean | (string | number)[];
    }

    Returns ScreenerResults

    interface ScreenerRow {
      symbol: string;
      exchange: string;
      fields: Record<string, string | number | boolean | null>;
    }
    
    interface ScreenerResults {
      totalCount: number;
      rows: ScreenerRow[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getScreenerResults

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getScreenerResults({ columns: ["name", "close"], limit: 5 });
  • getTechnicalAnalysisGet technical analysis signals and ratings for a symbol.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes

    Returns TechnicalAnalysis

    interface TechnicalAnalysis {
      symbol: string;
      exchange: string;
      summaryRecommendation: string;
      summaryScore: number;
      movingAverageRecommendation: string;
      movingAverageScore: number;
      oscillatorRecommendation: string;
      oscillatorScore: number;
      movingAverages: {
        sma10?: number;
        sma20?: number;
        sma50?: number;
        sma100?: number;
        sma200?: number;
        ema10?: number;
        ema20?: number;
        ema50?: number;
        ema100?: number;
        ema200?: number;
      };
      oscillators: {
        rsi?: number;
        stochK?: number;
        stochD?: number;
        cci20?: number;
        adx?: number;
        ao?: number;
        momentum?: number;
        macd?: number;
        macdSignal?: number;
        williamsPercentR?: number;
        ultimateOscillator?: number;
        bullBearPower?: number;
      };
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/getTechnicalAnalysis

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.getTechnicalAnalysis("NASDAQ", "AAPL");
  • listIdeasGet the public Ideas feed for a symbol.

    Arguments

    NameTypeRequired
    exchangestringYes
    symbolstringYes
    sortstringNo

    Returns Idea[]

    interface Idea {
      id: number;
      title: string;
      description: string;
      author: string;
      createdAt: number;
      updatedAt?: number;
      chartUrl: string;
      commentsCount: number;
      viewsCount: number;
      likesCount: number;
      isHot: boolean;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/listIdeas

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.listIdeas("NASDAQ", "AAPL");
  • searchSymbolsSearch for a symbol by ticker, company name, or description across all exchanges.

    Arguments

    NameTypeRequired
    querystringYes

    Returns SymbolSearchResult[]

    interface SymbolSearchResult {
      symbol: string;
      name: string;
      exchange: string;
      type: string;
      isin?: string;
      cusip?: string;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/tradingview/searchSymbols

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.tradingview.searchSymbols("AAPL");

Use it from code