1. Conduid
  2. Browser
  3. Stock API
MCP server · Browser

Stock API

查询 A 股、美股、港股与场内基金行情,并通过 Node.js、浏览器、CLI 或 MCP 快速接入。

Unclaimed MIT browsermcpnodejsstocks
91Strong

Scored 21 hours ago · breakdown

About Stock API

Stock API is an MCP server published by zhangxiangliang in the Browser category: 查询 A 股、美股、港股与场内基金行情,并通过 Node.js、浏览器、CLI 或 MCP 快速接入。. Conduid read 5 tools from its source: get_klines, get_stock, get_stocks, inspect_stock and search_stocks. It is published to npm as stock-api and starts with npx.

The repository has 2.0K stars and 227 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v2.7.5 (21 Sep 2026): Bug Fixes split quote/search status and detect eastmoney JSONP responses (8f561df). It follows v2.7.4 (6 Sep 2026), and the 5 most recent releases go back to v2.7.1 (26 May 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include browser and stocks.

Install

Claude Code
claude mcp add stock-api -- npx -y stock-api
npx
npx -y stock-api
From source
git clone https://github.com/zhangxiangliang/stock-api

Tools (5)

get_klinesGet normalized K-line rows for charting.
ParameterTypeDescription
adjuststringPrice adjustment mode. Defaults to none.
code *any
countnumberNumber of rows to return. Defaults to the provider default.
periodstringK-line period. Defaults to day.
sourceany
get_stockGet one normalized stock quote by code.
ParameterTypeDescription
code *any
sourceany
get_stocksGet normalized stock quotes for multiple codes.
ParameterTypeDescription
codes *arrayStock codes, such as SH510500 or SZ000651.
sourceany
inspect_stockInspect quote availability and provider fallback details.
ParameterTypeDescription
code *any
sourceany
search_stocksSearch stock symbols by keyword.
ParameterTypeDescription
query *stringSearch keyword, such as 格力电器.
sourceany

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 396 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 43 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
None found in the source
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 43 files: places to read, not proof of what the code does at run time.

Releases

v2.7.5v2.7.5 · 21 Sep 20262.7.5 (2026-09-21) Bug Fixes split quote/search status and detect eastmoney JSONP responses (8f561df)
v2.7.4v2.7.4 · 6 Sep 20262.7.4 (2026-09-06) Bug Fixes mcp: honor protocol version negotiation on initialize (07556d9), closes #19
v2.7.3v2.7.3 · 24 Jun 20262.7.3 (2026-06-24) Bug Fixes polish web demo toast copy (056f82e)
v2.7.2v2.7.2 · 27 May 20262.7.2 (2026-05-27) Bug Fixes scope demo storage (cd8e2af)
v2.7.1v2.7.1 · 26 May 20262.7.1 (2026-05-26) Bug Fixes stabilize mcp tool results (c05394a)

README

The repository's README runs to about 396 words, fetched 5 days ago. The original in the repository is authoritative.

Read full README
Questions

About Stock API

How do I install Stock API?

In Claude Code, run claude mcp add stock-api -- npx -y stock-api. Other MCP clients take the command after "--" in their server configuration.

Is Stock API safe to use with an AI agent?

Its trust score is 91 out of 100 (strong). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 43 source files found that it makes no calls that start programs, reach the network or write files. Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Stock API still maintained?

Yes — the latest release is v2.7.5 (21 Sep 2026), and the last commit was yesterday. The repository has 2.0K stars.

What tools does Stock API provide?

Conduid read 5 tools from the source: get_klines, get_stock, get_stocks, inspect_stock and search_stocks. 5 of them publish their parameters, listed under Tools above.

What license is Stock API released under?

The repository declares the MIT license. That applies to the latest release, v2.7.5, as well.