AlphaVantage MCP Server
AlphaVantage MCP 服务器
这是一个基于 MCP(模型控制协议)框架的服务器,旨在与 AlphaVantage 金融数据 API 服务集成。有关 AlphaVantage 的更多信息,请点击此处
项目概述
AlphaVantage 是一种 API 服务,提供实时和历史金融市场数据,包括:
股市数据
外汇数据
加密货币数据
技术指标
基本面数据
该项目将 AlphaVantage 的功能封装到 MCP 服务中,使其更容易与其他应用程序集成。
Related MCP server: AlphaVantage-MCP
MCP 服务器安装
先决条件
Python 3.12
pip 包管理器
安装步骤
克隆项目
git clone https://github.com/lifejwang11/alphavantage-mcp
cd alphavantage-mcp创建并激活虚拟环境(推荐)
python -m venv venv
source venv/bin/activate # Unix/macOS
# or
.\venv\Scripts\activate # Windows安装依赖项
pip install -r requirements.txt配置环境变量
export ALPHAVANTAGE_API_KEY=your_api_key启动服务器
python main.pyAlphaVantage 功能
该 MCP 服务器支持以下核心 AlphaVantage 功能:
股市数据
实时报价
历史价格数据
公司信息
技术指标
移动平均线
相对强弱指标
MACD 及其他
基本面数据
财务报表
收益报告
公司概况
使用指南
获取 AlphaVantage API 密钥
注册并获取API密钥
配置 API 密钥
在环境变量中设置 ALPHAVANTAGE_API_KEY
或者在配置文件中配置
服务电话
通过 MCP 协议拨打电话
详细接口规范请参考API文档
重要提示
有关 API 速率限制,请参阅 AlphaVantage 官方文档
建议在生产环境中使用高级 API 密钥来获得更高的速率限制
安全地处理 API 密钥,切勿在公共代码中暴露它们
贡献
欢迎提出问题和请求以帮助改进项目。
执照
MIT 许可证
版权所有 (c) 2025 lifejwang11
特此授予获得此软件和相关文档文件(“软件”)副本的任何人免费许可,以无限制方式处理软件,包括但不限于使用、复制、修改、合并、发布、分发、再授权和/或销售软件副本的权利,并允许向其提供软件的人员这样做,但须遵守以下条件:
上述版权声明和本许可声明均应包含在软件的所有副本或实质性部分中。
本软件按“原样”提供,不附带任何形式的明示或暗示保证,包括但不限于适销性、适用于特定用途和非侵权性的保证。在任何情况下,作者或版权所有者均不对因本软件或使用或以其他方式处理本软件而引起的或与之相关的任何索赔、损害或其他责任承担责任,无论是合同、侵权或其他诉讼。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
MCP server for Financial Modeling Prep API with 250+ financial data tools
Alpha Vantage MCP — Stock market data, fundamentals, and earnings
Official Intrinio MCP server. US stock prices, options and fundamentals for AI agents.
Financial data MCP server for global quotes, news, financials, funds, bonds, IPOs and macro data.
Related MCP Servers
- AlicenseBqualityDmaintenanceThis is an MCP server that provides access to the Alpha Vantage API, allowing stock data retrieval to be used as context to LLMs.29MIT
- AlicenseBqualityDmaintenanceA 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.12104MIT
- FlicenseAqualityDmaintenanceAn 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.74-
- AlicenseBqualityDmaintenanceThis is an MCP server that provides access to the Alpha Vantage API, allowing stock data retrieval to be used as context to LLMs.2MIT
Appeared in Searches
- A server for designing a portfolio
- A tool for stock taking or inventory management with MCP
- Comparison or Use of Alpaca, Alpha Vantage, and yFinance for Financial or Data Analysis
- Services for Getting Stock Market Data Using yFinance, Alpaca, Alpha Vantage, and RapidAI
- MetaTrader 5 (MT5) Trading Platform Information