Yahoo Finance MCP Server
A simple MCP server for Yahoo Finance using yfinance. This server provides a set of tools to fetch stock data, news, and other financial information.
Tools
get_ticker_info
- Retrieve stock data including company info, financials, trading metrics and governance data.
- Inputs:
symbol
(string): The stock symbol.
get_ticker_news
- Fetches recent news articles related to a specific stock symbol with title, content, and source details.
- Inputs:
symbol
(string): The stock symbol.
search
- Fetches and organizes search results from Yahoo Finance, including stock quotes and news articles.
- Inputs:
query
(string): The search query (ticker symbol or company name).search_type
(string): Type of search results to retrieve (options: “all”, “quotes”, “news”).
get_top
- Get top entities (ETFs, mutual funds, companies, growth companies, or performing companies) in a sector.
- Inputs:
sector
(string): The sector to get.top_type
(string): Type of top companies to retrieve (options: “top_etfs”, “top_mutual_funds”, “top_companies”, “top_growth_companies”, “top_performing_companies”).top_n
(number, optional): Number of top entities to retrieve (default 10).
Usage
You can use this MCP server either via uv (Python package installer) or Docker.
Via uv
- Install uv
- Add the following configuration to your MCP server configuration file:
{
"mcpServers": {
"yfmcp": {
"command": "uvx",
"args": ["yfmcp"]
}
}
}
Via Docker
Add the following configuration to your MCP server configuration file:
{
"mcpServers": {
"yfmcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "narumi/yfinance-mcp"]
}
}
}
Yahoo Finance MCP Server
Project Details
- narumiruna/yfinance-mcp
- MIT License
- Last Updated: 4/21/2025
Categories
Recomended MCP Servers
Model Context Protocol (MCP) server for Alpaca trading API
An MCP server for executing token swaps on the Solana blockchain using Jupiter's new Ultra API.
Stock market data provider for Claude Desktop using MCP
Ethereum Tools for Claude - A comprehensive blockchain analysis toolkit that enables Claude AI to audit smart contracts,...
This is a Model Context Protocol (MCP) server that provides comprehensive financial data from Yahoo Finance. It allows...
Bringing the bankless onchain API to MCP
An MCP server that powers AI agents with indexed blockchain data from The Graph.
QMT-MCP-Server
Beancount MCP Server is an experimental implementation that utilizes the Model Context Protocol (MCP) to enable AI assistants...
A Model Context Protocol server that provides access to CoinMarketCap's cryptocurrency data. This server enables AI-powered applications to...