stock-market
Stock Market MCP Server
claude mcp add --transport stdio mcp-100-stock-market-server node build/index.js \ --env ALPHAVANTAGE_API_KEY="Your AlphaVantage API key"
How to use
This Stock Market MCP Server provides tools to fetch real-time market data and company financial information via the Alpha Vantage API. The server exposes endpoints/tools such as get_ticker_price for real-time stock prices, get_market_report for a high-level US market overview, get_financial_statement for income/balance/cashflow statements, and get_company_overview for key company details. To use, start the server with the required Alpha Vantage API key configured in the environment, then invoke the available tools through your MCP client or integration, providing the necessary stock tickers and parameters. The server handles API calls to Alpha Vantage and returns JSON formatted results suitable for downstream processing or chatbot responses.
How to install
Prerequisites:
- Node.js and npm installed on your system
- An Alpha Vantage API key
Install and run locally:
- Clone or download the repository.
- Install dependencies:
npm install
- Build the project:
npm run build
- Run in development or production mode. Ensure you provide your Alpha Vantage API key via environment variable ALPHAVANTAGE_API_KEY. Example run:
export ALPHAVANTAGE_API_KEY=YOUR_API_KEY
node build/index.js
Optional (watch mode for automatic rebuild during development):
npm run watch
Additional notes
Notes and tips:
- You must supply a valid Alpha Vantage API key before starting the server. Set the environment variable ALPHAVANTAGE_API_KEY accordingly.
- The Alpha Vantage API has rate limits; plan requests to avoid hitting the limit and consider caching results where appropriate.
- The server exposes the following tools: get_ticker_price (ticker), get_market_report, get_financial_statement (ticker, type: income|balance|cashflow), get_company_overview (ticker).
- Responses are returned in JSON format for easy integration with MCP clients or chatbots.
- If you encounter issues with tooling or build, ensure dependencies are installed and the build step completed successfully (npm run build).
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.