yahoo-finance-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind address for HTTP transport | 0.0.0.0 |
| MCP_PORT | No | Listen port for HTTP transport | 8081 |
| MCP_TRANSPORT | No | Transport mode: stdio, streamable-http, or sse | stdio |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_quoteA | Get a fast, lightweight current-price snapshot for a symbol. Returns last price, previous close, open, day high/low, volume, market cap,
shares, currency, exchange and 52-week range via yfinance |
| get_ticker_infoA | Get the full company/security profile dictionary for a symbol. This is yfinance |
| get_isinC | Get the ISIN (International Securities Identification Number) for a symbol. |
| get_historical_pricesA | Get historical OHLCV price data for a symbol. Provide either |
| download_multipleA | Download historical prices for MULTIPLE symbols at once. Efficient batch alternative to calling |
| get_corporate_actionsB | Get dividends, stock splits and capital gains history for a symbol. Returns three date-keyed series: |
| get_financial_statementsA | Get financial statements (income statement, balance sheet, cash flow).
|
| get_earningsB | Get earnings calendar, upcoming/historical earnings dates and estimates. Returns the |
| get_analyst_dataB | Get analyst recommendations, price targets and upgrade/downgrade history. Returns |
| get_holdersA | Get ownership breakdown: major, institutional, mutual fund and insiders. Returns |
| get_sharesC | Get historical shares outstanding over time (optionally a date range). |
| get_sustainabilityC | Get ESG / sustainability scores (environment, social, governance risk). |
| get_option_expirationsA | List the available option expiration dates for a symbol. Pass one of these dates to |
| get_option_chainA | Get the option chain (calls and puts) for a symbol and expiration date.
|
| get_newsC | Get recent news articles related to a symbol (title, publisher, link, time). |
| get_sec_filingsC | Get recent SEC filings (10-K, 10-Q, 8-K, etc.) with dates and document links. |
| get_fund_dataA | Get ETF / mutual fund specifics: description, holdings, sector & asset allocation, top holdings, bond ratings and fund operations. Only meaningful for funds/ETFs (e.g. SPY, VTI, QQQ). For ordinary stocks this returns little or an error. |
| searchA | Search Yahoo Finance for symbols and related news by free-text query. Use this to resolve a company name (e.g. "Apple") to a ticker symbol, or to
find related instruments and news. Returns matching |
| lookupA | Look up instruments matching a query, optionally filtered by asset type. More precise than |
| get_sectorA | Get sector overview data by sector key (e.g. "technology", "healthcare", "financial-services", "energy", "consumer-cyclical"). Returns the sector's overview, top companies, top ETFs/mutual funds, research reports and industry breakdown. |
| get_industryA | Get industry overview data by industry key (e.g. "semiconductors", "software-infrastructure", "biotechnology", "banks-diversified"). Returns the industry overview, top performing/growth companies and top ETFs. |
| get_market_statusA | Get market status and summary for a region (e.g. "US", "GB", "ASIA", "EUROPE"). Returns whether the market is open and a summary of major indices. |
| screen_predefinedA | Run a predefined Yahoo Finance stock/fund screen. Handy preset screens like "day_gainers", "most_actives", "day_losers",
"undervalued_growth_stocks", etc. Returns the matching quotes with key
fields. For custom criteria use |
| screen_customA | Run a custom equity screen with a single numeric criterion + region. Example: field="intradaymarketcap", operator="gt", values=[1e9] finds
companies with market cap over $1B. Common fields: intradaymarketcap,
intradayprice, dayvolume, trailingpe, pegratio, epsgrowth, dividendyield,
percentchange. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/christianGRogers/yahoo-finance-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server