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.
财务数据 - MCP 服务器
这是一个 MCP 服务器,提供对 Alpha Vantage API 的访问,允许将股票数据检索用作 LLM 的上下文。
可用功能
getStockQuote
:获取股票的当前报价。getHistoricalData
:获取股票的历史数据(每日、每周或每月)。- (稍后将添加更多工具,用于技术分析、公司概况等)
设置
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装财务数据服务器:
Copy
手动安装
Copy
在主机中使用
- 从 Alpha Vantage 获取 API 密钥https://www.alphavantage.co/support/#api-key 。
- 配置您的 MCP 客户端(例如,Claude Desktop)以连接到服务器:
Copy
工具
getStockQuote
获取股票的当前报价。
输入:
symbol
:股票代码(例如 AAPL)输出示例:
getHistoricalData
获取股票的历史数据。
输入:
symbol
:股票代码(例如 AAPL)interval
:数据的时间间隔(daily
、weekly
或monthly
)(可选,默认值:daily
)outputsize
:输出的大小(compact
或full
)(可选,默认值:compact
)输出:
包含历史数据的 JSON 对象。输出的结构取决于间隔参数。
贡献
欢迎贡献!请提交 issue 或 pull request。
执照
麻省理工学院
You must be authenticated.
这是一个 MCP 服务器,提供对 Alpha Vantage API 的访问,允许将股票数据检索用作 LLM 的上下文。