Skip to main content
Glama
16Coffee

Yahoo Finance MCP Server

by 16Coffee

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get_historical_stock_pricesA

获取指定股票的历史价格,返回日期、开盘价、最高价、最低价、收盘价和成交量。 参数说明: ticker: str 股票代码,例如 "AAPL" period : str 支持的周期:1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max; 也可以使用开始和结束日期;默认 "1mo" interval : str 支持的间隔:1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo; 分钟级数据最多可追溯60天;默认 "1d"

get_stock_infoB

获取公司概况及关键财务指标。

参数说明: ticker: str 股票代码,例如 "AAPL"

get_news_sentimentC

获取指定股票的相关新闻列表。

参数说明: ticker: str 股票代码,例如 "AAPL"

get_stock_actionsC

获取股票的分红与拆股历史。

参数说明: ticker: str 股票代码,例如 "AAPL"

get_financial_statementB

获取公司财报,类型包括年度/季度的收入表、资产负债表和现金流量表。

参数说明: ticker: str 股票代码,例如 "AAPL" financial_type: str 财报类型:income_stmt_annual、income_stmt_quarterly、balance_sheet_annual、balance_sheet_quarterly、cashflow_annual、cashflow_quarterly

get_calendar_dataC

获取分红、收益、IPO、拆股等日历信息。

参数说明: event_type: str 可选值:dividends、dividends_calendar、earnings、earnings_calendar、 ipos_calendar、ipos_disclosure、ipos_prospectus、splits、splits_calendar symbol: str 部分类型需要股票代码 page: int 页码,默认 0 limit: int 返回数量,默认 100

get_shares_float_infoB

获取流通股数据或全部公司流通股列表。

参数说明: info_type: str single 或 all symbol: str 查询单个公司时必填 page: int 列表分页,默认 0 limit: int 返回数量,默认 1000

get_ma_dataC

获取并购相关数据。

参数说明: action_type: str latest 或 search name: str 搜索模式下的公司名称 page: int 页码,默认 0 limit: int 返回数量,默认 100

get_executive_infoB

获取公司高管信息或薪酬数据。

参数说明: info_type: str executives、compensation 或 benchmark symbol: str 当类型为 executives 或 compensation 时必填

get_dcf_valuationB

获取 DCF 或杠杆 DCF 估值数据。

参数说明: valuation_type: str dcf 或 levered symbol: str 股票代码

get_economic_dataC

获取宏观经济数据。

参数说明: data_type: str treasury_rates、economic_indicators、economic_calendar、market_risk_premium name: str 经济指标名称,data_type 为 economic_indicators 时必填 from_date: str 起始日期,格式 YYYY-MM-DD to_date: str 结束日期,格式 YYYY-MM-DD

get_option_expiration_datesC

获取指定股票可用的期权到期日。

参数说明: ticker: str 股票代码,例如 "AAPL"

get_option_chainA

根据股票代码、到期日和期权类型获取期权链数据。

参数说明: ticker: str 股票代码,例如 "AAPL" expiration_date: str 期权到期日,格式为 'YYYY-MM-DD' option_type: str 期权类型:'calls' 或 'puts'

search_companiesB

根据关键字搜索公司信息。

参数说明: query: str 搜索关键字 limit: int 返回结果数量,默认 10 exchange: str 交易所代码,可选

get_top_gainersB

获取今日涨幅最大的股票列表。

get_top_losersB

获取今日跌幅最大的股票列表。

get_stock_gradesC

获取分析师最新评级。

参数说明: ticker: str 股票代码,例如 "AAPL

get_stock_grades_historicalB

获取分析师评级历史记录。

参数说明: ticker: str 股票代码,例如 "AAPL" limit: int 返回记录数量,最大 1000,默认 100

get_stock_grades_summaryC

获取分析师评级汇总。

参数说明: ticker: str 股票代码,例如 "AAPL

get_stock_grade_newsB

获取指定股票的评级新闻。

参数说明: ticker: str 股票代码,例如 "AAPL" page: int 页码,默认 0 limit: int 每页数量,最大 100,默认 1

get_stock_grade_latest_newsB

获取最新评级新闻。

参数说明: page: int 页码,默认 0 limit: int 每页数量,最大 1000,默认 10

lookup_identifierB

按标识类型查询股票代码、CIK、CUSIP 或 ISIN。

参数说明: identifier_type: str 可选值:symbol、name、cik、cusip、isin、exchange_variant query: str 对应的查询内容

get_directory_listB

获取市场或公司目录列表。

参数说明: list_type: str 可选值:stock、financial_statement_symbol、cik、symbol_change、etf、 actively_trading、earnings_transcript、available_exchanges、 available_sectors、available_industries、available_countries

get_analyst_estimatesB

获取分析师的财务预估数据。

参数说明: symbol: str 股票代码,例如 "AAPL" period: str annual 或 quarter,默认 annual page: int 页码,默认 0 limit: int 返回数量,默认 10

get_ratingsA

获取股票评级数据,可选择快照或历史记录。

参数说明: symbol: str 股票代码,例如 "AAPL" rating_type: str snapshot 或 historical,默认 snapshot limit: int 返回数量,默认 1

get_price_target_infoB

获取分析师目标价相关信息,可选择汇总、共识或新闻。

参数说明: info_type: str summary、consensus、news、latest_news symbol: str 股票代码,news/summary/consensus 必填 page: int 页码,默认 0 limit: int 返回数量,默认 10

get_crypto_listB

获取交易所上市的加密货币列表。

get_crypto_quoteC

获取指定加密货币的完整行情。

get_crypto_quote_shortC

获取指定加密货币的简要行情。

get_all_crypto_quotesB

获取全部加密货币的批量行情。

get_crypto_price_eodC

获取加密货币的历史收盘价,可选简略或完整模式。

get_crypto_intradayC

按时间间隔获取加密货币的分时价格,支持 1min、5min 和 1hour。

get_crypto_newsC

搜索加密货币相关新闻。

get_crypto_latest_newsC

获取加密货币最新新闻列表。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/16Coffee/finance-mcp'

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