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

Capabilities

Features and capabilities supported by this server

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huweihua123/stock-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server