AlphaVantage logo

AlphaVantage

Free

AlphaVantage 股票市场数据 API 服务器。

FreeFree tier
Type
Open Source

About AlphaVantage

AlphaVantage MCP Server is an official open-source server that provides a Model Context Protocol (MCP) interface to the Alpha Vantage stock market data API. It enables AI assistants and other MCP clients to retrieve real-time and historical stock data. The server supports two modes: standard stdio mode for tools like Claude Desktop, and a streamable HTTP server with optional OAuth 2.1 authentication for secure access. It can be installed via uvx, pip, or run directly from source, and requires a free Alpha Vantage API key set as an environment variable. The server is fully configurable and follows MCP security best practices, including token audience validation and session hijacking prevention.

Key Features

Provides MCP interface to Alpha Vantage stock market data API
Supports two server modes: stdio (default) and streamable HTTP
Optional OAuth 2.1 authentication for HTTP servers
Easy installation with uvx (recommended), pip, or from source
Configurable via environment variables (ALPHAVANTAGE_API_KEY, OAuth settings)
Supports JWT and token introspection validation methods
Follows MCP security best practices including token audience validation and session binding
Open source repository on GitHub with 74+ stars and active maintenance

Pros & Cons

Pros
  • Free and open source (MIT license)
  • Quick setup with uvx – no permanent installation required
  • Multiple deployment options (stdio, HTTP, HTTP with OAuth)
  • Built-in OAuth support for production-grade security
  • Official server from Alpha Vantage ecosystem
Cons
  • Requires a free Alpha Vantage API key (third-party registration needed)
  • API key must be set as an environment variable, which may complicate some deployments
  • Limited documentation beyond the README and basic setup instructions
  • Relies on Alpha Vantage API availability and rate limits (free tier has restrictions)

Best For

Enabling AI assistants (e.g., Claude Desktop) to query stock market dataIntegrating real-time stock data into custom MCP-compatible applicationsBuilding automated trading or analysis workflows with MCP-based toolsDeveloping secure, authenticated financial data servers using OAuth 2.1

FAQ

What is AlphaVantage MCP Server?
It is an official open-source MCP server that provides a Model Context Protocol interface to the Alpha Vantage stock market data API, allowing AI assistants and other MCP clients to retrieve stock data.
How do I install the AlphaVantage MCP Server?
The easiest method is using uvx: 'uvx alphavantage-mcp'. You can also install via pip: 'pip install alphavantage-mcp', or clone the repository and run from source with 'uv run alphavantage'.
What server modes are available?
Two modes: stdio (default, for tools like Claude Desktop) and streamable HTTP. The HTTP mode can be secured with optional OAuth 2.1 authentication using the --oauth flag.
Do I need an API key?
Yes, you must sign up for a free Alpha Vantage API key and set it as the environment variable ALPHAVANTAGE_API_KEY.
Is the AlphaVantage MCP Server free?
The server software is free and open source. However, usage of the Alpha Vantage API is subject to its own terms and rate limits (free tier available).