yfinance MCP Server
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., "@yfinance MCP Serverget the current price of 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.
yfinance MCP Server
Model Context Protocol server that allows LLMs to get accurate and up-to-date prices and news about stock/cryptocurrencies tickers.
Available Tools
get_price_tool: Get the price of a stock/cryptocurrency tickerArguments:
ticker(string): Required - Ticker name or alias (e.g., "BTC-USD", "AAPL")period(string): Optional - Time period (e.g., "1d", "5d", "1mo"). Defaults to "1d"
get_news_tool: Get the news of a stock/cryptocurrency ticker.Required arguments:
ticker(string): Requiredcount(string): Optional - Number of articles to retrieve (default: 5)
Related MCP server: Yahoo Finance MCP Server
Installation
Installing via Smithery
To install yfinance-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @Otman404/finance-mcp-server --client claudeUsing uv
Install the package locally
uv pip install -e .Run the server
finance-mcp-serverUsing docker
# build the container
docker build -t finance-server .
# run the container
docker run -it finance-serverConfiguration
Usage for Claude Desktop
Add the following to claude_desktop_config.json
uvx
"mcpServers": {
"finance": {
"command": "uvx",
"args": ["finance-mcp-server"]
}
}docker
{
"mcpServers": {
"finance": {
"command": "docker",
"args": ["run", "-i", "--rm", "finance-server"]
}
}
}Usage for 5ire
uvx
{
"key": "finance",
"command": "uvx",
"args": ["finance-mcp-server"]
}docker
{
"key": "finance-server",
"command": "docker",
"args": ["run", "-i", "--rm", "finance-server"]
}Example Interactions

Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables querying Yahoo Finance data including stock prices, historical data, financial statements, dividends, news, analyst recommendations, and company information through the yfinance library.Last updated
- Alicense-qualityDmaintenanceEnables LLMs to retrieve stock market data and financial information from Yahoo Finance using the yfinance Python library. Supports querying stock prices, historical data, and other financial metrics through natural language.Last updatedMIT
- Alicense-qualityCmaintenanceProvides real-time stock quotes, historical data, and stock search via Yahoo Finance, enabling AI assistants to access and analyze financial market data.Last updated7717MIT
- Alicense-qualityCmaintenanceEnables AI assistants to access real-time stock, crypto, and market index data from Yahoo Finance, supporting queries for prices, history, company info, and comparisons.Last updatedMIT
Related MCP Connectors
Real-time financial news for AI agents: search by ticker and source, with sentiment and entities.
Real-time curated crypto news for AI agents with sentiment, recaps, and search.
Real-time news with bias scoring, live market data, and AI-powered options pricing
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/Otman404/finance-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server