yfinance MCP Server
Access up-to-date prices and news for stocks and cryptocurrencies.
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 ticker- Arguments:
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"
- Arguments:
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)
- Required arguments:
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 claude
Using uv
Install the package locally
uv pip install -e .
Run the server
finance-mcp-server
Using docker
# build the container
docker build -t finance-server .
# run the container
docker run -it finance-server
Configuration
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

Related Servers
招投标大数据服务
Provides comprehensive bidding and tender information query services, including statistics, searches, and planned project queries.
MCP Jobs
A zero-configuration job aggregation service that fetches job listings from major recruitment websites.
DNDzgz
Get real-time public transport information for Zaragoza using the DNDzgz API.
G-Search MCP
A Google search server using Playwright for parallel keyword searches.
SerpApi
Retrieve parsed search engine results using the SerpApi API.
arch-mcp
An AI-powered bridge to the Arch Linux ecosystem that enables intelligent package management, AUR access, and Arch Wiki queries through the Model Context Protocol (MCP).
专利大数据服务
Provides comprehensive patent search and statistical analysis for intelligence analysis, technological innovation, and intellectual property management.
Secondhand MCP
Connects AI to Facebook Marketplace, Ebay, Poshmark, and Depop to find you the best deals
ContextWire
Free search API for AI agents with 105 engines, 22 search profiles, and 94.3% SimpleQA accuracy. MCP server included.
Splunk
An MCP server for Splunk to search, analyze, and visualize machine-generated data from your Splunk instance.