Alpha Vantage Financial Data
STDIOMCP server integrating with Alpha Vantage API for real-time financial data and market analysis.
MCP server integrating with Alpha Vantage API for real-time financial data and market analysis.
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.
git clone https://github.com/deepsuthar496/alpha-ventage-mcp cd alpha-vantage-server
npm install
npm run build
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": [] } } }
// 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 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>
// 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>
// 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>
// 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>
Sign up for an API key at Alpha Vantage. Free tier includes:
MIT