Basic information
About Stock Market MCP Server
A Machine Conversation Protocol (MCP) server that provides stock market data and analysis tools using the Finnhub API.
Stock Market MCP Server is a MCP server in the Finance & Commerce category listed in the AddMCP.net directory, published by sverze. Supported transport: stdio. Runtime: python. The repository has 7 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"stock-market-mcp-server-sverze": {
"command": "uv",
"args": [
"venv"
]
}
}
}
{
"mcpServers": {
"stock-market-mcp-server-sverze": {
"command": "uv",
"args": [
"venv"
]
}
}
}
{
"servers": {
"stock-market-mcp-server-sverze": {
"command": "uv",
"args": [
"venv"
]
}
}
}
Stock Market MCP Server — by sverze config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"stock-market-mcp-server-sverze": {
"command": "uv",
"args": [
"venv"
]
}
}
}
Stock Market MCP Server — by sverze tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Stock Market MCP Server?
A Machine Conversation Protocol (MCP) server that provides stock market data and analysis tools using the Finnhub API. It offers stock symbol lookup, real-time prices, financial metrics, market and company news, and historical price data, along with pre-built prompts for common analysis tasks.
How to use Stock Market MCP Server?
Prerequisites include Python 3.8+, uv (fast Python package installer), a free Finnhub API key, and optionally Claude Desktop. Set up by cloning the repository, creating a virtual environment with uv, installing dependencies, and adding your FINNHUB_API_KEY to a .env.local file. Run the server with uv run stock-market-server.py and configure it as a local MCP tool in Claude Desktop or use the included stock market client with an Anthropic API key.
Key features of Stock Market MCP Server
- Stock symbol lookup by company name
- Real-time stock price retrieval
- Basic financial metrics for a company
- Market news by category and company-specific news
- Historical price data (candles)
- Pre-built prompts for stock analysis, market overview, and news analysis
Use cases of Stock Market MCP Server
- Looking up stock symbols and current prices on demand
- Analyzing a stock as a potential investment using pre-built prompts
- Getting a comprehensive market overview with latest news and prices
- Examining historical price movements and company news impact
Frequently asked questions
1 What are the prerequisites to use this server?
Python 3.8 or higher, uv (pip install uv), a free Finnhub API key, and optionally Claude Desktop for integration.
2 How do I get a Finnhub API key?
Sign up for a free API key at finnhub.io.
3 How do I run the server?
After setup, execute uv run stock-market-server.py from the project directory. The server runs in stdio mode by default.
4 Can I use the server without Claude Desktop?
Yes, you can also use the included stock market client by setting an Anthropic API key in a .env file and running uv run stock_market_client.py.
5 What authentication is required?
Authentication uses a Finnhub API key stored in a .env.local file as FINNHUB_API_KEY=your_api_key_here. No other authentication is needed.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In