#
ENJA

stock-sdk

MCP Server

chengzuopeng/stock-sdk

Stock SDK is a zero-runtime-dependency TypeScript library designed for both browser and Node.js environments to fetch and process real-time and historical financial market data. It includes built-in CLI support and a Model Context Protocol (MCP) server for seamless AI assistant integration.

1.8k 171ISCUpdated 2026-08-07

Overview

This project provides comprehensive financial market data access—covering A-shares, Hong Kong stocks, US stocks, public funds, futures, and options—without requiring an external backend service. Version 2 introduces a namespace API, a unified symbol model, robust request governance (such as rate limiting and circuit breaking), local technical indicator calculations, and an integrated MCP server.

Capabilities

  • A-share, HK, US, and public fund real-time and historical quotes
  • Technical indicators and signal recognition
  • Unified symbol normalization and cross-market error tolerance
  • Built-in CLI (`stock-sdk`) and MCP server protocol implementation
  • Zero runtime dependencies with browser and Node.js dual compatibility

Best for

Fetching real-time and historical K-line stock quotes inside web or Node.js applications, Running local technical indicator analysis, signal detection, and backtesting, Integrating stock data tools directly into AI workflows using the built-in MCP server and CLI, Querying specialized financial metrics like block trades, dragon-tiger lists, and capital flows

Works with

Claude CodeCodexChatGPTGemini CLICursorGitHub Copilot
Evoa Score breakdown= Σ (score × weight)
84
Task usefulness20%88 → +17.6

実タスクにどれだけ役立つか(機能の豊富さ・用途の明確さ)。 AIによるcapabilities/use-cases解析

Code quality15%90 → +13.5

実装・指示の品質。 AIによるSKILL.md/README解析

Maintenance15%100 → +15.0

リポジトリがどれだけ活発に保守されているか。 GitHub 最終push日時の新しさ

Documentation12%47 → +5.6

ドキュメントの充実度・分かりやすさ。 README/独自要約の情報量

Security15%80 → +12.0

危険・不審な挙動が無いか。 AIによるセキュリティレビュー

Originality10%85 → +8.5

ありふれたラッパーではない独自性。 AIによる独自性判定

Popularity8%83 → +6.6

コミュニティの採用度。 GitHub Stars/Forks(対数スケール)

Compatibility5%100 → +5.0

対応AIエージェントの広さ。 AIによる対応エージェント判定

Weighted total83.9 / 100

ライセンス不明/制限あり(Red)のSkillは総合スコアに0.85倍の補正を適用します。 ランキングはこのScoreのみで決まり、広告で変わりません。 算出方法の詳細 →

Security considerations

The SDK communicates with public financial data providers over HTTP/HTTPS and executes dynamic script injection mechanisms in browser environments. Developers should ensure proper sanitization if rendering untrusted stock symbols or responses.

Categories

Summary and analysis are original content generated by AI Skills Rank. The skill's source text is not reproduced here — view it on the linked repository.