MCP ExplorerExplorer

Alphavantage Mcp

@iferdeljaon 9 months ago
1 MIT
FreeCommunity
AI Systems
A Model Context Protocol (MCP) server for accessing Alpha Vantage stock and financial data.

Overview

What is Alphavantage Mcp

alphavantage_mcp is a Model Context Protocol (MCP) server designed to access Alpha Vantage stock and financial data, providing a structured way to retrieve various financial metrics and indicators.

Use cases

Use cases include retrieving stock quotes, analyzing technical indicators, checking forex exchange rates, and obtaining cryptocurrency price data, making it suitable for developers, analysts, and traders.

How to use

To use alphavantage_mcp, clone the repository, install dependencies, configure the environment file with your Alpha Vantage API key, and build the project. It can be connected to any MCP-compatible client, such as Claude, to make queries about stock quotes, indicators, exchange rates, and more.

Key features

Key features include complete support for all Alpha Vantage API endpoints, organized for efficiency to reduce context window usage. It consolidates technical indicators, commodities, forex, and cryptocurrencies into unified endpoints for easier access.

Where to use

alphavantage_mcp can be used in various fields including finance, investment analysis, trading applications, and any domain that requires access to stock and financial data.

Content

Alpha Vantage MCP

A Model Context Protocol (MCP) server for accessing Alpha Vantage stock and financial data.

Features

  • Complete support for all Alpha Vantage API endpoints including stocks, economic indicators, technical indicators, forex, cryptocurrencies, and commodities

  • For reduced context window usage, certain endpoints are organized under same tool (technical indicators, forex, commodities, and cryptocurrencies)

API Organization

To provide a more efficient experience and reduce context window usage:

  • Technical Indicators: Consolidated into 5 unified endpoints (moving averages, momentum, volatility, volume, cycle) with type parameters
  • Commodities: Unified into a single endpoint with commodity_type parameter
  • Forex: Time series endpoints consolidated with a series_type parameter
  • Cryptocurrencies: Time series endpoints consolidated with a series_type parameter

This organization maintains full functionality while significantly reducing the number of tools required.

Setup

  1. Clone this repository
  2. Install dependencies: npm install
  3. Copy the example environment file: cp .env.example .env
  4. Edit the .env file and add your Alpha Vantage API key
  5. Build the project: npm run build

Usage

Connect to a Claude client

This MCP server can be used with any MCP-compatible client, such as Claude.

Example queries:

  • “Get a stock quote for MSFT”
  • “Show me the RSI momentum indicator for AAPL with a 14-day period”
  • “What’s the exchange rate between USD and EUR?”
  • “Get the monthly price data for Bitcoin in USD”
  • “Show me crude oil prices for the last quarter”

License

MIT

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers