Package Exports
- yfinance-mcp-server
- yfinance-mcp-server/bin/run.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (yfinance-mcp-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
YFinance MCP Server
A Model Context Protocol (MCP) server for accessing Yahoo Finance data through yfinance.
Features
- Get stock information
- Search for stocks
- Get latest stock news
Installation
npx @modelcontextprotocol/server-yfinance
Configuration
Add to your Cursor MCP configuration (~/.cursor/mcp.json
):
{
"mcpServers": {
"yfinance": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-yfinance"],
"protocol": "http",
"host": "localhost",
"port": 8000,
"endpoints": {
"get_stock_info": "/mcp_yfinance_get_stock_info",
"search_stocks": "/mcp_yfinance_search_stocks",
"get_news": "/mcp_yfinance_get_news"
}
}
}
}
Requirements
- Python 3.7+
- Node.js 14+
License
MIT