Stock Analysis MCP Server
Used for storing and accessing API keys and configuration values through environment variables, particularly for the Tavily web search integration.
Used for version control and distribution of the MCP server codebase, enabling users to clone and manage the project repository.
Provides the runtime environment for the server, allowing access to stock market data analysis capabilities through various endpoints.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Stock Analysis MCP Serveranalyze concept sector strength for tech stocks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Stock Analysis MCP Server
This project is a server built using the FastMCP framework, providing various tools for accessing and analyzing stock market data.
Features
The server exposes the following tools:
Concept Power Tools (
/stock): Analyzes the strength of stock concept sectors based on fund flow and price change.Finance Tools (
/finance): Provides access to stock financial core indicators and company information.Stock F10 Tools (
/f10): Fetches and summarizes Stock F10 information.Market Emotion Tools (
/market): Retrieves and summarizes A-share market emotion indicators.Stock Keep Up Tools (
/stockUp): Provides lists of continuous limit-up stocks and limit-up stocks.Web Search Tools (Tavily) (
/websearch): Provides a web search tool.
Related MCP server: MCP Securities Analysis
Setup and Installation
Clone the repository:
git clone <repository_url> cd mcp_stockCreate a virtual environment (recommended):
python -m venv venv source venv/bin/activateInstall dependencies:
Install the required packages using pip:
pip install -r requirements.txt playwright installConfiguration:
Some tools might require API keys or other configuration. Please refer to the
config.pyfile and potentially create a.envfile if necessary (based onos.getenvusage inserver.py).TAVILY_API_KEY=Run the server:
You can run the server using the
server.pyscript. The server will listen on the port specified by thePORTenvironment variable, defaulting to 8000.fastmcp run server.py --transport=sse --port=8000 --host=0.0.0.0To run on a specific port:
fastmcp run server.py --transport=sse --port=8000 --host=0.0.0.0
Usage
Once the server is running, you can interact with the tools via the /mcp prefix followed by the tool's mount path (e.g., /mcp/stock, /mcp/finance). The specific endpoints and expected parameters for each tool can be found by examining the tool definitions within each tool's Python file.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA FastMCP-based service that provides stock data including historical prices, fundamental information, and financial news.6
- Flicense-qualityDmaintenanceA Python-based FastMCP server that provides financial tools for securities analysis, including market data, news, fundamental/technical analysis, and visualization capabilities that can be consumed by any MCP-aware client.8
- Flicense-qualityCmaintenanceMCP server that wraps SFC financial data API into 32 tools for comprehensive A-share market data, including real-time quotes, rankings, limit-up statistics, news, themes, financials, charts, research reports, and watchlists.
- Alicense-qualityBmaintenanceA FastMCP-based MCP server that provides AI assistants with access to XCSC Tushare financial data APIs, supporting stdio and HTTP transport for stocks, indices, funds, and more.1MIT
Related MCP Connectors
7-factor stock scoring MCP server. US/HK/CN, 74 stocks. Free + Premium (USDC/Base). x402 ready.
Multi-tenant FastMCP server for Charles Schwab brokerage data, monetized via DPYC Tollbooth
MCP server exposing the Backtest360 engine API as tools for AI agents.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ParseDark/mcp_stock'
If you have feedback or need assistance with the MCP directory API, please join our Discord server