A Machine Conversation Protocol (MCP) server that provides stock market data and analysis tools using the Finnhub API.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"stock-market-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Machine Conversation Protocol (MCP) server that provides stock market data and analysis tools using the Finnhub API.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
A Model Context Protocol (MCP) server that provides AI assistants with direct access to the Spreedly payments API. Enables LLMs to manage gateways, process transactions, tokenize payment methods, and more, through structured, validated tool calls.
MCP server for InsightSentry financial data API - market data, options, screeners, and more
Model Context Protocol for Actual Budget API
MCP Security Weekly
Get CVE alerts and security updates for Stock Market Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Machine Conversation Protocol (MCP) server that provides stock market data and analysis tools using the Finnhub API.
git clone https://github.com/yourusername/stock-market-mcp-server.git
cd stock-market-mcp-server
uv is a fast, reliable Python package installer and virtual environment manager. Here's how to set up your environment:
# Install uv if you don't have it already
pip install uv
# Create a virtual environment
uv venv
# Activate the virtual environment
# On macOS/Linux:
source .venv/bin/activate
# On Windows:
# .venv\Scripts\activate
# Install dependencies
uv add -r requirements.txt
Create a .env.local file in the project root with your Finnhub API key:
FINNHUB_API_KEY=your_api_key_here
Replace your_api_key_here with your actual Finnhub API key.
To start the MCP server:
uv run stock-market-server.py
The server runs in stdio mode by default, which means it reads from standard input and writes to standard output.
To use this MCP server with Claude Desktop:
/Users/username/.venv/bin/python /Users/username/stock-market-mcp-server/stock-market-server.pyNow you can use the stock market tools in your conversations with Claude!
Alternatively, you can add the tool to your Claude Desktop tools list manually.
You can find the configuration file in the installation directory of Claude Desktop. On a MacBook Pro,
it's located at ~/Library/Application\ Support/Claude/claude_desktop_config.json.
Add the following JSON to the tools array, note modify the path to suite your environment:
"stock-market": {
"command": "uv",
"args": [
"--directory",
"<YOUR_PATH_GOES_HERE>/stock-market-mcp-server",
"run",
"stock_market_server.py"
]
}
To use the MCP server with the Stock Market Client, follow these steps:
ANTHROPIC_API_KEY=your_api_key_hereuv run stock_market_client.py The MCP server provides the following tools:
get_stock_symbol_lookup: Search for stock symbols by company nameget_stock_price: Get the latest price for a stockget_basic_financials: Get key financial metrics for a companyget_market_news: Get the latest market news by categoryget_company_news: Get news for a specific company over a date rangeget_stock_candles: Get historical price data for a stockThe server includes these pre-built prompts:
stock_analysis: Analyze a stock for potential investmentmarket_overview: Get a comprehensive market overviewstock_price_history: Analyze historical price movementscompany_news_analysis: Analyze news and its impact on stock priceHere are some examples of how to us