Alphavantage Stock Mcp
@xweety
About Alphavantage Stock Mcp
A TypeScript/Node.js implementation of the Model Context Protocol (MCP) server for accessing historical stock market data through the Alpha Vantage API. This server enables LLMs and agentic workflows to seamlessly interact with financial data.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"alphavantage-stock-data": {
"command": "npx",
"args": [
"alphavantage-stock-mcp"
],
"env": {
"ALPHAVANTAGE_API_KEY": "YOUR-ALPHA-VANTAGE-API-KEY"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Alphavantage Stock Mcp?
A TypeScript/Node.js implementation of the Model Context Protocol (MCP) server for accessing historical stock market data through the Alpha Vantage API. It enables LLMs and agentic workflows to seamlessly interact with financial data.
How to use Alphavantage Stock Mcp?
Configure the MCP client with a JSON entry using command npx alphavantage-stock-mcp and set the ALPHAVANTAGE_API_KEY environment variable. Then invoke the available tools (e.g., get-stock-data, get-daily-stock-data, get-stock-alerts) with parameters like symbol and interval.
Key features of Alphavantage Stock Mcp
- Provides daily stock data with configurable output sizes
- Offers intraday stock data with multiple time intervals
- Generates price movement alerts based on percentage thresholds
- Full TypeScript support with type definitions
- Compatible with MCP-enabled applications (Claude Desktop, VS Code, etc.)
Use cases of Alphavantage Stock Mcp
- Retrieve daily closing prices for a stock over the last 20 years
- Monitor intraday price movements at 5-minute intervals
- Set up automatic alerts when a stock moves beyond a certain threshold
- Integrate real-time financial data into LLM-based analysis tools
FAQ from Alphavantage Stock Mcp
What API key is required?
An Alpha Vantage API key is required; a free tier is available by signing up at Alpha Vantage.
What intraday intervals are supported?
Supported intervals: 1min, 5min, 15min, 30min, and 60min (default is 5min).
What output sizes are available for stock data?
Two output sizes: "compact" returns the latest 100 data points, and "full" returns up to 20 years of data.
How do I configure the server for my MCP client?
Add a JSON configuration with command: "npx", args: ["alphavantage-stock-mcp"], and an env object setting ALPHAVANTAGE_API_KEY to your key.
What transport does this server use?
The README does not specify a transport; it uses the standard MCP protocol via a command-line invocation (stdio-based by convention).
More Finance & Commerce MCP servers
Polygon.io MCP Server
polygon-ioAn MCP server for Massive.com Financial Market Data
Armor Crypto MCP
armorwalletThe MCP server for interacting with Blockchain, Swaps, Strategic Planning and more.
Binance MCP Server π
AnalyticAceUnofficial tools and server implementation for Binance's Model Context Protocol (MCP). Designed to support developers building crypto trading AI Agents.
Awesome Crypto MCP Servers
badkkA collection of crypto MCP servers.
Alpaca Trading MCP Server
laukikkMCP for the Alpaca trading API to manage stock and crypto portfolios, place trades, and access market data
Comments