yfinance
MCP server for Yahoo Finance (Unofficial)
How to use
The yfinance MCP server provides developers with an unofficial interface to access Yahoo Finance data efficiently. By leveraging this server, you can retrieve stock prices, historical market data, and other financial information seamlessly, making it a valuable tool for building financial applications and conducting market analysis.
Once connected to the yfinance MCP server, you can interact with it by sending HTTP requests to fetch various financial data. Use commands to request stock quotes, historical data, or company information. For optimal results, structure your queries to specify the ticker symbols and the type of data you need, allowing for precise and tailored responses.
How to install
To install the yfinance MCP server, you need to have Node.js and npm installed on your machine. Follow one of the options below:
Option A: Quick start with npx
You can quickly start the server without a global installation by using npx:
npx -y yfinance-mcp-server
Option B: Global install alternative
If you prefer to install it globally, use the following command:
npm install -g yfinance-mcp-server
Additional notes
When configuring the yfinance MCP server, make sure to check for any necessary environment variables that might be required for optimal operation. Additionally, be aware of rate limits imposed by Yahoo Finance to avoid being temporarily blocked from accessing data. If you encounter issues, verify your network settings and ensure that the server is running correctly.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP