This server provides access to financial stock data via the Alpha Vantage API. You can:
Retrieve current stock quotes using the
getStockQuotetool by providing a stock symbolFetch historical stock data with the
getHistoricalDatatool, allowing customization of the time interval (daily, weekly, monthly) and output size (compact, full)
Financial Data - MCP Server
This is an MCP server that provides access to the Alpha Vantage API, allowing stock data retrieval to be used as context to LLMs.
Available Features
getStockQuote: Get the current quote for a stock.getHistoricalData: Get historical data for a stock (daily, weekly, or monthly).(More tools will be added later for technical analysis, company overview, etc.)
Related MCP server: @qubaomingg/stock-mcp
Setup
Installing via Smithery
To install Financial Data Server for Claude Desktop automatically via Smithery:
Manual Installation
Usage in Host
Obtain an API key from Alpha Vantage https://www.alphavantage.co/support/#api-key.
Configure your MCP client (e.g., Claude Desktop) to connect to the server:
Tools
getStockQuote
Get the current quote for a stock.
Input:
symbol: The stock symbol (e.g., AAPL)
Output Example:
getHistoricalData
Get historical data for a stock.
Input:
symbol: the stock symbol (e.g., AAPL)interval: the time interval for the data (daily,weekly, ormonthly) (optional, default:daily)outputsize: the size of the output (compactorfull) (optional, default:compact) Output:
JSON object containing the historical data. The structure of the output depends on the interval parameter.
Contributing
Contributions are welcome! Please open an issue or pull request.
License
MIT