No project description provided
Project description
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_quote
- Search for stock quotes with company name, exchange, sector and industry information by keyword.
- Inputs:
query(string): The search query.max_results(number, optional): Maximum number of results (default 8).
-
search_news
- Search for financial news articles matching a keyword with title, source and publication details.
- Inputs:
query(string): The search query.news_count(number, optional): Number of news articles (default 8).
-
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
- Install uv.
- Add the following configuration to your MCP server configuration file.
{
"mcpServers": {
"yfmcp": {
"command": "uvx",
"args": ["yfmcp"]
}
}
}
{
"mcpServers": {
"yfmcp": {
"command": "docker",
"args": ["run", "-i", "--rm", "narumi/yfinance-mcp"]
}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
yfmcp-0.2.0-py3-none-any.whl
(5.0 kB
view details)
File details
Details for the file yfmcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: yfmcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01c269985ea561fbcf726cf42548cc12295b1f2b6e895c5e644183894e7300fd
|
|
| MD5 |
1fb6e07717c92168611696485d1e2a32
|
|
| BLAKE2b-256 |
8a12ade0829c66888708e3105f6e2850efd8cac9258803e1cfef77a0b27fc07e
|