Y

Yfinance MCP Server

An unofficial MCP server for retrieving Yahoo Finance stock data through yfinance, providing historical data query functionality.
2 points
11

What is the yfinance-MCP server?

The yfinance-MCP server is a tool based on the Message Control Protocol (MCP) that accesses data from Yahoo Finance through the yfinance library. It can easily retrieve historical stock data and supports various time periods and interval settings.

How to use the yfinance-MCP server?

First, make sure you have the Node.js environment installed. Then, you can start the server with a simple command and interact with it using any MCP client to retrieve stock data.

Applicable scenarios

The yfinance-MCP server is suitable for researchers, investors, and developers who need to quickly retrieve historical stock data. It is a very useful tool for both data analysis and building financial applications.

Main Features

Retrieve historical stock dataSupports custom time periods (e.g., 1 day, 5 days, 1 month, etc.) and time intervals (e.g., daily, weekly, monthly).
Support multiple data formatsCan return data in various formats such as tables and charts for further analysis.
Cross-platform compatibilitySuitable for various operating systems and devices and can run without additional configuration.

Advantages and Limitations

Advantages
Easy to integrate into existing systems
Data is updated in real-time and accurate
Open source and free, with active community support
Limitations
Depends on the Yahoo Finance API and may be subject to API restrictions
Limited to historical data and cannot predict future trends

How to Use

Install Node.js
Download and install the latest version of the Node.js environment.
Clone the repository
Clone the project code from GitHub to your local machine.
Install dependencies
Install the required dependencies after entering the project directory.
Start the server
Start the server using the npm command.

Usage Examples

Retrieve historical stock data of Apple Inc.Request to retrieve the daily stock data of Apple Inc. for the past month and format it as a Markdown table.
Analyze the stock price fluctuations of GoogleRequest to retrieve the monthly stock data of Google for the past six months and analyze its price fluctuation trends.

Frequently Asked Questions

How to start using the yfinance-MCP server?
Does it support data for other currency pairs?
How to handle API restriction issues?

Related Resources

GitHub Repository
Project source code and documentation
Node.js Official Website
Node.js installation guide
YouTube Tutorial
Quick start guide video
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "yfinance": {
      "command": "npx",
      "args": [
        "@onori/yfinance-mcp-server"
      ]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
M
MCP Server Airbnb
Certified
MCP service for Airbnb listing search and details query
TypeScript
250
4 points
A
Awesome Web3 MCP Servers
This is a curated list of Web3 Model Context Protocol (MCP) servers, covering multiple categories such as chain interaction, trading, DeFi, market data, tools, and social. MCP is an open protocol that standardizes how applications provide context to LLMs, similar to the USB - C port for AI applications. DeMCP is the first decentralized MCP network, focusing on providing self - developed and open - source MCP services for agents, supporting cryptocurrency payments, and redefining the security and reliability of MCP by combining TEE and blockchain registries.
451
4.5 points
F
Firecrawl MCP Server
The Firecrawl MCP Server is a Model Context Protocol server integrating Firecrawl's web - scraping capabilities, providing rich web - scraping, searching, and content - extraction functions.
TypeScript
3.9K
5 points
R
Rednote MCP
RedNote MCP is a tool that provides services for accessing Xiaohongshu content. It supports functions such as authentication management, keyword - based note search, and command - line initialization, and can access note content via URL.
TypeScript
451
4.5 points
P
Perplexity MCP
Certified
An MCP server based on the Perplexity AI API, providing web search functionality for the Claude desktop client.
Python
271
4.1 points
S
Stripe Agent Toolkit
The Stripe Agent Toolkit is a toolkit that supports the integration of multiple AI agent frameworks (such as OpenAI, LangChain, CrewAI, etc.) with the Stripe API. It provides support for Python and TypeScript, simplifying payment-related operations.
TypeScript
741
5 points
E
Exa Web Search
Certified
The Exa MCP Server is a server that provides web search capabilities for AI assistants (such as Claude), enabling real-time and secure web information retrieval through the Exa AI Search API.
TypeScript
1.8K
5 points
P
Perplexity Research Assistant
The Perplexity MCP Server is an intelligent research assistant that uses Perplexity's AI model to automatically analyze query complexity and select the best model to process requests. It supports three tools: search, reasoning, and in - depth research.
TypeScript
268
4.5 points
Featured MCP Services
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
832
4.3 points
M
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
G
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
90
4.3 points
N
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
145
4.5 points
U
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#
569
5 points
F
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
C
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
G
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
285
4.5 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase