
yfinance MCP Server
โ 5from Otman404
Access up-to-date prices and news for stocks and cryptocurrencies.
๐ฅ๐ฅ๐ฅโ VerifiedFreeQuick setup
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:
Example Interactions

Copy & paste โ that's it
npx -y @smithery/cli install @Otman404/finance-mcp-server --client claudeInstallation
Installing via Smithery
To install yfinance-mcp-server for Claude Desktop automatically via Smithery:
Copy & paste โ that's it
npx -y @smithery/cli install @Otman404/finance-mcp-server --client claudeUsing uv
Install the package locally
Copy & paste โ that's it
uv pip install -e .Run the server
Copy & paste โ that's it
finance-mcp-serverUsing docker
Copy & paste โ that's it
# 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
Copy & paste โ that's it
"mcpServers": {
"finance": {
"command": "uvx",
"args": ["finance-mcp-server"]
}
}docker
Copy & paste โ that's it
{
"mcpServers": {
"finance": {
"command": "docker",
"args": ["run", "-i", "--rm", "finance-server"]
}
}
}Usage for 5ire
uvx
Copy & paste โ that's it
{
"key": "finance",
"command": "uvx",
"args": ["finance-mcp-server"]
}docker
Copy & paste โ that's it
{
"key": "finance-server",
"command": "docker",
"args": ["run", "-i", "--rm", "finance-server"]
}No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.