Stock MCP Server
About
A MCP server for real-time stock quotes, using Model Context Protocol (MCP).
Details
- Author
- YongYangLi
- GitHub stars
- 4
- Downloads
- 415
- Categories
- Finance
Jump to
- Provides real-time stock quotes via MCP
- Supports Chinese stock symbols (Shanghai, Shenzhen)
- Simple get-quote tool with symbol input
- Easy setup with npx or local installation
- Integrates with Claude Desktop and Cline
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Stock MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
get-quote
Get real-time stock quote
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"stock mcp server": {
"stock": {
"command": "node",
"args": [
"D:\\dev\\mcp\\stock-mcp-server\\build\\index.js"
],
"disabled": false,
"autoApprove": []
}
}
}
}
McpServers
{
"stock": {
"command": "node",
"args": [
"D:\\dev\\mcp\\stock-mcp-server\\build\\index.js"
],
"disabled": false,
"autoApprove": []
}
}
Stock MCP Server
A MCP server for real-time stock quotes, using Model Context Protocol (MCP).
Tools
get-quote
- Get real-time stock quotes - Input: -symbol (string): Stock symbol (e.g.: sh600000, sz000001)
Configuration
Using with Claude Desktop 、 Cline
Add the following configuration:
{
"stock": {
"command": "npx",
"args": [
"-y",
"stock-mcp-server"
]
}
}
Alternatively, you can use the node command directly if you have the package installed:
{
"json": {
"command": "node",
"args": [
"path/to/build/index.js"
]
}
}
Development
Build from source
1. Clone the repository
2. Install dependencies:
npm install
3. Build the project:
npm run build
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.
