Stock MCP server
{
"mcpServers": {
"pianam-stock": {
"type": "http",
"url": "https://mcp.pianam.cn/stock-mcp/mcp"
}
}
}{
"mcpServers": {
"pianam-stock": {
"type": "http",
"url": "https://mcp.pianam.cn/stock-mcp/mcp"
}
}
}{
"mcpServers": {
"pianam-stock": {
"type": "http",
"url": "https://mcp.pianam.cn/stock-mcp/mcp"
}
}
}{
"servers": {
"pianam-stock": {
"type": "http",
"url": "https://mcp.pianam.cn/stock-mcp/mcp"
}
}
}{
"mcpServers": {
"pianam-stock": {
"type": "http",
"url": "https://mcp.pianam.cn/stock-mcp/mcp"
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsonversion 1.0.0
What it does
This server provides real-time quotes for China A-share stocks and major market indices. It lets you query individual stocks by code or Chinese name, and retrieve current index data with market trend summaries. Useful for developers building AI agents or applications that need live Chinese stock market data.
- Query a specific stock's current price, trading volume, and daily change by providing its code (like 600519) or Chinese name (like 贵州茅台).
- Get the latest values and trends for China's three major indices — Shanghai Composite (上证指数), Shenzhen Component (深证成指), and ChiNext (创业板指) — along with an overall market direction summary.
- Build financial dashboards or chatbots for Chinese investors that can quickly look up stock quotes in natural language.
Tools this server exposes
| Tool | Does |
|---|---|
| query_stock_quote | Returns current stock price, trading volume, daily change, and other details for a given stock code or Chinese name. |
| query_index | Returns the current values and changes for the three major A-share indices (Shanghai, Shenzhen, ChiNext) plus overall market trend. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.