Skip to main content
Glama

AlphaVantage MCP Server

MIT License
  • Linux
  • Apple

AlphaVantage MCP 服务器

这是一个基于 MCP(模型控制协议)框架的服务器,旨在与 AlphaVantage 金融数据 API 服务集成。有关 AlphaVantage 的更多信息,请点击此处

项目概述

AlphaVantage 是一种 API 服务,提供实时和历史金融市场数据,包括:

  • 股市数据
  • 外汇数据
  • 加密货币数据
  • 技术指标
  • 基本面数据

该项目将 AlphaVantage 的功能封装到 MCP 服务中,使其更容易与其他应用程序集成。

MCP 服务器安装

先决条件

  • Python 3.12
  • pip 包管理器

安装步骤

  1. 克隆项目
git clone https://github.com/lifejwang11/alphavantage-mcp cd alphavantage-mcp
  1. 创建并激活虚拟环境(推荐)
python -m venv venv source venv/bin/activate # Unix/macOS # or .\venv\Scripts\activate # Windows
  1. 安装依赖项
pip install -r requirements.txt
  1. 配置环境变量
export ALPHAVANTAGE_API_KEY=your_api_key
  1. 启动服务器
python main.py

AlphaVantage 功能

该 MCP 服务器支持以下核心 AlphaVantage 功能:

  1. 股市数据
    • 实时报价
    • 历史价格数据
    • 公司信息
  2. 技术指标
    • 移动平均线
    • 相对强弱指标
    • MACD 及其他
  3. 基本面数据
    • 财务报表
    • 收益报告
    • 公司概况

使用指南

  1. 获取 AlphaVantage API 密钥
  2. 配置 API 密钥
    • 在环境变量中设置 ALPHAVANTAGE_API_KEY
    • 或者在配置文件中配置
  3. 服务电话
    • 通过 MCP 协议拨打电话
    • 详细接口规范请参考API文档

重要提示

  • 有关 API 速率限制,请参阅 AlphaVantage 官方文档
  • 建议在生产环境中使用高级 API 密钥来获得更高的速率限制
  • 安全地处理 API 密钥,切勿在公共代码中暴露它们

贡献

欢迎提出问题和请求以帮助改进项目。

执照

MIT 许可证

版权所有 (c) 2025 lifejwang11

特此授予获得此软件和相关文档文件(“软件”)副本的任何人免费许可,以无限制方式处理软件,包括但不限于使用、复制、修改、合并、发布、分发、再授权和/或销售软件副本的权利,并允许向其提供软件的人员这样做,但须遵守以下条件:

上述版权声明和本许可声明均应包含在软件的所有副本或实质性部分中。

本软件按“原样”提供,不附带任何形式的明示或暗示保证,包括但不限于适销性、适用于特定用途和非侵权性的保证。在任何情况下,作者或版权所有者均不对因本软件或使用或以其他方式处理本软件而引起的或与之相关的任何索赔、损害或其他责任承担责任,无论是合同、侵权或其他诉讼。

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

与 AlphaVantage 金融数据 API 集成的 MCP 服务器,提供对股票市场数据、技术指标和基本财务信息的访问。

  1. 项目概述
    1. MCP 服务器安装
      1. 先决条件
      2. 安装步骤
    2. AlphaVantage 功能
      1. 使用指南
        1. 重要提示
          1. 贡献
            1. 执照

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol (MCP) server that provides real-time access to financial market data through the free Alpha Vantage API. This server implements a standardized interface for retrieving stock quotes and company information.
                Last updated -
                5
                30
                Python
                MIT License
                • Apple
              • -
                security
                F
                license
                -
                quality
                An MCP server implementation that integrates with Angle One APIs to provide standardized access to financial market data, trading operations, and portfolio management.
                Last updated -
                Python
              • -
                security
                F
                license
                -
                quality
                A TypeScript-based MCP server that fetches real-time stock market data and company financial information through the Alpha Vantage API.
                Last updated -
                JavaScript
                • Apple
              • A
                security
                F
                license
                A
                quality
                An MCP server that provides real-time financial data integration with Alpha Vantage's API, enabling access to stock market data, cryptocurrency prices, forex rates, and technical indicators.
                Last updated -
                7
                2
                JavaScript

              View all related MCP servers

              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/lifejwang11/alphavantage-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server