Overview
MCP Stock Market is a Model Context Protocol (MCP) tool designed to retrieve stock market data using the Alpha Vantage API, providing access to daily stock market data for any stock symbol through a simple interface.
To use MCP Stock Market, set up the project by installing dependencies, creating a .env file with your Alpha Vantage API key, and configuring your MCP client to connect to the tool.
- Retrieves daily stock market data for various stock symbols. - Simple MCP interface for easy integration. - Supports multiple stock symbols with example usage provided.
- Fetching daily stock prices for analysis.
- Integrating stock data retrieval into financial applications.
- Monitoring stock performance over time.
Add to your AI client
Use these steps to connect MCP Stock Market in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-stock-market-ctoouli": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-stock-market-ctoouli"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-stock-market-ctoouli": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-stock-market-ctoouli"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-stock-market-ctoouli": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-stock-market-ctoouli"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-stock-market-ctoouli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-stock-market-ctoouli"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-stock-market-ctoouli": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-stock-market-ctoouli"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-stock-market-ctoouli": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-stock-market-ctoouli"
]
}
}
}FAQ
How do I obtain an Alpha Vantage API key?
You can obtain a free API key from the Alpha Vantage website.
What are the limitations of the free tier?
The free tier allows 25 API calls per day and 5 API calls per minute.
What should I do if I encounter issues?
Ensure your API key is correctly set, check Node.js version, and verify your MCP client configuration.