YFinance MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_stock_infoA | Get basic stock information including current price, market cap, and key metrics. Args: symbol: Stock ticker symbol (e.g., 'AAPL', 'GOOGL') Returns: Dictionary containing stock information |
| get_historical_dataA | Get historical stock price data. Args: symbol: Stock ticker symbol (e.g., 'AAPL', 'GOOGL') period: Time period (1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max) interval: Data interval (1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo) Returns: Dictionary containing historical price data |
| get_dividendsB | Get dividend history for a stock. Args: symbol: Stock ticker symbol (e.g., 'AAPL', 'GOOGL') Returns: Dictionary containing dividend history |
| get_splitsA | Get stock split history for a stock. Args: symbol: Stock ticker symbol (e.g., 'AAPL', 'GOOGL') Returns: Dictionary containing split history |
| get_financialsA | Get financial statements for a stock. Args: symbol: Stock ticker symbol (e.g., 'AAPL', 'GOOGL') quarterly: If True, get quarterly data; if False, get annual data Returns: Dictionary containing financial statements |
| get_earningsA | Get earnings data for a stock. Note: Uses income statement data as 'earnings' property is deprecated. Args: symbol: Stock ticker symbol (e.g., 'AAPL', 'GOOGL') Returns: Dictionary containing earnings data extracted from financial statements |
| get_newsA | Get recent news for a stock. Args: symbol: Stock ticker symbol (e.g., 'AAPL', 'GOOGL') count: Number of news articles to return (default: 10) Returns: Dictionary containing news articles |
| get_recommendationsA | Get analyst recommendations for a stock. Args: symbol: Stock ticker symbol (e.g., 'AAPL', 'GOOGL') Returns: Dictionary containing analyst recommendations |
| search_stocksA | Search for stocks by company name or ticker symbol. This tool searches Yahoo Finance's database for stocks matching your query. Works best with specific company names or partial ticker symbols. Examples of effective queries:
Note: Complex multi-word queries may return fewer results. For best results, search for one company at a time. Args: query: Search query - company name or ticker symbol (e.g., 'Microsoft', 'AAPL') limit: Maximum number of results to return (default: 10, max recommended: 25) Returns: Dictionary containing search results with symbol, name, type, exchange, sector, industry, relevance score, and other metadata |
| get_multiple_quotesA | Get current quotes for multiple stocks at once. Args: symbols: List of stock ticker symbols (e.g., ['AAPL', 'GOOGL', 'MSFT']) Returns: Dictionary containing quotes for all requested symbols |
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/barvhaim/yfinance-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server