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.
This repository provides an MCP (Modular Computation Platform) server designed to interface with the Alphavantage API, a service providing stock market data.
ALPHAVANTAGE_API_KEY
.git clone https://github.com/calvernaz/alphavantage.git
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.
calvernaz/alphavantage
December 6, 2024
March 27, 2025
Python