by calvernaz
Connect to 100+ APIs for financial market data, including stock prices, fundamentals, and more from AlphaVantage.
The AlphaVantage MCP Server provides a bridge to the AlphaVantage API, allowing users to access a wide range of financial market data through natural language queries in compatible clients. It supports fetching stock prices, fundamental data, and more.
To get started, you need to obtain a free API key from the AlphaVantage website. After cloning the repository, you can run the server in either stdio or HTTP mode. For desktop clients like Claude, you need to add the server configuration to the claude_desktop_config.json
file, including your API key.
A MCP server for the stock market data API, Alphavantage API.
ALPHAVANTAGE_API_KEY
git clone https://github.com/calvernaz/alphavantage.git
The AlphaVantage server can run in two different modes:
This is the standard MCP server mode used for tools like Claude Desktop.
alphavantage
# or explicitly:
alphavantage --server stdio
This mode provides real-time updates via HTTP streaming.
alphavantage --server http --port 8080
Options:
--server
: Choose between stdio
(default) or http
server mode--port
: Specify the port for the Streamable HTTP server (default: 8080)Add this to your claude_desktop_config.json
:
NOTE Make sure you replace the <DIRECTORY-OF-CLONED-PROJECT>
with the directory of the cloned project.
{
"mcpServers": {
"alphavantage": {
"command": "uv",
"args": [
"--directory",
"<DIRECTORY-OF-CLONED-PROJECT>/alphavantage",
"run",
"alphavantage"
],
"env": {
"ALPHAVANTAGE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
{
"mcpServers": {
"alphavantage": {
"command": "uv",
"args": [
"--directory",
"<DIRECTORY-OF-CLONED-PROJECT>/alphavantage",
"run",
"alphavantage",
"--server",
"http",
"--port",
"8080"
],
"env": {
"ALPHAVANTAGE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
Watch a quick demonstration of the Alpha Vantage MCP Server in action:
We welcome contributions from the community! To get started, check out our contribution guide for setup instructions, development tips, and guidelines.
Reviews feature coming soon
Stay tuned for community discussions and feedback