stock-mcp-server
v1.0.1
Published
A real-time stock quote server using Sina Finance API with MCP protocol
Downloads
57
Readme
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
- Clone the repository
- Install dependencies:
npm install - Build the project:
npm run build
