Content
# Stock MCP Project
This is a stock data service MCP server based on Spring Boot and Spring AI, providing data query and analysis functions related to stocks.
(It is intended for learning about MCP server-related knowledge only.)
## Tech Stack
- Java 21
- Spring Boot 3.4.4
- Spring AI 1.0.0-M7
- Maven
- Lombok
## Features
- Real-time stock trading information query
- Intraday stock price query
- Detailed company information query
- Supports stock data from both Shanghai and Shenzhen markets
## Environment Requirements
- JDK 21 or higher
- Maven 3.6.0 or higher
## Configuration Method
Taking cursor as an example:
1. Open File -> Preferences -> Cursor Settings -> MCP
2. Click Add new to add a new configuration
3. Copy the content below into the mcp.json file
4. Be sure to modify the command path to your local actual JDK 21 installation path
5. Change the jar path in args to the actual compiled jar path on your local machine
```json
{
"mcpServers": {
"stockServer": {
"command": "C:/Users/Administrator/.jdks/ms-21.0.6/bin/java.exe",
"args": ["-jar", "E:/IdeaProjects/stock-mcp/target/stock-mcp-0.0.1-SNAPSHOT.jar"]
}
}
}
```
## Usage Instructions
After configuration, you can ask the large model related questions:
- Get real-time stock trading information
- Get intraday stock prices
- Get detailed company information
- Get the current time


Connection Info
You Might Also Like
valuecell
Valuecell is a Python project for efficient data management.
hexstrike-ai
HexStrike AI is an AI-powered MCP cybersecurity automation platform with 150+ tools.
Vibe-Trading
Vibe-Trading: Your Personal Trading Agent
AP2
AP2 provides code samples and demos for the Agent Payments Protocol.
tradingview-mcp
AI-assisted TradingView chart analysis — connect Claude Code to your...
YC-Killer
YC-Killer is an AI agents library by Singularity Research, open-sourcing...