Stock Api MCP Server

Stock market data API for Node.js, browsers, and TypeScript

Local serverstdioTypeScript

What is the Stock Api MCP Server?

Stock market data API for Node.js, browsers, and TypeScript

What you get

const stock = await stocks.auto.getStock("SH510500"); const list = await stocks.auto.getStocks(["SH510500", "SZ000651"]); const klines = await stocks.auto.getKlines("SH600519", { period: "day" }); const results = await stocks.auto.searchStocks("格力电器"); ```

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Stock Api MCP Server

{
  "mcpServers": {
    "stock-api": {
      "command": "npx",
      "args": [
        "-y",
        "stock-api",
        "mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Frequently asked questions

Stock market data API for Node.js, browsers, and TypeScript Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.