MCP ExplorerExplorer

Alphavantage

@calvernazon 12 days ago
41 Apache-2.0
FreeCommunity
Finance
#alphavantage#stock market
MCP server for stock market data API [AlphaVantage](https://www.alphavantage.co/)

Overview

What is Alphavantage

The Alpha Vantage MCP Server is an application that allows users to fetch and interact with stock market data using the Alpha Vantage API. It provides a convenient interface for accessing various financial data, such as historical stock prices, company information, and market technical indicators.

Use cases

Users can utilize the Alpha Vantage MCP Server for multiple purposes, including tracking stock performance, analyzing market trends, developing trading algorithms, and building financial dashboards. It’s ideal for traders, investors, and developers seeking to integrate real-time stock market data into their applications.

How to use

To utilize the server, sign up for a free Alpha Vantage API key and add it to your environment variables. Clone the project from GitHub, and configure it in your Claude Desktop by specifying the command parameters and providing the API key. This setup enables seamless access to the Alpha Vantage services.

Key features

Key features of the Alpha Vantage MCP Server include real-time stock data retrieval, historical data access, support for various financial indicators, and ease of integration with applications. The server is designed for performance and accessibility, making it user-friendly for both novice and experienced developers.

Where to use

The server can be used in various environments, including personal and enterprise applications where real-time stock market data is needed. It is suited for use in financial analysis tools, trading platforms, research applications, and educational projects for learning about stock markets.

Content

✅ Official Alpha Vantage MCP Server

smithery badge
Verified on MseeP

A MCP server for the stock market data API, Alphavantage API.

Configuration

Getting an API Key

  1. Sign up for a Free Alphavantage API key
  2. Add the API key to your environment variables as ALPHAVANTAGE_API_KEY

Clone the project

git clone https://github.com/calvernaz/alphavantage.git

Server Modes

The AlphaVantage server can run in two different modes:

Stdio Server (Default)

This is the standard MCP server mode used for tools like Claude Desktop.

alphavantage
# or explicitly:
alphavantage --server stdio

Streamable HTTP Server

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)

Usage with Claude Desktop

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"
      }
    }
  }
}

Running the Server in Streamable HTTP Mode

{
  "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"
      }
    }
  }
}

📺 Demo Video

Watch a quick demonstration of the Alpha Vantage MCP Server in action:

Alpha Vantage MCP Server Demo

🤝 Contributing

We welcome contributions from the community! To get started, check out our contribution guide for setup instructions,
development tips, and guidelines.

Tools

stock_quote
Fetch a stock quote
time_series_intraday
Fetch a time series intraday
time_series_daily
Fetch a time series daily
time_series_daily_adjusted
Fetch a time series daily adjusted
time_series_weekly
Fetch a time series weekly
time_series_weekly_adjusted
Fetch a time series weekly adjusted
time_series_monthly
Fetch a time series monthly
time_series_monthly_adjusted
Fetch a time series monthly adjusted
realtime_bulk_quotes
Fetch real time bulk quotes
symbol_search
Search endpoint
market_status
Fetch market status
realtime_options
Fetch realtime options
historical_options
Fetch historical options
news_sentiment
Fetch news sentiment
top_gainers_losers
Fetch top gainers and losers
insider_transactions
Fetch insider transactions
analytics_fixed_window
Fetch analytics fixed window
analytics_sliding_window
Fetch analytics sliding window
company_overview
Fetch company overview
etf_profile
Fetch ETF profile
company_dividends
Fetch company dividends
company_splits
Fetch company splits
income_statement
Fetch company income statement
balance_sheet
Fetch company balance sheet
cash_flow
Fetch company cash flow
listing_status
Fetch listing status
earnings_calendar
Fetch company earnings calendar
ipo_calendar
Fetch IPO calendar
exchange_rate
Fetch exchange rate
fx_intraday
Fetch FX intraday
fx_daily
Fetch FX daily
fx_weekly
Fetch FX weekly
fx_monthly
Fetch FX monthly
crypto_intraday
Fetch crypto intraday
digital_currency_daily
Fetch digital currency daily
digital_currency_weekly
Fetch digital currency weekly
digital_currency_monthly
Fetch digital currency monthly
wti_crude_oil
Fetch WTI crude oil
brent_crude_oil
Fetch Brent crude oil
natural_gas
Fetch natural gas
copper
Fetch copper
aluminum
Fetch aluminum
wheat
Fetch wheat
corn
Fetch corn
cotton
Fetch cotton
sugar
Fetch sugar
coffee
Fetch coffee
all_commodities
Fetch all commodities
real_gdp
Fetch real GDP
real_gdp_per_capita
Fetch real GDP per capita
treasury_yield
Fetch treasury yield
federal_funds_rate
Fetch federal funds rate
cpi
Fetch consumer price index
inflation
Fetch inflation
retail_sales
Fetch retail sales
durables
Fetch durables
unemployment
Fetch unemployment
nonfarm_payroll
Fetch nonfarm payroll
sma
Fetch simple moving average
ema
Fetch exponential moving average
wma
Fetch weighted moving average
dema
Fetch double exponential moving average
trima
Fetch triangular moving average
kama
Fetch Kaufman adaptive moving average
mama
Fetch MESA adaptive moving average
vwap
Fetch volume weighted average price
t3
Fetch triple exponential moving average
macd
Fetch moving average convergence divergence
macdext
Fetch moving average convergence divergence next
stoch
Fetch stochastic oscillator
stochf
Fetch stochastic oscillator fast
rsi
Fetch relative strength index
stochrsi
Fetch stochastic relative strength index
willr
Fetch williams percent range
adx
Fetch average directional movement index
adxr
Fetch average directional movement index rating
apo
Fetch absolute price oscillator
ppo
Fetch percentage price oscillator
mom
Fetch momentum
bop
Fetch balance of power
cci
Fetch commodity channel index
cmo
Fetch chande momentum oscillator
roc
Fetch rate of change
rocr
Fetch rate of change ratio
aroon
Fetch aroon
aroonosc
Fetch aroon oscillator
mfi
Fetch money flow index
trix
Fetch triple exponential average
ultosc
Fetch ultimate oscillator
dx
Fetch directional movement index
minus_di
Fetch minus directional indicator
plus_di
Fetch plus directional indicator
minus_dm
Fetch minus directional movement
plus_dm
Fetch plus directional movement
bbands
Fetch bollinger bands
midpoint
Fetch midpoint
midprice
Fetch midprice
sar
Fetch parabolic sar
trange
Fetch true range
atr
Fetch average true range
natr
Fetch normalized average true range
ad
Fetch accumulation/distribution line
adosc
Fetch accumulation/distribution oscillator
obv
Fetch on balance volume
ht_trendline
Fetch hilbert transform - trendline
ht_sine
Fetch hilbert transform - sine wave
ht_trendmode
Fetch hilbert transform - trend mode
ht_dcperiod
Fetch hilbert transform - dominant cycle period
ht_dcphase
Fetch hilbert transform - dominant cycle phase
ht_phasor
Fetch hilbert transform - phasor components

Comments