查找Alpha AI MCP服务器
](https://smithery.ai/server/findingalpha-ai-mcp)
FindingAlpha AI的模型上下文协议服务器,为公开交易股票的基本面分析和处理提供各种工具。
安装
通过史密瑟里
npx -y @smithery/cli install findingalpha-ai-mcp --client claude通过npm
npm install findingalpha-ai-mcp发展
先决条件
- Node.js 18或更高版本
- npm
设置
- 安装依赖项:
npm install- 构建服务器:
npm run build- 对于自动重建的开发:
npm run watch测试
npm test使用示例
许可证
MIT许可证-请参阅 许可证 了解详情。
API终点
MCP服务器提供以下端点:
- 细分收入
- 端点: segmented-revenue - 参数: ticker (string)-股票代码(例如AAPL) - 例子: segmented-revenue 随着 { "ticker": "AAPL" }
- 按名称列出的国会交易
- 端点: congress-trades-by-name - 参数: name (string)-国会议员的名字(例如nancy) - 例子: congress-trades-by-name 随着 { "name": "nancy" }
- Ticker的国会交易
- 端点: congress-trades-by-ticker - 参数: ticker (string)-股票代码(例如AAPL) - 例子: congress-trades-by-ticker 随着 { "ticker": "AAPL" }
测试
该项目包括集成测试和单元测试。
运行测试
# Run all tests
npm test
# Run only client integration tests
npm run test:client
# Run only unit tests
npm run test:unit测试文件
- 集成测试:
test-client.js - 单元测试:
- src/__tests__/segmented-revenue.test.ts - src/__tests__/congress-trades.test.ts
