Stockmatrix Mcp

io.github.MongLong0214由 GitHub 账号 MongLong0214 发布v0.5.0更新于 Oct 24, 2026

Korean stock market theme lifecycle analysis (TLI) — rankings, stock lookup, predictions & prompts

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

让助手基于 TLI 生命周期评分分析韩国股市投资主题,提供排名、个股查询、主题对比与预测。

可以做什么
通过 StockMatrix API 提供 11 个工具用于韩国市场主题分析:按生命周期阶段获取主题排名、AI 优化的市场概览、每日或每周评分变动与阶段转换、2 至 5 个主题的并排对比,以及基于历史相似匹配的上涨、见顶、降温预测。还可按关键词、公司名或六位代码搜索主题与个股,进行个股到主题的反向查询,返回详细评分构成、30 天评分历史与 TLI 方法论文档。另有 4 个工作流提示词打包多工具分析,2 个只读资源提供方法论与当日排名。
适用场景
适合希望以对话方式了解韩国股市主题而非原始行情的人:跟踪哪些 KOSPI/KOSDAQ 主题正在兴起或见顶、检查持仓个股是否属于热门主题、比较不同主题,或回顾主题近一个月的动能。
运行要求
以 npm 包 stockmatrix-mcp 通过 stdio 在本地运行,使用 npx 启动,因此需要 Node.js 以及访问 StockMatrix API 的网络。未声明需要身份验证。可选环境变量 STOCKMATRIX_API_URL 可覆盖默认 API 基础地址。文档面向 Claude Desktop、Cursor、Windsurf、VS Code 等桌面 MCP 客户端。
安装前请注意
该服务器会向 StockMatrix API 发送请求,数据来自第三方来源(Naver DataLab、Naver Finance、Naver News),查询内容会离开本机。将 STOCKMATRIX_API_URL 设为非默认主机会把全部流量转向该主机。输出为分析评分与预测,并非投资建议,且未暴露交易或写入类操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Stockmatrix Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

stockmatrix-mcp

Official MCP server for StockMatrix (https://stockmatrix.co.kr).

Ask about Korean stock market themes in natural conversation with AI. Track 200+ KOSPI/KOSDAQ investment themes, get daily movers, look up which themes a stock belongs to, compare themes side-by-side, and see predictions — all through Claude, Cursor, or any MCP-compatible AI agent.

Powered by TLI (Theme Lifecycle Index) — a Bayesian-optimized scoring algorithm combining search interest, news momentum, market volatility, and stock activity into a 0-100 score with lifecycle stage classification.

11 tools + 4 one-click workflow prompts + live resources. Try the market_briefing slash command for an instant Korean market overview.

Quick Start

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "stockmatrix": {      "command": "npx",      "args": ["-y", "stockmatrix-mcp"]    }  }}

Cursor / Windsurf

Add to .cursor/mcp.json or .windsurf/mcp.json:

json
{  "mcpServers": {    "stockmatrix": {      "command": "npx",      "args": ["-y", "stockmatrix-mcp"]    }  }}

VS Code / Claude Code

Add to .vscode/mcp.json:

json
{  "servers": {    "stockmatrix": {      "command": "npx",      "args": ["-y", "stockmatrix-mcp"]    }  }}

Try Asking

After setup, just ask in natural language:

PromptWhat happens
"요즘 뜨는 테마 TOP 5"Top 5 themes ranked by TLI score
"오늘 한국 테마 시장 요약해줘"AI-optimized market overview
"어제 대비 가장 많이 오른 테마는?"Daily score movers and stage transitions
"AI 관련 테마 찾아줘"Search AI-related themes
"반도체 vs 2차전지 비교해줘"Side-by-side theme comparison
"앞으로 오를 테마 알려줘"Rising predictions with analog evidence
"삼성전자가 속한 테마"Stock-to-theme lookup (auto-detects 6-digit codes)
"방산 테마 상세 정보"Score breakdown, stocks, news, comparisons
"반도체 테마 최근 한달 추세"30-day score history
"TLI 점수는 어떻게 계산돼?"Algorithm methodology (tip: use section=scoring to save tokens)
"What are the hottest stock themes in Korea?"Works in English too

Available Tools

get_theme_ranking

Get theme rankings by lifecycle stage with limit and sort options.

