CCXT
Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets
作者提供的说明(英文原文)
Access Yahoo Finance stock data, news, screeners, options, financials, and charts through MCP.
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
通过 2/2 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
SettingsDeveloperEdit Config
{
"mcpServers": {
"yfinance": {
"command": "uvx",
"args": [
"yfmcp"
]
}
}
}用 Yahoo Finance 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Yahoo Finance,或回答中出现 Yahoo Finance 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Yahoo Finance
Yahoo Finance 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Yahoo Finance 的应用
B · 会计、财务与税务 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add yfinance -- uvx yfmcp应能看到 Yahoo Finance 在列表中并显示已连接
用 Yahoo Finance 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Yahoo Finance,或回答中出现 Yahoo Finance 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
用 Yahoo Finance 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Yahoo Finance,或回答中出现 Yahoo Finance 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Python (uv)(只需一次)
用 Yahoo Finance 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Yahoo Finance,或回答中出现 Yahoo Finance 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add yfinance -- uvx yfmcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"yfinance": {
"command": "uvx",
"args": [
"yfmcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"yfinance": {
"command": "uvx",
"args": [
"yfmcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"yfinance": {
"type": "stdio",
"command": "uvx",
"args": [
"yfmcp"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
注册名称已通过 GitHub 账户 narumiruna 验证,该账户拥有此仓库
代码最后更新于前天
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于前天,最新版本(0.14.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:CCXT, Finance Toolkit, AKQuant
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Write and backtest trading strategies with AKQuant: API lookup, strategy checks, backtest runs
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A Model Context Protocol (MCP) server that provides AI assistants with access to Yahoo Finance data via yfinance. Query stock information, financial news, sector rankings, and generate professional financial charts — all from your AI chat.
yfinance_get_ticker_infoRetrieve comprehensive stock data including company info, financials, trading metrics, and governance data.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol (e.g. AAPL, GOOGL, MSFT) |
Returns: JSON object with company details, price data, valuation metrics, trading info, dividends, financials, and performance indicators.
yfinance_get_analyst_price_targetsFetch the current price and analyst consensus price targets for a stock.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol (e.g. AAPL, GOOGL, MSFT) |
Returns: JSON object with current, low, high, mean, and median price fields. Analyst coverage and available fields vary by symbol.
yfinance_get_analyst_estimatesFetch analyst consensus estimates, revision momentum, recommendations, growth estimates, and earnings history.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol |
sections | array | No | Any of recommendations, earnings_estimate, revenue_estimate, eps_trend, eps_revisions, earnings_history, or growth_estimates. Omit for all sections |
max_rows | number | No | Maximum rows per section. Default: 12. Use 0 for all rows |
Returns: Named arrays for available sections plus _metadata containing per-section row counts, truncation status, unavailable sections, and failed sections. A failure in one section does not discard successfully fetched sections.
yfinance_get_upgrades_downgradesFetch analyst upgrades, downgrades, initiations, reiterations, and price-target changes, newest first.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol |
max_rows | number | No | Maximum actions to return. Default: 25. Use 0 to return all rows |
Returns: JSON object containing upgrades_downgrades records and _metadata with row counts and truncation status. Records can include:
GradeDate: Date and time of the analyst actionFirm: Analyst firm nameToGrade and FromGrade: New and previous ratingsAction: Rating actionpriceTargetAction: Price-target action such as Raises, Lowers, or MaintainscurrentPriceTarget and priorPriceTarget: New and previous price targetsAvailable fields vary by symbol and analyst action.
yfinance_get_ticker_newsFetch recent news articles and press releases for a specific stock.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol |
symbol must be nonempty and contain only ASCII letters, digits, or ., -, ^, =, &, _. Invalid input returns INVALID_PARAMS without echoing the input or calling Yahoo Finance. Accepted formats include BRK.B, 2330.TW, ^GSPC, EURUSD=X, ES=F, and BTC-USD. This format check does not verify that a ticker exists.
Returns: JSON array of news items with title, summary, publication date, provider, URL, and thumbnail.
yfinance_searchSearch Yahoo Finance for stocks, ETFs, and news articles.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query — company name, ticker symbol, or keywords |
search_type | string | Yes | "all" (quotes + news), "quotes" (stocks/ETFs only), or "news" (articles only) |
Returns: Matching quotes and/or news results depending on search_type.
yfinance_get_topGet top-ranked financial entities within a market sector.
| Parameter | Type | Required | Description |
|---|---|---|---|
sector | string | Yes | Market sector (see supported sectors below) |
top_type | string | Yes | "top_etfs", "top_mutual_funds", "top_companies", "top_growth_companies", or "top_performing_companies" |
top_n | number | No | Number of results to return (default: 10, max: 100) |
Returns: JSON array of top entities with relevant metrics.
Basic Materials, Communication Services, Consumer Cyclical, Consumer Defensive, Energy, Financial Services, Healthcare, Industrials, Real Estate, Technology, Utilities
yfinance_screenRun Yahoo Finance screeners using either predefined screener keys or custom query trees.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string/object | Yes | For query_type="predefined": screener key such as "day_gainers". For query_type="equity", "fund", or "etf": custom query tree with {operator, operands} nodes |
query_type | string | No | "predefined" (default), "equity", "fund", or "etf" |
offset | number | No | Result offset |
size | number | No | Rows for custom queries; Yahoo maximum is 250 |
count | number | No | Rows for predefined queries; Yahoo maximum is 250 |
sort_field | string | No | Sort field, for example "percentchange" |
sort_asc | boolean | No | Sort ascending if true, descending if false |
user_id | string | No | Optional Yahoo user identifier |
user_id_type | string | No | Optional Yahoo user ID type, commonly "guid" |
Returns: JSON screener response from Yahoo Finance, typically including quote rows and metadata.
Custom equity screener example:
{
"query_type": "equity", "query": { "operator": "and", "operands": [ { "operator": "gt", "operands": ["percentchange", 3] }, { "operator": "eq", "operands": ["region", "us"] }, { "operator": "gte", "operands": ["intradayprice", 5] }, { "operator": "gt", "operands": ["dayvolume", 500000] } ] }, "sort_field": "percentchange", "sort_asc": false, "size": 50 }
Custom ETF screener example:
{
"query_type": "etf", "query": { "operator": "and", "operands": [ { "operator": "eq", "operands": ["categoryname", "Large Blend"] }, { "operator": "lte", "operands": ["annualreportnetexpenseratio", 0.2] } ] }, "sort_field": "fundnetassets", "sort_asc": false, "size": 25 }
yfinance_screen_gappersRun a purpose-built custom screener for opening-session bullish gappers.
| Parameter | Type | Required | Description |
|---|---|---|---|
min_percent_change | number | No | Minimum percent gap/change from prior close (default: 3.0) |
min_price | number | No | Minimum intraday price (default: 5.0) |
min_volume | number | No | Minimum day volume (default: 500000) |
min_market_cap | number | No | Minimum intraday market cap in USD (default: 2000000000) |
region | string | No | Yahoo region code (default: "us") |
size | number | No | Number of results (default: 50, max: 250) |
offset | number | No | Result offset for pagination (default: 0) |
sort_asc | boolean | No | Sort by percentchange ascending (true) or descending (false, default) |
Returns: JSON screener response from Yahoo Finance.
yfinance_get_price_historyFetch historical price data and optionally generate technical analysis charts.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol |
period | string | No | Time range — 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max (default: 1mo) |
interval | string | No | Data granularity — 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo (default: 1d) |
chart_type | string | No | Chart to generate (omit for tabular data) |
prepost | boolean | No | Include pre-market and post-market data when available (default: false; useful with intraday requests like period="1d", interval="1m") |
Chart types:
| Value | Description |
|---|---|
"price_volume" | Candlestick chart with volume bars |
"vwap" | Price chart with Volume Weighted Average Price overlay |
"volume_profile" | Candlestick chart with volume distribution by price level |
Returns:
chart_type: Markdown table with Date, Open, High, Low, Close, Volume, Dividends, and Stock Splits columns.chart_type: Base64-encoded WebP image for efficient token usage.yfinance_get_financialsFetch financial statements (income statement, balance sheet, and cash flow) with historical data.
| Parameter | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock ticker symbol |
frequency | string | No | "annual" (yearly), "quarterly" (quarterly), or "ttm" (trailing twelve months). Default: "annual" |
Returns: JSON object with income statement, balance sheet, and cash flow data for each reporting period.
yfinance_get_holdersFetch major holders, institutional holders, mutual fund holders, and insider data.
| Parameter | Type | Required | Description |
|---|
| symbol | string | Yes | Stock ticker symbol (e.g. AAPL,