Skip to main content
Glama
stock-mcp-server

stock-mcp-server

by 1018053166

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_stock_realtimeC

获取股票实时数据

batch_get_stocksB

批量获取多只股票的实时数据

search_stockB

搜索股票(支持股票代码或名称关键词)

get_klineC

获取K线数据(日K/周K/月K/分钟线)

get_rank_listC

获取涨跌幅排行榜

get_sector_rankC

获取行业板块涨跌排行

get_market_overviewB

获取市场概况(上证/深证/创业板指数)

get_shareholder_countC

获取股东人数数据(历史股东户数变化)

get_top_ten_holdersC

获取十大流通股东数据

get_shareholder_trendB

获取股东增长趋势分析(基于近期股东户数变化)

get_money_flowC

获取资金流向数据(主力资金、超大单、大单、中单、小单)

get_finance_dataC

获取财务数据(营收、净利润、ROE等核心指标)

get_technical_indicatorsC

获取技术指标(MA均线、MACD、RSI、KDJ、BOLL)

get_shareholder_structureC

获取股东结构数据(散户占比、散户市值比、机构占比等)

get_top_ten_holdingsC

获取按持仓市值排序的前十大股东

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 15 tools

Disambiguation3/5

Most tools target distinct data types (quotes, kline, ranking, money flow, finance), but the shareholder cluster is muddled: get_top_ten_holders (top circulating shareholders) and get_top_ten_holdings (top shareholders by market value) appear to be near-duplicates, and get_shareholder_count vs get_shareholder_trend vs get_shareholder_structure overlap conceptually. Also get_rank_list vs get_sector_rank and get_stock_realtime vs batch_get_stocks require reading descriptions closely to separate.

Naming Consistency4/5

Nearly all names follow a snake_case get_noun pattern (get_kline, get_money_flow, get_finance_data). Minor deviations: search_stock uses a different verb, and batch_get_stocks uses a batch_ prefix, but both remain readable and predictable.

Tool Count4/5

15 tools is a reasonable size for a stock-data server covering quotes, technicals, fundamentals, rankings and shareholder data. Slightly heavy given four shareholder-related tools where two or three would suffice.

Completeness4/5

Covers search, market overview, realtime/batch quotes, kline, rankings, sectors, money flow, financials, technicals and shareholder data — a broad lifecycle for market analysis. Gaps exist around news/announcements, trading calendar, dividends, and index-level constituents, but core analysis workflows are supported.