使用说明
y金融mcp
用于股票筛选的MCP服务器,使用yfinance库构建。
设立
- 下载并安装
uv uv venv .venvuv pip install .
运行
uv run -m yfinance_mcp.main
运行开发测试
pytest
运行测试客户端
uv run -m yfinance_mcp.test_client
参考文献
- https://github.com/jlowin/fastmcp
- https://github.com/ranaroussi/yfinance
