alphavantage

This repository provides an MCP server for accessing stock market data from the Alphavantage API, requiring users to obtain an API key and configure their environment with the provided instructions.

52
4

Alphavantage MCP Server

smithery badge

This repository provides an MCP (Modular Computation Platform) server designed to interface with the Alphavantage API, a service providing stock market data.

Configuration

Obtaining an API Key

  1. Register for a Free Alphavantage API key.
  2. Set the API key as an environment variable named ALPHAVANTAGE_API_KEY.

Cloning the Project

git clone https://github.com/calvernaz/alphavantage.git

Integration with Claude Desktop

To use this server with Claude Desktop, add the following configuration to your claude_desktop_config.json file:

NOTE: Replace <DIRECTORY-OF-CLONED-PROJECT> with the actual path to the cloned project directory.

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

This configuration defines an MCP server named "alphavantage" that uses the uv command to execute the server. The args specify the directory and the command to run. The env section sets the ALPHAVANTAGE_API_KEY environment variable, which is required for the server to authenticate with the Alphavantage API. Remember to replace "YOUR_API_KEY_HERE" with your actual API key.

Repository

CA
calvernaz

calvernaz/alphavantage

Created

December 6, 2024

Updated

March 27, 2025

Language

Python

Category

Developer Tools