Integrations
Fetches and analyzes Fear & Greed Index data from CNN, providing current values, historical trends, and market sentiment analysis for investment decision-making.
Leverages data from GitHub repositories to provide financial analysis tools, with the finance-tools-mcp being derived from the investor-agent GitHub project.
Integrates with PyPI packages including yfinance for market data retrieval, ta-lib-python for technical indicators, and fredapi for macroeconomic indicators.
finance-tools-mcp:财务分析MCP服务器
概述
finance-tools-mcp是由investor-agent修改而来,它是一个模型上下文协议 (MCP) 服务器,可为大型语言模型提供全面的金融洞察和分析。它利用实时市场数据、新闻和高级分析功能,帮助用户获取:
- 详细的股票代码报告包括公司概况、新闻、关键指标、业绩、日期、分析师建议以及升级/降级。
- 期权数据显示未平仓合约量较高。
- 股票的历史价格趋势。
- 基本财务报表(收入、资产负债表、现金流量表)以百万美元为单位。
- 最新的机构所有权和共同基金持有量。
- 当前和历史 CNN 恐惧与贪婪指数数据和趋势分析。
- 与核心投资原则和投资组合构建策略相关的提示。
- 盈利历史和内幕交易活动。
- 来自 CNBC 的突发世界新闻。
- FRED系列搜索结果。
- 使用ta-lib-python的技术指标。
该服务器与yfinance集成以检索市场数据并从 CNN 获取恐惧与贪婪数据。
它还包括使用ta-lib-python计算数学表达式和技术指标的工具。
以及使用fredapi的宏观经济指标。
以及来自cnbc.com 的突发世界新闻。
如果您想在分析中加入最新消息,请确保启用网络搜索功能。
示例报告
先决条件
- Python: 3.10 或更高版本
- 软件包管理器: uv
安装
首先,如果尚未安装uv ,请安装它:
然后,您可以使用uvx
运行finance-tools-mcp MCP 服务器:
如果您想使用自己的 FRED API 密钥,可以将其设置为环境变量:
您还可以使用服务器发送事件(SSE)传输运行服务器:
或者使用 FRED API 密钥和 SSE 传输:
与 MCP 客户端一起使用
要将finance-tools-mcp与 MCP 客户端(例如 Claude Desktop)集成,请将以下配置添加到claude_desktop_config.json
:
调试
您可以利用 MCP 检查器来调试服务器:
或者
对于日志监控,请检查以下目录:
- macOS:
~/Library/Logs/Claude/mcp*.log
- Windows:
%APPDATA%\Claude\logs\mcp*.log
发展
对于本地开发和测试:
- 按照调试部分中的说明使用 MCP 检查器。
- 使用 Claude Desktop 进行以下配置测试:
执照
此 MCP 服务器采用 MIT 许可证。详情请参阅许可证文件。
示例
待办事项
- [ ] 添加股票支撑位和阻力位
- [ ] 为股票添加斐波那契回撤水平
- [ ] 添加股票移动平均汇合水平
- [-] 添加选项模型进行预测
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
MCP 服务器利用实时市场数据、新闻以及股票、期权、财务报表和经济指标的高级分析,提供全面的财务见解和分析。
Related Resources
Related MCP Servers
- -securityFlicense-qualityThe MCP Trader Server conducts comprehensive technical analysis on stocks, offering insights into trends, momentum indicators, volatility metrics, and volume analysis to support stock trading decisions.Last updated -29Python
- -securityAlicense-qualityAn MCP server that integrates with the AlphaVantage financial data API, providing access to stock market data, technical indicators, and fundamental financial information.Last updated -PythonMIT License
- -securityFlicense-qualityA TypeScript-based MCP server that fetches real-time stock market data and company financial information through the Alpha Vantage API.Last updated -JavaScript
- AsecurityFlicenseAqualityAn MCP server that provides real-time financial data integration with Alpha Vantage's API, enabling access to stock market data, cryptocurrency prices, forex rates, and technical indicators.Last updated -72JavaScript