Stock MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CACHE_TTL | No | Cache expiration time in seconds | 3600 |
| HTTP_PROXY | No | HTTP proxy configuration (recommended for US stock data access) | |
| REDIS_HOST | No | Redis host (default: redis for Docker, localhost for local) | redis |
| HTTPS_PROXY | No | HTTPS proxy configuration (recommended for US stock data access) | |
| NEWS_API_KEY | No | News API key for news aggregation | |
| CACHE_ENABLED | No | Whether to enable caching | true |
| TUSHARE_TOKEN | Yes | A股数据访问token (required, get from https://tushare.pro/) | |
| TAVILY_API_KEY | No | Tavily API key for AI search and research | |
| FINNHUB_API_KEY | No | Finnhub 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 22 tools
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.
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.
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.
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.