XF

xbluecode/findata-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

9 stars 7 forks 质量 51 趋势 7

这是一个MCP服务器,提供对Alpha Vantage API的访问,允许将库存数据检索作为LLMs的上下文.

概览

这是一个MCP服务器,提供对Alpha Vantage API的访问,允许将库存数据检索作为LLMs的上下文. *获得斯托克引文:获取当前引文作为股票. * 获得历史 数据:获取库存的历史数据(每日、每周或每月)。 * (稍后将增加更多的工具,用于技术分析、公司概况等) 要通过 Smithery 为 Claude 桌面自动安装财务数据服务器 : 1. 从 Alpha Vantage 获取 API 密钥 https://www.alphavantage.co/support/#api-key. 2. 配置您的 MCP 客户端( 如 Claude Desktop) 连接到服务器 : 符号:股票符号(例如AAPL) 输出示例: - 符号:库存符号(如AAPL) - 间隔:数据的时间间隔(每日,每周,或每月)(可选,默认:每日) - 输出:输出的大小(可选,默认:压缩) JSON对象包含历史数据. 输出的结构取决于间隔参数.

概述(AI 翻译)

这是一个MCP服务器,提供对Alpha Vantage API的访问,允许将库存数据检索作为LLMs的上下文.

□ 可用的特性

  • [getStockQuote: 获取当前引用的股票 。
  • [[T1]: 获取股票的历史数据(每日、每周或每月)。
  • (稍后将增加更多的工具,用于技术分析、公司概况等)

□ 设置

通过 Smithery 安装

要通过 Smithery 为 Claude 桌面自动安装财务数据服务器 :

手动安装

□ 主机使用量

  1. 从 Alpha Vantage 获取 API 密钥 https://www.alphavantage.co/support/#api-key.

  2. 配置您的 MCP 客户端( 如 Claude Desktop) 连接到服务器 :

□ 工具 getStockQuote 获取当前引用的股票 。

输入 :

[[T4]: 股票符号( 如 AAPL) 输出示例:

getHistoricalData 获取股票的历史数据。

输入 :

  • [[T6]:股票符号(例如AAPL)
  • [[T7]:数据([[T8]、[T9]或[T10]])的时间间隔(可选,默认:[T11])
  • [[T12]:输出的大小([[T13]或[T14])(可选,默认:[T15]) 输出 :

JSON对象包含历史数据.

本页由 AI 翻译,技术细节请以原文为准。

README

Financial Data - MCP Server

This is an MCP server that provides access to the Alpha Vantage API, allowing stock data retrieval to be used as context to LLMs.

Available Features

  • getStockQuote: Get the current quote for a stock.
  • getHistoricalData: Get historical data for a stock (daily, weekly, or monthly).
  • (More tools will be added later for technical analysis, company overview, etc.)

Setup

Installing via Smithery

To install Financial Data Server for Claude Desktop automatically via Smithery:

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

Manual Installation

npm install findata-mcp-server

Usage in Host

  1. Obtain an API key from Alpha Vantage https://www.alphavantage.co/support/#api-key.

  2. Configure your MCP client (e.g., Claude Desktop) to connect to the server:

{
  "mcpServers": {
    "alphaVantage": {
      "command": "npx",
      "args": ["-y", "findata-mcp-server"],
      "env": {
        "ALPHA_VANTAGE_API_KEY": "PUT_YOUR_API_KEY_HERE"
      }
    }
  }
}

Tools

getStockQuote

Get the current quote for a stock.

Input:

symbol: The stock symbol (e.g., AAPL) Output Example:

getHistoricalData

Get historical data for a stock.

Input:

  • symbol: the stock symbol (e.g., AAPL)
  • interval: the time interval for the data (daily, weekly, or monthly) (optional, default: daily)
  • outputsize: the size of the output (compact or full) (optional, default: compact) Output:

JSON object containing the historical data. The structure of the output depends on the interval parameter.

Contributing

Contributions are welcome! Please open an issue or pull request.

License

MIT

在 GitHub 查看完整 README

安装

npx -y findata-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "alphaVantage": { "command": "npx", "args": ["-y", "findata-mcp-server"], "env": { "ALPHA_VANTAGE_API_KEY": "PUT_YOUR_API_KEY_HERE" } } } }