Provides real-time cryptocurrency exchange rates and historical time series data (daily, weekly, monthly) for Bitcoin and other cryptocurrencies through the Alpha Vantage API.
Provides real-time cryptocurrency exchange rates and historical time series data (daily, weekly, monthly) for Solana through the Alpha Vantage API.
Stocks MCP Server
A Model Context Protocol (MCP) server that provides real-time access to financial market data through the free Alpha Vantage API. This server implements a standardized interface for retrieving stock quotes and company information.
Features
Real-time stock quotes with price, volume, and change data
Detailed company information including sector, industry, and market cap
Real-time cryptocurrency exchange rates with bid/ask prices
Daily, weekly, and monthly cryptocurrency time series data
Historical options chain data with advanced filtering and sorting
Built-in error handling and rate limit management
Installation
Using Claude Desktop
Clone the repository and build a local image to be utilized by your Claude desktop client
Change your
claude_desktop_config.jsonto match the following, replacingREPLACE_API_KEYwith your actual key:
claude_desktop_config.jsonpath
On MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonOn Windows:
%APPDATA%/Claude/claude_desktop_config.json
Install packages
Running
After connecting Claude client with the MCP tool via json file and installing the packages, Claude should see the server's mcp tools:
You can run the sever yourself via: In alpha-vantage-mcp repo:
Available Tools
The server implements eight tools:
get-stock-quote: Get the latest stock quote for a specific companyget-company-info: Get stock-related information for a specific companyget-time-series: Get historical daily price data for a stockget-historical-options: Get historical options chain data with sorting capabilitiesget-crypto-exchange-rate: Get current cryptocurrency exchange ratesget-crypto-daily: Get daily time series data for a cryptocurrencyget-crypto-weekly: Get weekly time series data for a cryptocurrencyget-crypto-monthly: Get monthly time series data for a cryptocurrency
get-stock-quote
Input Schema:
Example Response:
get-company-info
Retrieves detailed company information for a given symbol.
Input Schema:
Example Response:
get-crypto-exchange-rate
Retrieves real-time cryptocurrency exchange rates with additional market data.
Input Schema:
Example Response:
get-time-series
Retrieves daily time series (OHLCV) data.
Input Schema:
Example Response:
get-historical-options
Retrieves historical options chain data with advanced sorting and filtering capabilities.
Input Schema:
Example Response:
get-crypto-daily
Retrieves daily time series data for a cryptocurrency.
Input Schema:
Example Response:
get-crypto-weekly
Retrieves weekly time series data for a cryptocurrency.
Input Schema:
Example Response:
get-crypto-monthly
Retrieves monthly time series data for a cryptocurrency.
Input Schema:
Example Response:
requirements
Python 3.12 or higher
httpx
mcp