Alpha Vantage Stock MCP Server
by qubaomingg
This is a Model Context Protocol (MCP) server that provides stock market data from Alpha Vantage API. It allows Claude and other MCP clients to access real-time and historical stock data.
Last updated: N/A
What is Alpha Vantage Stock MCP Server?
The Alpha Vantage Stock MCP Server is a Node.js application that acts as a Model Context Protocol (MCP) server. It retrieves stock market data from the Alpha Vantage API and makes it accessible to MCP clients like Claude for Desktop.
How to use Alpha Vantage Stock MCP Server?
- Clone the repository. 2. Install dependencies using
npm install
. 3. Create a.env
file with your Alpha Vantage API key. 4. Build the project usingnpm run build
. 5. Run the server usingnpm start
. 6. Configure Claude for Desktop to use the server by adding the server configuration toclaude_desktop_config.json
.
Key features of Alpha Vantage Stock MCP Server
Get intraday stock data with customizable intervals
Get daily stock data
Generate stock alerts based on price movements
Access stock data as resources
Use cases of Alpha Vantage Stock MCP Server
Analyzing stock trends with Claude
Generating automated stock alerts
Accessing real-time stock data within Claude
Comparing different stock performances
FAQ from Alpha Vantage Stock MCP Server
What is an Alpha Vantage API key and how do I get one?
What is an Alpha Vantage API key and how do I get one?
The Alpha Vantage API key is required to access the Alpha Vantage API. You can get one for free at Alpha Vantage
What is the default interval for intraday stock data?
What is the default interval for intraday stock data?
The default interval is 5min.
What is the default output size for stock data?
What is the default output size for stock data?
The default output size is 'compact', which returns the latest 100 data points.
How do I specify a different interval for intraday stock data?
How do I specify a different interval for intraday stock data?
You can specify the interval as a parameter when calling the get-stock-data
tool. For example: get-stock-data symbol=IBM interval=15min
How do I access stock data as a resource?
How do I access stock data as a resource?
You can access stock data using the URI template stock://{symbol}/{interval}
. For example: stock://AAPL/daily