Get the latest stock quote for a specific company
Get stock-related information for a specific company
Get current cryptocurrency exchange rates
Get historical daily price data for a stock
Get historical options chain data with sorting capabilities
Get daily time series data for a cryptocurrency
Get weekly time series data for a cryptocurrency
Get monthly time series data for a cryptocurrency
Alpha Vantage provides a standardized interface for retrieving financial market data including stock quotes, company information, and cryptocurrency exchange rates. This server connects to the Alpha Vantage API to deliver real-time and historical financial data with built-in error handling and rate limit management. With Alpha Vantage, you can access detailed stock information, cryptocurrency exchange rates, time series data, and options chain information. The server supports various data formats and filtering options to help you get precisely the financial information you need.
Alpha Vantage MCP Server provides access to financial market data through the Alpha Vantage API. This server allows you to retrieve stock quotes, company information, cryptocurrency exchange rates, and historical price data.
Before using this MCP server, you'll need:
Clone the repository:
git clone https://github.com/berlinbra/alpha-vantage-mcp.git
cd alpha-vantage-mcp
Build the Docker image:
docker build -t mcp/alpha-vantage .
Update your Claude Desktop configuration file (claude_desktop_config.json
):
~/Library/Application\ Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
Add the following configuration, replacing REPLACE_API_KEY
with your actual Alpha Vantage API key:
{
"mcpServers": {
"alphavantage": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"ALPHA_VANTAGE_API_KEY",
"mcp/alpha-vantage"
],
"env": {
"ALPHA_VANTAGE_API_KEY": "REPLACE_API_KEY"
}
}
}
}
For automatic installation via Smithery:
npx -y @smithery/cli install @berlinbra/alpha-vantage-mcp --client claude
Clone the repository:
git clone https://github.com/berlinbra/alpha-vantage-mcp.git
cd alpha-vantage-mcp
Install packages:
uv install -e .
Update your Claude Desktop configuration file:
{
"mcpServers": {
"alpha-vantage-mcp": {
"args": [
"--directory",
"/path/to/alpha-vantage-mcp",
"run",
"alpha-vantage-mcp"
],
"command": "uv",
"env": {
"ALPHA_VANTAGE_API_KEY": "YOUR_API_KEY"
}
}
}
}
Run the server manually (optional):
uv run src/alpha_vantage_mcp/server.py
Once installed, you can use the Alpha Vantage MCP server in Claude Desktop or other compatible clients. The server provides several tools for accessing financial data:
get-stock-quote
to retrieve current stock prices and trading informationget-company-info
to get detailed information about companiesget-crypto-exchange-rate
to check cryptocurrency exchange ratesget-time-series
to retrieve historical stock price dataget-historical-options
to access options chain dataget-crypto-daily
, get-crypto-weekly
, and get-crypto-monthly
to retrieve cryptocurrency time series dataThe free Alpha Vantage API has rate limits (typically 5 API calls per minute and 500 calls per day). The server includes built-in error handling for rate limit issues, but be mindful of these limitations when making requests.
If you encounter issues:
For more detailed information, visit the GitHub repository.