连接器指南阅读约 5 分钟35 个 MCP 工具7 种语言

如何通过 MCP 将 TradingView 连接到 Gemini

通过 TradingView 官方 MCP 服务器,在 Claude、ChatGPT 或 Copilot 中查询行情、历史价格、技术评级、基本面、新闻、公司公告和财经日历,运行 TradingView 筛选器,并管理你的自选列表和价格提醒。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

TradingView

TradingView

Look up quotes, price history, technical ratings, fundamentals, news, filings and calendars, run the TradingView Screener and manage your watchlists and price alerts from Claude, ChatGPT or Copilot through TradingView's official MCP server.

个工具

35

区域

INTL

类别

财务

身份验证

OAuth 2.0

在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 TradingView,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

通过 TradingView 官方 MCP 服务器,在 Claude、ChatGPT 或 Copilot 中查询行情、历史价格、技术评级、基本面、新闻、公司公告和财经日历,运行 TradingView 筛选器,并管理你的自选列表和价格提醒。

试试这样问

TradingView 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

TradingView · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录后打开 Connectors → TradingView 并安装,点击 Authorize with Provider 并在 TradingView 中批准,然后生成 MCP API key。无 Docker、无 git clone、无本地服务器。

TradingView + Gemini

通过 TradingView 官方 MCP 服务器,在 Claude、ChatGPT 或 Copilot 中查询行情、历史价格、技术评级、基本面、新闻、公司公告和财经日历,运行 TradingView 筛选器,并管理你的自选列表和价格提醒。

前提条件

  • TradingView Essential 或更高的付费套餐。免费账号和试用套餐不包含 MCP 访问权限。
  • 无需粘贴任何内容:此连接器没有环境变量,也不需要 API 密钥。安装后使用 TradingView 登录即可。
  • 如果多人使用此连接器:谁登录,谁的 TradingView 账号就供所有人使用。

步骤 1 — 使用 TradingView 登录

TradingView 运营着自己的官方远程 MCP 服务器,自 2026 年 9 月起处于公开测试阶段。此连接器把它桥接进来:工具来自 TradingView(交易代码搜索、行情和历史价格、筛选器、技术评级、基本面和分析师预测、新闻、公司公告和财报电话会议记录、财报、分红和经济日历、经济指标,以及你的自选列表和价格提醒),AnythingMCP 把它们放在你的 AnythingMCP 服务器之后,使用它的 API 密钥、按工具划分的角色和审计日志,与你的其他连接器并列。

  1. 从目录安装连接器。无需粘贴任何内容:不需要 API 密钥、客户端 ID 或客户端密钥。
  2. 在连接器页面点击 Authorize with Provider。AnythingMCP 会在 TradingView 注册,并把你带到 TradingView 登录页。
  3. 使用你的 TradingView 付费账号登录并批准访问。回到 AnythingMCP 后,工具列表会从 TradingView 的服务器重新加载。测试期间 TradingView 会陆续添加工具:在连接器上点击 Discover tools 可以获取新工具。

套餐和测试期限制:TradingView Essential 及以上的付费套餐包含 MCP 访问权限;免费账号和试用套餐会被拒绝。测试期间,TradingView 提供的是延迟行情数据,每位用户每分钟约可调用 100 次工具,并且可能限制每日请求数。达到上限时,请等待一分钟。

用的是谁的账号:登录的人就是所有使用此连接器的人的 TradingView 用户。所有人读取的都是该账号的自选列表和提醒,并以该账号的身份修改它们,所以如果多人共用此连接器,请在授权之前决定用谁的账号。如果原本正常的调用开始因授权错误而失败,请再次点击 Authorize with Provider。

不能交易:TradingView 的服务器没有交易工具,因此这里不会下任何订单。结果是行情数据,不构成投资建议,AI 会把新闻报道和公司公告视为不可信文本。

安装时默认关闭:tradingview_delete_watchlist、tradingview_remove_from_watchlist 和 tradingview_delete_alert(同时会删除该提醒的历史记录)。创建自选列表和提醒、添加交易代码、重命名、暂停和恢复提醒保持开启。AI 创建的提醒会通知账号所有者,所以 AI 在大量创建提醒之前会先询问。Webhook 提醒无法通过这种方式创建或编辑。

