MCP ExplorerExplorer

Stock Mcp Server

@YongYangLion a year ago
3 MIT
FreeCommunity
AI Systems
A MCP server for real-time stock quotes, using Model Context Protocol (MCP).

Overview

What is Stock Mcp Server

stock-mcp-server is a server designed to provide real-time stock quotes using the Model Context Protocol (MCP).

Use cases

Use cases include developing trading bots, financial dashboards, and applications that require up-to-date stock information for analysis or decision-making.

How to use

To use stock-mcp-server, configure it in your application by adding the specified JSON configuration. You can run it using ‘npx stock-mcp-server’ or directly with Node.js if the package is installed.

Key features

Key features include the ability to fetch real-time stock quotes by inputting stock symbols, providing a simple command-line interface for integration.

Where to use

stock-mcp-server can be used in financial applications, trading platforms, and any system requiring real-time stock market data.

Content

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
    

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers