MCP Yahoo Finance
@maxscheijen
A Model Context Protocol (MCP) server for Yahoo Finance.
概要
What is MCP Yahoo Finance?
MCP Yahoo Finance is a Model Context Protocol (MCP) server that provides tools for interacting with Yahoo Finance data, including stock pricing and company information. It is designed for users of MCP clients like Claude Desktop or VSCode who want to query financial data through natural language prompts.
How to use MCP Yahoo Finance?
Install and run using uvx mcp-yahoo-finance without manual setup. Alternatively, install via pip install mcp-yahoo-finance or clone the repository and run uv sync. Configure the server in your MCP client by adding the command and arguments to the appropriate configuration file (e.g., claude_desktop_config.json or .vscode/mcp.json).
Key features of MCP Yahoo Finance
- Get current stock price for any ticker symbol
- Compare stock prices between multiple companies
- Query historical price changes over custom date ranges
- Retrieve available options expiration dates
- View call and put options chains for a ticker
- No API keys or external services required
Use cases of MCP Yahoo Finance
- Ask “What is the stock price of Apple?” during a conversation
- Compare “What is the difference in stock price between Apple and Google?”
- Analyze price movement: “How much did Apple’s stock change between 2024-01-01 and 2025-01-01?”
- Explore options: “Show me the options chain for AAPL expiring on 2024-01-19”
- Monitor multiple tickers without leaving your MCP client
FAQ from MCP Yahoo Finance
How do I install MCP Yahoo Finance?
You can run it directly with uvx mcp-yahoo-finance without manual installation, or install it with pip install mcp-yahoo-finance and clone the repository from GitHub.
How do I configure MCP Yahoo Finance with Claude Desktop?
Add the following JSON to your claude_desktop_config.json: {"mcpServers": {"yahoo-finance": {"command": "uvx", "args": ["mcp-yahoo-finance"]}}}.
What kinds of questions can I ask MCP Yahoo Finance?
Examples include stock price queries, price comparisons, historical changes, options expiration dates, and options chains for tickers like AAPL, GOOG, or TSLA.
Is MCP Yahoo Finance stable?
It is currently in early development, so functionality and available tools are subject to change and expansion.
Do I need an API key to use MCP Yahoo Finance?
No API keys or external authentication are mentioned in the documentation; the server relies on publicly available Yahoo Finance data.