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

相關伺服器
RAGMap
RAG-focused MCP subregistry and server to discover and route to retrieval-capable MCP servers with semantic search, filters, and explainable ranking.
Web Search
Perform Google searches and view web content with advanced bot detection avoidance.
idea-reality-mcp
Pre-build reality check for AI agents. Scans GitHub, HN, npm, PyPI & Product Hunt — returns a 0-100 signal.
upfront rentals MCP
enables searching and booking car rentals
Quotewise Quote MCP
Semantic quote search - 600K quotes with source transparency
Brave Search
A server for Brave Search, enabling integration with AI assistants like Claude.
Data Gouv MCP Server
Interact with the French government's open data platform (data.gouv.fr) to search for company information.
Tavily Search
AI-powered web search using the Tavily Search API.
Web Search
Enables free web searching using Google search results, with no API key required.
Geocoding
Provides geocoding services by integrating with the Nominatim API.