
Stock MCP Server
A MCP server for real-time stock quotes, using Model Context Protocol (MCP).
What is Stock MCP Server?
Stock MCP Server is a server designed to provide real-time stock quotes using the Model Context Protocol (MCP).
How to use Stock MCP Server?
To use the Stock MCP Server, you can either run it using the command npx stock-mcp-server
or directly with Node.js if you have the package installed. Configuration is required for integration with tools like Claude Desktop or Cline.
Key features of Stock MCP Server?
- Real-time stock quotes retrieval.
- Easy integration with other applications using MCP.
- Simple command-line interface for fetching stock data.
Use cases of Stock MCP Server?
- Integrating real-time stock data into financial applications.
- Providing stock quotes for trading platforms.
- Enabling data analysis for stock market trends.
FAQ from Stock MCP Server?
- What is the Model Context Protocol (MCP)?
MCP is a protocol designed for real-time data exchange between applications.
- Can I use Stock MCP Server for any stock symbol?
Yes! You can retrieve quotes for any valid stock symbol.
- Is there any cost associated with using Stock MCP Server?
The Stock MCP Server is open-source and free to use.
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