Skip to main content
Glama
Alpha Vantage MCP Server

Alpha Vantage MCP Server

Alpha Vantage MCP Server 📈

A Model Context Protocol (MCP) server that provides seamless integration with Alpha Vantage's financial data API, enabling real-time stock market data, cryptocurrency prices, forex rates, and technical indicators.

🌟 Features

Stock Market Data

  • Real-time stock quotes from global markets

  • Historical price data (daily, weekly)

  • Comprehensive company information

  • Support for multiple exchanges (NYSE, NASDAQ, BSE)

Cryptocurrency Data

  • Real-time crypto prices

  • Digital currency exchange rates

  • Major cryptocurrency market data

Forex Trading

  • Live foreign exchange rates

  • Currency pair conversions

  • Global forex market data

Technical Analysis

  • Advanced technical indicators

  • Moving averages (SMA, EMA)

  • Market momentum indicators

  • Trading signals and patterns

Related MCP server: AlphaVantage MCP Server

🚀 Quick Start

Installation

Installing via Smithery

To install Alpha Vantage Financial Data Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @deepsuthar496/alpha-ventage-mcp --client claude

Manual Installation [Administered by Repo Owner]

  1. Clone the repository:

git clone https://github.com/deepsuthar496/alpha-ventage-mcp
cd alpha-vantage-server
  1. Install dependencies:

npm install
  1. Build the server:

npm run build

Configuration

Configure the server in your MCP settings file:

{
  "mcpServers": {
    "alpha-vantage": {
      "command": "node",
      "args": ["path/to/alpha-vantage-server/build/index.js"],
      "env": {
        "ALPHA_VANTAGE_API_KEY": "your-api-key-here"
      },
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

🛠️ Available Tools

Stock Market Tools

get_stock_price

// Get real-time stock quotes
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_stock_price</tool_name>
<arguments>
{
  "symbol": "AAPL" 
}
</arguments>
</use_mcp_tool>

get_daily_time_series

// Get daily stock price history
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_daily_time_series</tool_name>
<arguments>
{
  "symbol": "MSFT",
  "outputsize": "compact"
}
</arguments>
</use_mcp_tool>

Cryptocurrency Tools

get_crypto_price

// Get cryptocurrency prices
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_crypto_price</tool_name>
<arguments>
{
  "symbol": "BTC",
  "market": "USD"
}
</arguments>
</use_mcp_tool>

Forex Tools

get_forex_rate

// Get currency exchange rates
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_forex_rate</tool_name>
<arguments>
{
  "from_currency": "USD",
  "to_currency": "EUR"
}
</arguments>
</use_mcp_tool>

📊 Technical Analysis

get_technical_indicator

// Get technical indicators
<use_mcp_tool>
<server_name>alpha-vantage</server_name>
<tool_name>get_technical_indicator</tool_name>
<arguments>
{
  "symbol": "AAPL",
  "indicator": "SMA",
  "interval": "daily"
}
</arguments>
</use_mcp_tool>

🔑 API Key

Sign up for an API key at Alpha Vantage. Free tier includes:

  • 25 API calls per day

  • Real-time and historical data access

  • Global market coverage

🌐 Supported Markets

  • US Stock Markets (NYSE, NASDAQ)

  • Global Cryptocurrency Markets

  • Foreign Exchange Markets

  • International Stock Markets

🤝 Contributing

  1. Fork the repository

  2. Create your feature branch

  3. Commit your changes

  4. Push to the branch

  5. Create a new Pull Request

📝 License

MIT

Available Tools

7 tools
get_company_overviewC

Get company information and key metrics

Inputs: symbol (required).

get_crypto_priceC

Get cryptocurrency prices

Inputs: symbol (required), market (required).

get_daily_time_seriesC

Get daily time series data for a stock

Inputs: symbol (required), outputsize.

get_forex_rateC

Get exchange rate for currency pairs

Inputs: from_currency (required), to_currency (required).

get_stock_priceC

Get real-time stock price information

Inputs: symbol (required).

get_technical_indicatorC

Get technical indicators for a stock

Inputs: symbol (required), indicator (required), interval.

get_weekly_time_seriesC

Get weekly time series data for a stock

Inputs: symbol (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting different financial data types: company overview, crypto prices, daily stock series, forex rates, stock prices, technical indicators, and weekly stock series. There is no overlap in functionality, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'get_' prefix followed by a descriptive noun phrase (e.g., get_company_overview, get_crypto_price). This uniformity enhances predictability and readability across the toolset.

    Tool Count5/5

    With 7 tools, the server is well-scoped for providing financial data from Alpha Vantage. Each tool serves a specific, non-overlapping function, and the count is neither too sparse nor excessive for the domain of financial market data retrieval.

    Completeness4/5

    The toolset covers core financial data types including stocks, forex, crypto, and technical indicators, with both real-time and time-series data. A minor gap is the lack of intraday or monthly time series tools, but agents can work around this using the available daily and weekly options.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      This is an MCP server that provides access to the Alpha Vantage API, allowing stock data retrieval to be used as context to LLMs.
      2
      45 npm
      9
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that integrates with the AlphaVantage financial data API, providing access to stock market data, technical indicators, and fundamental financial information.
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      A TypeScript-based MCP server that fetches real-time stock market data and company financial information through the Alpha Vantage API.
      4
      6
      -