先调用哪些工具:交易代码写作 EXCHANGE:TICKER,例如 NASDAQ:AAPL、BINANCE:BTCUSDT 或 XETR:SAP。当你提到某家公司时,AI 会先调用 tradingview_search_symbols,而 tradingview_get_symbol_data_batch 一次调用最多可读取 50 个交易代码。登录后返回 401 或 403,通常说明该账号没有付费套餐或授权已过期。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 Gemini 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Gemini CLI 从 ~/.gemini/settings.json(Windows 上为 %USERPROFILE%\.gemini\settings.json)读取 MCP 服务器。添加:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换 YOUR_MCP_API_KEY。
  2. 保存文件并重启 gemini。
  3. 在 Gemini CLI 中运行 /mcp(或在终端运行 gemini mcp list),anythingmcp 应显示为已连接。
  4. 开始输入提示,Gemini CLI 现在可以调用 TradingView 的工具。

可用工具

ToolWhat it does
tradingview_list_watchlistsList the signed-in user's TradingView watchlists with their ids and names
tradingview_get_watchlistGet one watchlist and its symbols by id
tradingview_get_active_watchlistGet the active watchlist with its symbols
tradingview_create_watchlistCreate a new watchlist in the user's TradingView account, optionally with a name and initial symbols
tradingview_delete_watchlistDelete a watchlist from the user's TradingView account
tradingview_add_to_watchlistAdd symbols to a watchlist
tradingview_remove_from_watchlistRemove symbols from a watchlist in the user's TradingView account
tradingview_update_watchlistRename a watchlist and/or change its description
tradingview_get_ohlcvHistorical OHLCV bars for a symbol at an interval: an aggregate summary plus, unless summary is true, the raw bars [{t (unix seconds, UTC)…
tradingview_get_economic_dataTime series of an economic indicator such as ECONOMICS:USIRYY (US inflation rate): [{date, value}] with the released value, plus unit and…
tradingview_get_economic_symbolsCatalog of the economic tickers tradingview_get_economic_data accepts
tradingview_search_symbolsTurn a ticker or company name into TradingView symbols (EXCHANGE:TICKER) with a fuzzy search: symbol, description, type, exchange and logo…
tradingview_get_symbol_dataAny TradingView screener columns for one symbol: stocks, ETFs, crypto, forex, futures, indices, bonds and government bond yields
tradingview_run_screenerRun the TradingView Screener with filters ({field: [min, max]} plus index, sector, industry and analyst_rating), sorting, presets and…
tradingview_get_symbol_data_batchQuotes or screener columns for up to 50 symbols in one call
tradingview_get_screener_columnsCatalog of the screener column names accepted by tradingview_get_symbol_data, tradingview_get_symbol_data_batch and tradingview_run_screener
tradingview_get_technicals_ratingTechnical indicator snapshot for one symbol and timeframe: RSI, Stochastic K/D, CCI20, ADX, MACD, Momentum, AO, EMA and SMA 10 to 200…
tradingview_get_newsLatest news headlines for a symbol: id, title, published (unix), provider, urgency (1 top, 2 normal), story path, link, permission, related…
tradingview_get_news_storyFull text of a news story by the id from tradingview_get_news: description, short description, summary, permission, provider and copyright
tradingview_get_forecastsAnalyst consensus for a symbol: recommendation and score, buy, hold and sell distribution, price targets with upside_pct, EPS and revenue…
tradingview_get_financialsCurrent fundamentals of a symbol: P/E, P/B, margins, ROE and ROA, TTM revenue, net income, EBITDA and free cash flow, and year-over-year…
tradingview_get_financial_historyQuarterly or annual history of fundamentals (revenue, gross profit, operating income, net income, free cash flow, EPS, EBITDA, total debt)…
tradingview_get_documentsFilings and transcripts for a symbol (10-K, 10-Q, 8-K, earnings calls, presentations, press releases) with the view ids that…
tradingview_get_document_viewText of one document view (summary or transcript) by the views[].id returned by tradingview_get_documents
tradingview_get_earnings_calendarEarnings dates for a list of symbols: per symbol only the next scheduled report and the most recent one, with consensus EPS and revenue for…
tradingview_get_economic_calendarMacro events (CPI, GDP, rate decisions and more) filtered by country, currency, category and importance
tradingview_get_dividends_calendarDividend data: ex-dates, amount, yield and payment date
tradingview_create_alertCreate a TradingView price alert on a symbol (price plus cross, cross_up, cross_down, greater or less)
tradingview_update_alertChange the message, name, expiration or notifications of an existing alert and restart it
tradingview_delete_alertDelete alerts by id, together with their fire history
tradingview_stop_alertsPause alerts without deleting them: id, history and settings are kept and tradingview_restart_alerts resumes them
tradingview_restart_alertsResume paused alerts without creating them again; id, history and settings stay as they were
tradingview_list_alertsList all of the user's alerts, active and inactive: alert_id, name, symbol, active, condition type, threshold, resolution and timestamps
tradingview_get_alertsFull settings of specific alerts by id, including the raw conditions, which you need to recreate an alert with changed conditions
tradingview_get_alerts_logAlert fire history: when each alert fired, with symbol, message and webhook delivery status

示例提示

  • “NVIDIA、AMD 和 Intel 本周走势如何?把价格变动和成交量并排列出来。”
  • “筛选 P/E 低于 15、营收增长超过 10% 的美国大盘股。”
  • “总结一下 Microsoft 最近一次财报电话会议的记录。”
  • “设置一个 Bitcoin 突破 120,000 USD 时的提醒,并把 BINANCE:ETHUSDT 加入我的加密货币自选列表。”

FAQ

Gemini CLI 从哪里读取 MCP 服务器? 用户级配置位于 ~/.gemini/settings.json,项目级配置位于项目内的 .gemini/settings.json。gemini mcp list 会列出每个服务器及其连接状态。

下一步

这份指南对你有帮助吗?

你的 TradingView 智能体只差一次点击。

安装连接器,粘贴密钥,向 Gemini 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 TradingView 连接到 ChatGPT

通过 TradingView 官方 MCP 服务器,在 Claude、ChatGPT 或 Copilot 中查询行情、历史价格、技术评级、基本面、新闻、公司公告和财经日历,运行 TradingView 筛选器,并管理你的自选列表和价格提醒。

连接器

如何通过 MCP 将 TradingView 连接到 Claude

通过 TradingView 官方 MCP 服务器,在 Claude、ChatGPT 或 Copilot 中查询行情、历史价格、技术评级、基本面、新闻、公司公告和财经日历,运行 TradingView 筛选器,并管理你的自选列表和价格提醒。

连接器

如何通过 MCP 将 TradingView 连接到 Cursor

通过 TradingView 官方 MCP 服务器,在 Claude、ChatGPT 或 Copilot 中查询行情、历史价格、技术评级、基本面、新闻、公司公告和财经日历,运行 TradingView 筛选器,并管理你的自选列表和价格提醒。

连接器

如何通过 MCP 将 TradingView 连接到 Meta Muse

通过 TradingView 官方 MCP 服务器,在 Claude、ChatGPT 或 Copilot 中查询行情、历史价格、技术评级、基本面、新闻、公司公告和财经日历,运行 TradingView 筛选器,并管理你的自选列表和价格提醒。

连接器

TradingView 接入 MCP:从任意 AI 代理驱动 TradingView

通过 TradingView 官方 MCP 服务器,在 Claude、ChatGPT 或 Copilot 中查询行情、历史价格、技术评级、基本面、新闻、公司公告和财经日历,运行 TradingView 筛选器,并管理你的自选列表和价格提醒。

连接器

如何通过 MCP 将 Canva 连接到 Gemini

让你的 AI 在 Canva 中工作:查找和读取设计,创建新设计,将设计导出为 PDF、PNG、PowerPoint 或视频并获取下载链接,整理文件夹,通过链接上传图片,读取品牌模板,并在设计上发表评论。