Alpha Vantage MCP Server

Alpha Vantage MCP server provides real-time and historical financial market data including stocks, forex, cryptocurrencies, and 50+ technical indicators through a free API.

May 4, 2025
MCP ServerFinance & TradingAlpha Vantage MCP Server
GitHub starsnpm version

Overview

The Alpha Vantage MCP Server brings one of the most popular free financial data APIs to AI assistants via MCP. Alpha Vantage provides real-time and historical data for stocks, ETFs, mutual funds, forex, and cryptocurrencies — along with 50+ technical indicators. With its generous free tier, it's the go-to data source for developers building financial tools.

Community MCP Server:

Alpha Vantage is one of the most widely used free financial data APIs with hundreds of thousands of developers

Key Features

Real-Time Stock Data

Get current intraday data for stocks, ETFs, and mutual funds with customizable intervals

📐

50+ Technical Indicators

Calculate SMA, EMA, MACD, RSI, Bollinger Bands, and 45+ other technical studies

💱

Forex & Crypto

Access real-time and historical forex currency pairs and cryptocurrency data

🏭

Sector Performance

Track sector performance with real-time data on market sectors and industry groups

🆓

Generous Free Tier

25 API requests per day free — ideal for prototyping, learning, and personal projects

📊

Fundamental Data

Access company overviews, income statements, balance sheets, and cash flow data

Available Tools

Quick Reference

ToolPurpose
get_stock_dataGet intraday or daily stock price data
get_technical_indicatorCalculate any of 50+ technical indicators
get_forex_rateGet real-time or historical forex exchange rates
get_crypto_dataAccess cryptocurrency price data
get_sector_performanceTrack real-time sector performance

Detailed Usage

get_stock_data

Get intraday or daily stock price data for any equity symbol.

{
  "symbol": "AAPL",
  "interval": "5min",
  "output_size": "compact"
}
get_technical_indicator

Calculate any of 50+ technical indicators including SMA, EMA, RSI, MACD, and Bollinger Bands.

{
  "symbol": "MSFT",
  "indicator": "RSI",
  "interval": "daily",
  "time_period": 14
}
get_forex_rate

Get real-time or historical exchange rates between any two currencies.

{
  "from_currency": "EUR",
  "to_currency": "USD"
}
get_sector_performance

Track real-time performance of major market sectors.

{}

Installation

{
  "mcpServers": {
    "alpha-vantage": {
      "command": "npx",
      "args": ["-y", "alpha-vantage-mcp"],
      "env": {
        "ALPHA_VANTAGE_API_KEY": "your_api_key"
      }
    }
  }
}

Free API Key:

Get a free API key at alphavantage.co

Use Cases

Technical Analysis

Ask AI to calculate RSI, moving averages, or MACD for any stock and interpret the signals.

Currency Conversion

Have AI perform real-time forex conversions for budgeting, travel planning, or analysis.

Sector Rotation

Track which market sectors are outperforming and identify rotation trends.

Screening Alerts

Set up AI to check technical indicator conditions and alert you to potential entry/exit signals.

Sources