Yfinance Trader
A stock market data and trading tool based on the yfinance library, providing functions such as real-time quotes, company information, and historical data
rating : 2.5 points
downloads : 23
What is the YFinance Trader MCP Server?
The YFinance Trader MCP Server is a powerful tool that uses the yfinance library to provide you with real-time stock market data, company financial information, and trading capabilities. Whether you're querying stock prices, obtaining company profiles, or analyzing historical data, this tool can meet your needs.How to use the YFinance Trader MCP Server?
First, ensure that Python 3.10 or a higher version is installed, and then configure the server by installing the dependency packages. Finally, set up and start the server in Cursor to start using it.Use Cases
Suitable for individual investors, analysts, or anyone who needs real-time stock data. Whether you want to track the performance of a specific company or obtain comprehensive investment advice, this tool can help you achieve your goals quickly.Main Features
Get Real-Time Stock QuotesDisplay key indicators such as stock prices, price changes, and trading volumes in real-time.
Get Company OverviewUnderstand the company's basic information, industry positioning, and financial health.
Get Daily Historical Price DataView the daily price trends over the past few days or even years.
Stock SearchEasily find the securities codes of interest and their related information.
Get Analyst RecommendationsView the investment ratings of a particular stock by professional institutions.
Get Insider Transaction RecordsTrack the latest trading activities of company executives or major shareholders.
Advantages and Limitations
Advantages
Real-time data updates ensure accurate information.
Rich features cover multiple aspects of the stock market.
Easy to integrate into existing systems.
Open source and free to use, with no additional costs.
Limitations
A stable network connection is required to ensure smooth data flow.
Some advanced features may be affected by API limitations.
Only supports stock data from some international markets.
How to Use
Install the Python Environment
Please confirm that Python 3.10 or a higher version is installed and check if it has been added to the system PATH variable.
Install Dependencies
Run the following command to install the required Python libraries: `pip install -r requirements.txt` or use the `pyproject.toml` file for installation.
Configure the MCP Server in Cursor
Add a new MCP server in the Cursor settings and fill in the name, path, and command.
Usage Examples
Query the Real-Time Stock Price of Apple Inc.Demonstrate how to call the get_stock_quote function to obtain the latest quote of Apple Inc.
Search for Tesla-Related StocksShow how to use the search_symbol function to find securities related to Tesla.
Frequently Asked Questions
How can I ensure that my data is up-to-date?
What should I do if I encounter an error?
Does it support custom filtering conditions?
Related Resources
Official Documentation
Learn more about the YFinance Trader MCP Server.
GitHub Code Repository
Access the source code and contribute.
Example Projects
View some practical application examples.
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
86
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
565
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
282
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points