返回 MCP 目录
public公开dns本地运行

金融数据MCP服务器

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

article

README

Financial Data - MCP Server

smithery badge

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

findata-mcp-server MCP server

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

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端