stockmatrix-mcp

v0.5.0
io.github.MongLong0214/stockmatrix-mcp Checked 1 day ago Published 4 months ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_theme_ranking Theme Rankings

Get Korean stock market theme rankings with lifecycle scores (TLI: Theme Lifecycle Index). Use when the user asks about: - Trending stock themes, hot investment sectors, market momentum - What themes are rising/falling in Korea - 한국 주식 테마 랭킹, 요즘 뜨는 테마, 상승/하락 테마 - KOSPI/KOSDAQ theme trends Returns themes ranked by score (0-100) with lifecycle stage and related stocks. Scores are computed from search interest (Naver DataLab), news momentum, market volatility, and stock activity — all optimized via Bayesian optimization.

ParameterTypeDescription
limitintegerMax themes per stage (1-50, default 10)
sortstringSort order within each stage: score (default), change7d, newsCount7d
stagestringFilter by lifecycle stage: emerging (초기 — early interest), growth (성장 — expanding), peak (정점 — maximum attention), decline (하락 — fading), reigniting (재점화 — comeback)

get_theme_detail Theme Detail

Get detailed analysis for a specific Korean stock theme. Returns: TLI score breakdown (4 components with weights), lifecycle stage, 24h/7d score changes, prediction outlook, top related stocks with price changes, latest news headlines, and similar theme comparisons. Use after get_theme_ranking or search_themes to drill into a specific theme. Answers: "tell me more about this theme", "what stocks are in this theme", "테마 상세 정보", "관련 종목 알려줘", "이 테마 전망".

ParameterTypeDescription
theme_id *stringTheme UUID from ranking or search results

get_theme_history Theme Score History

Get 30-day score history for a Korean stock theme. Returns daily TLI scores and stage transitions for trend analysis. Use when the user asks about theme momentum over time, whether a theme is gaining or losing interest, or wants to see historical trajectory. Answers: "이 테마 추세가 어때?", "최근 한달 흐름", "is this theme gaining or losing momentum?", "show me the trend".

ParameterTypeDescription
theme_id *stringTheme UUID from ranking or search results

search_themes Search Themes

Search Korean stock market themes by keyword (Korean or English). Use when the user asks about a specific sector, industry, investment theme, stock name, or stock code. Searches theme names, related stock names, and stock symbols. Examples: "AI", "반도체" (semiconductor), "2차전지" (EV battery), "방산" (defense), "로봇" (robotics), "원자력" (nuclear), "삼성전자" (Samsung), "005930". Returns matching themes with TLI scores and lifecycle stages. Use the returned theme_id with get_theme_detail or get_theme_history for deeper analysis.

ParameterTypeDescription
query *stringSearch query — theme name, sector keyword, stock name, or 6-digit stock code

search_stocks Search Stocks

Search Korean stocks by company name, symbol, or 6-digit stock code, and preview their related themes. Use when the user asks: - Find Samsung Electronics / 삼성전자 - I only know the company name, not the stock code - 종목명으로 코드 찾고 관련 테마도 보고 싶어 - 삼성전자가 속한 테마 알려줘 / what themes is Samsung in? - 005930 테마 알려줘 / which themes is this stock part of? For 6-digit stock codes, automatically performs a detailed stock-to-theme lookup (replaces get_stock_theme). For text queries, searches by company name and returns matching stocks…

ParameterTypeDescription
query *stringCompany name or 6-digit stock code, e.g. "삼성전자", "SK하이닉스", "005930"

get_stock_themes Stock → Themes

Find every Korean market theme a specific stock belongs to, each with its current TLI lifecycle score and stage. Use when the user asks about: - Which themes/sectors a stock belongs to - Whether a specific stock is part of any hot/trending/rising theme - 삼성전자(005930)가 속한 테마, 이 종목 관련 테마, 내 종목이 뜨는 테마에 있는지 - Why a stock is moving (via its theme membership and momentum) Input is a 6-digit Korean stock code (e.g. 005930 Samsung Electronics, 000660 SK Hynix). To find a code from a company name, use search_stocks first. Returns themes sorted b…

ParameterTypeDescription
symbol *stringKorean stock code — exactly 6 digits (e.g. "005930" Samsung Electronics, "000660" SK Hynix)

get_market_summary Market Summary

Get an AI-optimized summary of the Korean stock theme market. Use when the user asks: - What's happening in Korean stock themes right now? - Give me a market overview before drilling down - 오늘 한국 테마 시장 요약 - 현재 뜨는 테마와 시장 분포를 한 번에 보고 싶어 Returns a concise market overview, stage distribution, top themes, endpoint references, citation metadata, and disclaimer text.

get_methodology TLI Methodology

Get the TLI (Theme Lifecycle Index) algorithm methodology — how scores, stages, and predictions work. Use when the user asks: - How are theme scores calculated? - What do the lifecycle stages mean? - How does the prediction work? - What data sources, schedules, runtime pipeline, or database tables power TLI? - TLI 알고리즘 설명, 점수 산출 방식, 단계 판정 기준 - What data sources are used? - TLI 수집 파이프라인, 업데이트 주기, 비교 파이프라인, 데이터 테이블 Returns structured documentation of the scoring algorithm, data collection pipeline, runtim…

ParameterTypeDescription
sectionstringSpecific section: scoring, stabilization, stages, comparison, prediction, data_sources, update_schedule, runtime, data_flow, database_tables, limitations, or all (default: all)

get_theme_changes Daily Theme Movers

Get recent score changes and stage transitions for Korean stock themes. Use when the user asks: - What themes changed the most today/this week? - Which themes are rising or falling? - Any stage transitions recently? - 오늘 테마 변동, 급등/급락 테마 - 이번 주 생명주기 단계 변화한 테마 - 새로 떠오르는 테마 있어? Returns movers (rising/falling by score change), stage transitions, and newly emerging themes.

ParameterTypeDescription
periodstringComparison period: 1d = vs yesterday (default), 7d = vs 7 days ago

compare_themes Compare Themes

Compare 2–5 Korean stock market themes side-by-side with lifecycle scores, similarity, and overlapping stocks. Use when the user asks: - Compare semiconductor and AI themes - How similar are these themes? - 반도체 vs AI 테마 비교, 테마 간 유사도 - Which theme is stronger right now? - Do these themes share the same stocks? Returns each theme's score/stage/sparkline, pairwise similarity scores, and overlapping stocks.

ParameterTypeDescription
theme_ids *arrayArray of 2–5 theme UUIDs to compare

get_predictions Theme Predictions

Get champion probability prediction snapshots for Korean stock themes. Use when the user asks: - Which themes are rising / about to peak / cooling down? - What is the pRise probability for a theme? - Which themes are abstaining because data is still being collected? - Show me predicted hot themes - 상승세 테마 예측, 하락 전환 예상 테마 - 테마 생명주기 예측 결과를 보고 싶어 Returns v3 snapshot fields when exposure is enabled: pRise, ciLower, ciUpper, abstain, abstainReasons, modelVersion, trailing90d.topSignalPrecision, and deprecated phase compatibility. Returns…

ParameterTypeDescription
phasestringDeprecated compatibility filter derived from pRise: rising >=0.6, hot >=0.4, cooling <0.4