Home / MCP / Alphavantage MCP Server

Alphavantage MCP Server

Provides access to Alphavantage stock market data via an MCP server, enabling clients to query prices and financial data.

other
Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
    "mcpServers": {
        "alphavantage": {
            "command": "uv",
            "args": [
                "--directory",
                "<DIRECTORY>/alphavantage",
                "run",
                "alphavantage"
            ],
            "env": {
                "ALPHAVANTAGE_API_KEY": "YOUR_API_KEY_HERE"
            }
        }
    }
}

This MCP server provides access to Alphavantage stock market data through a dedicated MCP endpoint. You can run it locally and connect your MCP client to retrieve quotes, time series, and other market data using the Alphavantage API key you provide as an environment variable.

How to use

To use this server, you start it with the MCP runtime and point your client to the server’s command. You must supply your Alphavantage API key as an environment variable so the server can fetch data from the remote API.

How to install

Prerequisites: ensure you have the MCP runtime available on your system. You will run the Alphavantage MCP Server using the provided stdio configuration command.

Step-by-step commands you should follow in your environment:

1) Prepare your environment with the API key shown in the configuration snippet.

2) Run the MCP server using the exact command and arguments shown in the configuration example below.

Additional notes

Get an API key from Alphavantage and set it as an environment variable named ALPHAVANTAGE_API_KEY.

{
  "mcpServers": {
    "alphavantage": {
      "command": "uv",
      "args": [
        "--directory",
        "<DIRECTORY>/alphavantage",
        "run",
        "alphavantage"
      ],
      "env": {
        "ALPHAVANTAGE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}