Stock MCP Server
@YongYangLi
About Stock MCP Server
A MCP server for real-time stock quotes, using Model Context Protocol (MCP).
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"stock": {
"command": "node",
"args": [
"D:\\dev\\mcp\\stock-mcp-server\\build\\index.js"
],
"disabled": false,
"autoApprove": []
}
}
}Tools
1Get real-time stock quote
Overview
What is Stock MCP Server?
Stock MCP Server is a Model Context Protocol (MCP) server that provides real-time stock quotes. It is designed for developers and AI assistants that need to fetch stock data through MCP, particularly supporting Chinese stock symbols.
How to use Stock MCP Server?
Install and run the server using npx -y stock-mcp-server or by building from source and running node build/index.js. Configure it as an MCP server in applications like Claude Desktop or Cline by adding the provided JSON configuration. Invoke the get-quote tool with a stock symbol (e.g., sh600000 or sz000001) to retrieve a real-time quote.
Key features of Stock MCP Server
- Provides real-time stock quotes via MCP
- Supports Chinese stock symbols (Shanghai, Shenzhen)
- Simple
get-quotetool with symbol input - Easy setup with
npxor local installation - Integrates with Claude Desktop and Cline
Use cases of Stock MCP Server
- Fetching live stock prices through an AI assistant
- Integrating stock market data into MCP-enabled applications
- Building automated stock tracking or alert tools
FAQ from Stock MCP Server
What is Stock MCP Server?
Stock MCP Server is a lightweight MCP server that enables real-time stock quote retrieval through the Model Context Protocol.
How do I configure it with Claude Desktop or Cline?
Add a JSON entry to your MCP client configuration with "command": "npx" and "args": ["-y", "stock-mcp-server"], or use "node" with the path to the built index.js file.
What stock symbols are supported?
The server accepts symbols with a prefix indicating the exchange: sh for Shanghai and sz for Shenzhen stocks (e.g., sh600000).
Does Stock MCP Server require any runtime dependencies?
It requires Node.js and npm. The recommended usage is via npx, which automatically resolves the package.
How can I build the server from source?
Clone the repository, run npm install, then npm run build to compile the TypeScript source to JavaScript.
Frequently asked questions
What is Stock MCP Server?
Stock MCP Server is a lightweight MCP server that enables real-time stock quote retrieval through the Model Context Protocol.
How do I configure it with Claude Desktop or Cline?
Add a JSON entry to your MCP client configuration with "command": "npx" and "args": ["-y", "stock-mcp-server"], or use "node" with the path to the built index.js file.
What stock symbols are supported?
The server accepts symbols with a prefix indicating the exchange: `sh` for Shanghai and `sz` for Shenzhen stocks (e.g., `sh600000`).
Does Stock MCP Server require any runtime dependencies?
It requires Node.js and npm. The recommended usage is via `npx`, which automatically resolves the package.
How can I build the server from source?
Clone the repository, run `npm install`, then `npm run build` to compile the TypeScript source to JavaScript.
Basic information
More Finance & Commerce MCP servers
Futu Stock MCP Server
shuizhengqi1mcp server for futuniuniu stock
Boba MCP
Able-labs-xyzBoba CLI - The bridge between agents and decentralized trading.
Financial Modeling Prep MCP Server
cdtaitFinancial Modeling Prep MCP Server
Bitget Agent Hub
Bitget-AIOfficial open-source AI toolkit for Bitget crypto trading and market analysis
Capital.com MCP
capital-com-svCFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 81.31% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understa
Comments