Alphavantage MCP Server

A Model Context Protocol (MCP) server that provides access to Alpha Vantage financial data APIs for use with Claude Desktop and other MCP-compatible

Local serverstdioPython

What is the Alphavantage MCP server?

Alphavantage mcp server connects Alphavantage to AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) server that provides access to Alpha Vantage financial data APIs for use with Claude Desktop and other MCP-compatible applications.

What Alphavantage does

A Model Context Protocol (MCP) server that provides access to Alpha Vantage financial data APIs for use with Claude Desktop and other MCP-compatible applications.

Tools it exposes

Once connected, the assistant can call these 9 tools directly:

  • Function — Description
  • get_stock_quote — Current stock price and basic metrics
  • get_daily_prices — Historical daily price data
  • get_income_statement — Annual income statements
  • get_balance_sheet — Annual balance sheet data
  • get_cash_flow — Annual cash flow statements
  • get_company_overview — Company fundamentals and key metrics
  • get_news_sentiment — Latest news with sentiment analysis
  • get_earnings — Quarterly and annual earnings data

Installing the alphavantage mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

Before the server will start you need to supply one environment variable: ALPHAVANTAGE_API_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Alphavantage sits in that group, and the shape of its toolset — Function, get_stock_quote, get_daily_prices among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • With 9 tools exposed, expect a noticeable bump in prompt size — disable it in projects that never use Alphavantage.
  • Maintained by smani7dm, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the alphavantage mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
FunctionDescription
get_stock_quoteCurrent stock price and basic metrics
get_daily_pricesHistorical daily price data
get_income_statementAnnual income statements
get_balance_sheetAnnual balance sheet data
get_cash_flowAnnual cash flow statements
get_company_overviewCompany fundamentals and key metrics
get_news_sentimentLatest news with sentiment analysis
get_earningsQuarterly and annual earnings data

How to install the Alphavantage MCP server

{
  "mcpServers": {
    "alphavantage": {
      "command": "python3",
      "args": ["/path/to/alphavantage_server.py"],
      "env": {
        "ALPHAVANTAGE_API_KEY": "your_actual_api_key_here"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ALPHAVANTAGE_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Alphavantage to Function.
  • Use Alphavantage to get stock quote.
  • Use Alphavantage to get daily prices.

Frequently asked questions

It connects Alphavantage to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (Function, get_stock_quote, get_daily_prices, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Alphavantage directly.