Skip to main content
Glama
huweihua123

Stock MCP Server

by huweihua123

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CACHE_TTLNoCache expiration time in seconds3600
HTTP_PROXYNoHTTP proxy configuration (recommended for US stock data access)
REDIS_HOSTNoRedis host (default: redis for Docker, localhost for local)redis
HTTPS_PROXYNoHTTPS proxy configuration (recommended for US stock data access)
NEWS_API_KEYNoNews API key for news aggregation
CACHE_ENABLEDNoWhether to enable cachingtrue
TUSHARE_TOKENYesA股数据访问token (required, get from https://tushare.pro/)
TAVILY_API_KEYNoTavily API key for AI search and research
FINNHUB_API_KEYNoFinnhub API key for enhanced news data

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
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_kline_dataD–
get_real_time_priceD–
get_asset_infoD–
get_technical_indicatorsD–
generate_trading_signalD–
calculate_support_resistanceD–
get_financial_reportsD–
get_valuation_metricsD–
get_us_valuation_metricsD–
get_money_flowD–
get_north_bound_flowD–
get_chip_distributionD–
fetch_periodic_sec_filingsD–
fetch_event_sec_filingsD–
fetch_ashare_filingsD–
get_filing_markdownD–
get_document_chunksD–
get_stock_newsD–
get_latest_newsD–
get_us_news_sentimentD–
tushare_fetch_to_csvD–
alphavantage_fetch_to_jsonD–

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

D1.8/5.0

Scored across 22 tools

Disambiguation4/5

Most tools have distinct purposes targeting different financial data aspects (e.g., price data, filings, news, technical indicators), though some potential overlap exists between get_stock_news and get_latest_news, and between get_valuation_metrics and get_us_valuation_metrics. The lack of descriptions makes precise disambiguation challenging, but the naming suggests reasonable differentiation.

Naming Consistency4/5

The naming follows a consistent verb_noun pattern with 'get_' or 'fetch_' prefixes for most tools, and descriptive compound nouns. Minor deviations include alphavantage_fetch_to_json and tushare_fetch_to_csv which use different structures, and calculate_support_resistance which uses a verb_verb_noun pattern, but overall the conventions are readable and predictable.

Tool Count3/5

With 22 tools, the count is borderline high for a stock/financial data server, potentially feeling heavy but not extreme. It covers many aspects like price data, filings, news, and technical analysis, which might justify the number, but it could benefit from consolidation or better scoping to avoid redundancy.

Completeness4/5

The tool set appears to cover a broad range of stock market functions including data fetching (price, filings, news), analysis (technical indicators, signals, support/resistance), and metrics (valuation, money flow). Minor gaps might exist in areas like portfolio management or historical backtesting, but core workflows for financial data retrieval and analysis are well-represented.

Maintenance

ActivityInactive
ResponsivenessNo issues