home / mcp / alpha vantage mcp server

Alpha Vantage MCP Server

Provides real-time and historical stock market data via Alpha Vantage through the MCP with HTTP and local stdio options.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "alphavantage-alpha_vantage_mcp": {
      "url": "https://mcp.alphavantage.co/mcp?apikey=YOUR_API_KEY"
    }
  }
}

This MCP server from Alpha Vantage lets you access real-time and historical stock market data through the Model Context Protocol. You can connect popular tools and agents to fetch market data, run analyses, and power data-driven workflows with ease.

How to use

You can interact with the Alpha Vantage MCP server through your MCP-enabled client by discovering available tools and then calling them through a wrapper. Use TOOL_LIST to enumerate accessible functions, then call a specific function with TOOL_CALL and a structured arguments payload. This approach centralizes access to market data and keeps tool usage consistent across agents and platforms.

How to install

Prerequisites: You should have a supported MCP client and, if you plan to run a local server, a functioning Python environment and the uv tool installed.

# Install the local runner tool for MCP
curl -LsSf https://astral.sh/uv/install.sh | sh

# (Optional) Verify uv installation
uv --version

Additional setup and configuration

There are two primary ways to connect to the Alpha Vantage MCP server: a remote HTTP connection and a local stdio connection. Choose the method that best fits your workflow and agent configuration.

{
  "type": "http",
  "name": "alphavantage_http",
  "url": "https://mcp.alphavantage.co/mcp?apikey=YOUR_API_KEY",
  "args": []
}

Security and keys

Your Alpha Vantage API key must be kept secret. Do not expose it in public configurations. Use the API key as shown in the HTTP example above by replacing YOUR_API_KEY with your actual key.