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.
- Site
- tradingview.com
- Functions
- 14
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
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/tradingviewOne MCP server for TradingView and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth 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.
getChartDataGet historical candlestick/OHLCV data for charting.Arguments
Name Type Required exchangestringYes symbolstringYes options{ interval?: "1" | "3" | "5" | "15" | "30" | "45" | "60" | "120" | "180" | "240" | "D" | "W" | "M", bars?: number }No Returns
ChartDatainterface 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/getChartDataCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getChartData("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getChartData("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getChartData \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getChartData("NASDAQ", "AAPL");getCompanyInfoGet fundamental information about a company: description, sector, market cap, employees.Arguments
Name Type Required exchangestringYes symbolstringYes Returns
CompanyInfointerface 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/getCompanyInfoCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getCompanyInfo("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getCompanyInfo("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getCompanyInfo \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getCompanyInfo("NASDAQ", "AAPL");getDividendsGet dividend history and yield information for a symbol.Arguments
Name Type Required exchangestringYes symbolstringYes Returns
Dividendsinterface 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/getDividendsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getDividends("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getDividends("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getDividends \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getDividends("NASDAQ", "AAPL");getEarningsGet earnings history and upcoming earnings dates for a symbol.Arguments
Name Type Required exchangestringYes symbolstringYes Returns
Earningsinterface 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/getEarningsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getEarnings("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getEarnings("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getEarnings \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getEarnings("NASDAQ", "AAPL");getEconomicCalendarGet upcoming and recently released economic events (releases, indicators) for a set of countries.Arguments
Name Type Required 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/getEconomicCalendarCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getEconomicCalendar(["US"], 7);import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getEconomicCalendar(["US"], 7))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getEconomicCalendar \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"countries":["US"],"daysAhead":7}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getEconomicCalendar(["US"], 7);getFinancialsGet financial statements and historical data: revenue, earnings, balance sheet.Arguments
Name Type Required exchangestringYes symbolstringYes Returns
Financialsinterface 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/getFinancialsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getFinancials("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getFinancials("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getFinancials \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return 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
MarketOverviewinterface 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/getMarketOverviewCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getMarketOverview();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getMarketOverview())curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getMarketOverview \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getMarketOverview();getNewsGet recent news articles related to a symbol or market.Arguments
Name Type Required 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/getNewsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getNews("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getNews("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getNews \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getNews("NASDAQ", "AAPL");getOptionChainGet option chain data for symbols that have options.Arguments
Name Type Required exchangestringYes symbolstringYes Returns
OptionChaininterface 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/getOptionChainCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getOptionChain("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getOptionChain("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getOptionChain \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getOptionChain("NASDAQ", "AAPL");getQuoteGet current price, change, and key metrics for a symbol.Arguments
Name Type Required exchangestringYes symbolstringYes Returns
Quoteinterface 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/getQuoteCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getQuote("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getQuote("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getQuote \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getQuote("NASDAQ", "AAPL");getScreenerResultsRun a stock screener with filters and return matching symbols.Arguments
Name Type Required 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
ScreenerResultsinterface 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/getScreenerResultsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getScreenerResults({ columns: ["name", "close"], limit: 5 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getScreenerResults({"columns": ["name", "close"], "limit": 5}))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getScreenerResults \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"options":{"columns":["name","close"],"limit":5}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getScreenerResults({ columns: ["name", "close"], limit: 5 });getTechnicalAnalysisGet technical analysis signals and ratings for a symbol.Arguments
Name Type Required exchangestringYes symbolstringYes Returns
TechnicalAnalysisinterface 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/getTechnicalAnalysisCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.getTechnicalAnalysis("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.getTechnicalAnalysis("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/getTechnicalAnalysis \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.getTechnicalAnalysis("NASDAQ", "AAPL");listIdeasGet the public Ideas feed for a symbol.Arguments
Name Type Required 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/listIdeasCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.listIdeas("NASDAQ", "AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.listIdeas("NASDAQ", "AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/listIdeas \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"exchange":"NASDAQ","symbol":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.listIdeas("NASDAQ", "AAPL");searchSymbolsSearch for a symbol by ticker, company name, or description across all exchanges.Arguments
Name Type Required 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/searchSymbolsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tradingview.searchSymbols("AAPL");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tradingview.searchSymbols("AAPL"))curl -X POST https://api.bowmark.ai/v1/sites/tradingview/searchSymbols \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"AAPL"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.tradingview.searchSymbols("AAPL");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/tradingview/<function> - OpenAPI
/v1/sites/tradingview/openapi.json