findata-mcp-server

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 安装财务数据服务器:

npx -y @smithery/cli install findata-mcp-server --client claude

手动安装

npm install findata-mcp-server

在主机中使用

  1. 从 Alpha Vantage 获取 API 密钥https://www.alphavantage.co/support/#api-key
  2. 配置您的 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 :数据的时间间隔( dailyweeklymonthly )(可选,默认值: daily
  • outputsize :输出的大小( compactfull )(可选,默认值: compact )输出:

包含历史数据的 JSON 对象。输出的结构取决于间隔参数。

贡献

欢迎贡献!请提交 issue 或 pull request。

执照

麻省理工学院

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

这是一个 MCP 服务器,提供对 Alpha Vantage API 的访问,允许将股票数据检索用作 LLM 的上下文。

  1. Available Features
    1. Setup
      1. Installing via Smithery
      2. Manual Installation
    2. Usage in Host
      1. Tools
        1. getStockQuote
        2. getHistoricalData
      2. Contributing
        1. License
      ID: czslwc47w9