Yahoo Finance MCP Server
Provides stock price, historical data, company information, and financial statements for Amazon (AMZN) via Yahoo Finance.
Provides stock price, historical data, company information, and financial statements for Apple (AAPL) via Yahoo Finance.
Provides stock price, historical data, company information, and financial statements for Tesla (TSLA) via Yahoo Finance.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Yahoo Finance MCP Serverget stock price for AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Moved to new github account: https://github.com/josh-g-s/Yahoo-Finance-MCP
Yahoo Finance MCP Server
A lightweight MCP server for accessing Yahoo Finance data. No persistent service required - the server runs only when needed.
Features
get-stock-price: Get current stock price and basic trading information
get-stock-history: Get historical price data for various time periods
get-stock-info: Get detailed company information
get-financials: Get financial statements (income, balance sheet, cash flow)
Related MCP server: yfin-mcp
Installation
pip install -e .Usage
The server uses stdio for communication (no HTTP server needed). Configure it in your MCP client:
{
"mcpServers": {
"yahoo-finance": {
"command": "python",
"args": ["-m", "yahoo_finance_mcp"]
}
}
}Or if installed globally:
{
"mcpServers": {
"yahoo-finance": {
"command": "yahoo-finance-mcp"
}
}
}Examples
Get Apple stock price:
get-stock-pricewith{"ticker": "AAPL"}Get Tesla's last 6 months:
get-stock-historywith{"ticker": "TSLA", "period": "6mo"}Get Microsoft info:
get-stock-infowith{"ticker": "MSFT"}Get Amazon financials:
get-financialswith{"ticker": "AMZN", "statement_type": "income"}
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/joshthecoder-hub/Yahoo-Finance-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server