财务数据 - MCP 服务器
这是一个 MCP 服务器,提供对 Alpha Vantage API 的访问,允许将股票数据检索用作 LLM 的上下文。
可用功能
getStockQuote:获取股票的当前报价。getHistoricalData:获取股票的历史数据(每日、每周或每月)。(稍后将添加更多工具,用于技术分析、公司概况等)
Related MCP server: @qubaomingg/stock-mcp
设置
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装财务数据服务器:
npx -y @smithery/cli install findata-mcp-server --client claude手动安装
npm install findata-mcp-server在主机中使用
从 Alpha Vantage 获取 API 密钥https://www.alphavantage.co/support/#api-key 。
配置您的 MCP 客户端(例如,Claude Desktop)以连接到服务器:
{
"mcpServers": {
"alphaVantage": {
"command": "npx",
"args": ["-y", "findata-mcp-server"],
"env": {
"ALPHA_VANTAGE_API_KEY": "PUT_YOUR_API_KEY_HERE"
}
}
}
}工具
getStockQuote
获取股票的当前报价。
输入:
symbol :股票代码(例如 AAPL)输出示例:
getHistoricalData
获取股票的历史数据。
输入:
symbol:股票代码(例如 AAPL)interval:数据的时间间隔(daily、weekly或monthly)(可选,默认值:daily)outputsize:输出的大小(compact或full)(可选,默认值:compact)输出:
包含历史数据的 JSON 对象。输出的结构取决于间隔参数。
贡献
欢迎贡献!请提交 issue 或 pull request。
执照
麻省理工学院
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xBlueCode/findata-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
