AlphaVantage MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AlphaVantage MCP ServerGet the latest news and sentiment analysis for NVDA"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AlphaVantage MCP Server
A Model Context Protocol (MCP) server that provides comprehensive market data and fundamental analysis through the AlphaVantage API. Designed for integration with Claude Desktop and other MCP-compatible clients.
Requirements
Python 3.10 - 3.12
uv package manager
AlphaVantage API key (get one free)
Related MCP server: Stocks MCP Server
Installation
# Clone the repository
git clone <repo-url>
cd alphavantage_mcp
# Install dependencies
uv syncConfiguration
Set your AlphaVantage API key as an environment variable:
# macOS/Linux
export ALPHA_VANTAGE_API_KEY=your_key_here
# Windows (Command Prompt)
set ALPHA_VANTAGE_API_KEY=your_key_here
# Windows (PowerShell)
$env:ALPHA_VANTAGE_API_KEY="your_key_here"Or create a .env file in the project directory:
ALPHA_VANTAGE_API_KEY=your_alphavantage_api_keyServer Configuration (Optional)
Variable | Description | Default |
| Enable debug mode |
|
| Server port |
|
| Log level (DEBUG, INFO, WARNING, ERROR) |
|
Running the Server
# Direct execution
uv run alphavantage-mcp-server
# Using launch script (macOS/Linux)
./launch-alphavantage.sh
# Using launch script (Windows)
launch-alphavantage.batUsage with Claude Desktop
Add to your Claude Desktop configuration file:
Platform | Config Location |
macOS |
|
Windows |
|
Linux |
|
Option 1: Using launch script (recommended)
{
"mcpServers": {
"alphavantage-data": {
"command": "/path/to/alphavantage_mcp/launch-alphavantage.sh",
"env": {
"ALPHA_VANTAGE_API_KEY": "your_key"
}
}
}
}Option 2: Using absolute path to uv
First, find your uv path: which uv
{
"mcpServers": {
"alphavantage-data": {
"command": "/Users/yourname/.local/bin/uv",
"args": ["run", "alphavantage-mcp-server"],
"cwd": "/path/to/alphavantage_mcp",
"env": {
"ALPHA_VANTAGE_API_KEY": "your_key"
}
}
}
}Note: GUI applications like Claude Desktop don't inherit your shell's PATH, so using absolute paths is more reliable than relying on uv being in PATH.
On Windows, use backslashes: "cwd": "C:\\path\\to\\alphavantage_mcp"
Available Tools
Fundamental Data
Tool | Description | Parameters |
| Company fundamentals including PE ratio, market cap, EPS, margins, and more |
|
| Annual income statement data (last 20 periods) |
|
| Annual balance sheet data (last 20 periods) |
|
| Annual cash flow statements (last 20 periods) |
|
| Quarterly or annual earnings data |
|
Market Data
Tool | Description | Parameters |
| Daily OHLCV data |
|
| Intraday price data |
|
News & Sentiment
Tool | Description | Parameters |
| Market news with sentiment analysis |
|
Technical Analysis
Tool | Description | Parameters |
| Calculate technical indicators |
|
Supported indicators (TechnicalIndicator enum):
RSI- Relative Strength IndexMACD- Moving Average Convergence DivergenceBOLLINGER_BANDS- Bollinger BandsSMA- Simple Moving AverageEMA- Exponential Moving AverageSTOCHASTIC- Stochastic OscillatorADX- Average Directional IndexWILLIAMS_R- Williams %R
Supported timeframes (TimeFrame enum):
MINUTE- 1 minuteFIVE_MINUTES- 5 minutesFIFTEEN_MINUTES- 15 minutesTHIRTY_MINUTES- 30 minutesHOUR- 1 hourDAILY- DailyWEEKLY- WeeklyMONTHLY- Monthly
Examples
Get company fundamentals:
"Get the company overview for AAPL"Analyze price trends:
"Show me the daily prices for TSLA over the last 100 days"Technical analysis:
"Calculate the RSI for MSFT with a 14-day period"Market news:
"Get recent news about NVDA with sentiment analysis"Development
# Install with dev dependencies
uv sync --extra dev
# Run the server directly
uv run alphavantage-mcp-server
# Run tests
uv run pytest
# Type checking
uv run mypy .
# Format code
uv run black .API Rate Limits
The free AlphaVantage API tier allows 25 requests per day. Consider upgrading to a premium plan for higher limits.
Security Notes
Never commit API keys to version control
Use environment variables or secure secret management for API keys
The server validates all inputs to prevent injection attacks
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceProvides comprehensive financial market data and news through the Finnhub API. Enables real-time stock quotes, company profiles, financial metrics, analyst recommendations, and market news access.Last updated1MIT
- Flicense-qualityDmaintenanceProvides real-time access to financial market data including stock quotes, company information, cryptocurrency exchange rates, historical options chains, and time series data through the Alpha Vantage API.Last updated
- AlicenseCqualityDmaintenanceProvides access to real-time and historical stock market data through the Alpha Vantage API, enabling financial analysis and market data queries through natural language.Last updated10074Apache 2.0
- Flicense-qualityCmaintenanceProvides comprehensive stock intelligence and technical analysis by integrating Alpha Vantage and Finnhub data. It enables users to generate detailed research reports and retrieve real-time market metrics, indicators, and news sentiment.Last updated
Related MCP Connectors
Alpha Vantage MCP — Stock market data, fundamentals, and earnings
The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NonmaskableInt/alphavantage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server