中国股票数据
这是一个为大模型提供 A股 股票数据的的 MCP(Model Content Protocol) 服务。 它提供近乎实时的股票数据,包括 - 基本资料 - 行情 - 指标 - 财务 等等 访问 https://github.com/elsejj/mcp-cn-a-stock 获取相关的使用方法
Overview
Mcp Cn Stock is a service that provides A-share data for large models using the Model Content Protocol (MCP).
To use Mcp Cn Stock, you can access the public service address and refer to the tests/test.sh file for test cases and usage instructions.
- Provides basic stock information and market data. - Offers comprehensive data including financial metrics. - Supplies technical indicators and medium-level data.
- Analyzing stock performance using historical data.
- Integrating stock data into machine learning models.
- Conducting financial analysis and reporting.
Add to your AI client
Use these steps to connect 中国股票数据 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-cn-stock-elsejj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cn-stock-elsejj"
]
}
}
}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-cn-stock-elsejj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cn-stock-elsejj"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-cn-stock-elsejj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cn-stock-elsejj"
]
}
}
}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-cn-stock-elsejj": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cn-stock-elsejj"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-cn-stock-elsejj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cn-stock-elsejj"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-cn-stock-elsejj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cn-stock-elsejj"
]
}
}
}FAQ
What type of data does Mcp Cn Stock provide?
Mcp Cn Stock provides various levels of stock data including basic information, financial data, and technical indicators.
Is there a cost to use Mcp Cn Stock?
The service is publicly accessible and free to use.
How can I access the data?
You can access the data through the provided public service address and follow the instructions in the tests/test.sh file.