ParameterTypeRequiredDescription
stagestringNoemerging / growth / peak / decline / reigniting
limitnumberNoResults per stage (1-50, default: 10)
sortstringNoscore / change7d / newsCount7d (default: score)

get_market_summary

Get an AI-optimized market overview with top themes (includes themeId for chaining).

get_theme_changes

Get daily or weekly score movers, stage transitions, and newly emerging themes.

ParameterTypeRequiredDescription
periodstringNo1d (default) / 7d

compare_themes

Compare 2-5 themes side-by-side with scores, stocks, sparklines, and similarity.

ParameterTypeRequiredDescription
theme_idsstring[]YesArray of 2-5 theme UUIDs

get_predictions

Get themes predicted to rise, peak, or cool based on historical analog matching.

ParameterTypeRequiredDescription
phasestringNorising / hot / cooling (default: all)

search_themes

Search themes by keyword, stock name, or stock code.

ParameterTypeRequiredDescription
querystringYese.g. "AI", "반도체", "삼성전자", "005930"

search_stocks

Search stocks by company name or 6-digit code, with related theme preview. Automatically performs stock-to-theme lookup for 6-digit codes.

ParameterTypeRequiredDescription
querystringYese.g. "삼성전자", "SK하이닉스", "005930"

get_stock_themes

Reverse lookup — every theme a stock belongs to, ranked by theme score, each with lifecycle stage and the stock's relevance. Answers "is my stock in a hot theme?"

ParameterTypeRequiredDescription
symbolstringYes6-digit Korean stock code, e.g. "005930" (Samsung), "000660" (SK Hynix)

get_theme_detail

Get detailed analysis: score breakdown (4 components), stage, prediction, stocks, news, comparisons.

ParameterTypeRequiredDescription
theme_idstring (UUID)YesTheme UUID from ranking or search

get_theme_history

Get 30-day score history for trend analysis.

ParameterTypeRequiredDescription
theme_idstring (UUID)YesTheme UUID

get_methodology

Get TLI algorithm documentation — scoring, stages, stabilization, comparison, prediction, data sources, and more.

ParameterTypeRequiredDescription
sectionstringNoscoring / stages / comparison / prediction / all (default: all)

Tip: Use section=scoring to get just the scoring algorithm and save context tokens.

Workflow Prompts

One-click slash commands (in Claude Desktop, Cursor, and other MCP clients) that run complete multi-tool analyses for you — the fastest way to get real value:

PromptArgumentWhat it does
market_briefing—Today's Korean market theme briefing: mood, top themes, movers, takeaways
theme_deep_divethemeFull lifecycle analysis of one theme: score, 30-day trend, stocks, news, outlook
find_investment_themesinterestDiscover themes matching an interest, ranked by momentum and stage
stock_theme_checkstockCheck whether a stock (name or code) sits inside any hot or rising themes

Resources

Attachable read-only context (no tool call needed):

URIDescription
stockmatrix://methodologyHow TLI scores and lifecycle stages are computed — weights and thresholds
stockmatrix://rankingsLive snapshot of today's theme rankings by score, grouped by stage

Scoring Algorithm

TLI scores (0-100) are a weighted sum of 4 components, optimized via Bayesian Optimization:

ComponentWeightSource
Search Interest30.4%Naver DataLab
News Momentum36.6%Naver News
Volatility10.4%Interest time-series
Stock Activity22.6%Naver Finance

Scores are stabilized through Cautious Decay (3-signal majority vote), Bollinger Band Clamp (limits daily change), and Age-adaptive EMA (newer themes react faster).

Lifecycle Stages

Dormant -> Emerging -> Growth -> Peak -> Decline -> Dormant                                          |                                     Reigniting

Stage transitions require 2 consecutive days of the same candidate (hysteresis) and follow Markov transition constraints.

Data Coverage

  • 200+ themes across KOSPI & KOSDAQ
  • Daily updates — scores, news, stock mappings
  • Stock ↔ theme lookup — by company name, 6-digit code, or reverse (stock → all its themes)
  • AI market summary for first-call overview
  • Predictions with historical analog matching
  • Workflow prompts — one-click multi-tool analyses
  • Sources: Naver DataLab, Naver Finance, Naver News

Configuration

VariableDefaultDescription
STOCKMATRIX_API_URLhttps://stockmatrix.co.krOverride API base URL

License

MIT

Links

来源:mcp/README.md,提交 8eb2c73

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.5.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。