Stock Trends MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STOCKTRENDS_API_KEY | No | SECRET. Use placeholder in all docs. Required for paid exposure and execution. Sent only as X-API-Key header to approved endpoints. Never logged. | |
| STOCKTRENDS_API_BASE_URL | No | Must be an approved Stock Trends HTTPS origin. Not a secret. | https://api.stocktrends.com |
| STOCKTRENDS_MCP_LOG_LEVEL | No | Normal logs go to stderr, never stdout. Not a secret. | warn |
| STOCKTRENDS_MCP_TRANSPORT | No | Only 'stdio' is supported. Not a secret. | stdio |
| STOCKTRENDS_ENABLE_PAID_TOOLS | No | Exposure flag. When 'true' with a configured API key, exposes the paid tool definitions. Never executes on its own. Not a secret. | false |
| STOCKTRENDS_ENABLE_X402_RELAY | No | When 'true', exposes the nine paid semantic tool names without an API key. Cannot be mixed with STOCKTRENDS_ENABLE_PAID_TOOLS. Not a secret. | false |
| STOCKTRENDS_MAX_STC_PER_SESSION | No | STC budget cap. A nonzero STC cost with no STC cap is denied. Not a secret. | |
| STOCKTRENDS_MAX_USD_PER_SESSION | No | USD budget cap. A nonzero USD cost with no USD cap is denied. Not a secret. | |
| STOCKTRENDS_ENABLE_PAID_EXECUTION | No | Execution flag. Requires paid tools flag, API key, pricing preflight, nonzero caps, and budget cap. Not a secret. | false |
| STOCKTRENDS_MAX_PAID_CALLS_PER_TOOL | No | Per-tool paid-call cap. 0 denies; requires explicit nonzero value. Not a secret. | 0 |
| STOCKTRENDS_REQUIRE_PRICING_PREFLIGHT | No | Pricing preflight is mandatory; setting to 'false' denies paid execution. Not a secret. | true |
| STOCKTRENDS_MAX_PAID_CALLS_PER_SESSION | No | Per-session paid-call cap. 0 denies all; live execution requires explicit nonzero value. Not a secret. | 0 |
| STOCKTRENDS_ENABLE_X402_PROOF_FORWARDING | No | Unsupported. Off values accepted; 'true' fails startup. Not a secret. | false |
| STOCKTRENDS_ENABLE_X402_CHALLENGE_EXECUTION | No | Only usable with STOCKTRENDS_ENABLE_X402_RELAY=true. Literal 'true' preserves deterministic mock results. Not a secret. | false |
| STOCKTRENDS_ENABLE_X402_LIVE_CHALLENGE_RELAY | No | Only literal 'true' enables; requires relay and challenge flags to be true. Allows at most one no-key GET per tool, capped. Not a secret. | false |
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
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| stocktrends_estimate_workflow_costA | Public/free planning tool that calls GET /v1/cost-estimate for workflow-level budgeting only. It does not authorize paid execution, payment, x402, wallet use, or paid endpoint calls. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| stocktrends_openapi_contract | Public OpenAPI contract fetched on request from GET /v1/openapi.json. |
| stocktrends_ai_context | Public AI context fetched on request from GET /v1/ai/context after no-key verification. |
| stocktrends_ai_tools_manifest | Public machine-readable API tools manifest fetched on request from GET /v1/ai/tools. |
| stocktrends_workflows | Public workflow planning metadata fetched on request from GET /v1/workflows. |
| stocktrends_methodology_stim | Public ST-IM methodology metadata fetched on request from GET /v1/meta/stim. |
| stocktrends_methodology_indicators | Public indicator methodology metadata fetched on request from GET /v1/meta/indicators. |
| stocktrends_methodology_inference | Public provider-agnostic inference metadata fetched on request from GET /v1/meta/inference. |
| stocktrends_pricing_catalog | Public pricing catalog fetched on request from GET /v1/pricing/catalog for planning metadata only. |
| stocktrends_proof_market_edge | Public static market-edge proof metadata fetched on request from GET /v1/ai/proof/market-edge. |
| stocktrends_leadership_definitions | Public leadership indicator and taxonomy definitions fetched on request from GET /v1/leadership/definitions after credential-free verification. |
TDQS
Scored across 1 tool
With only one tool, there is no possibility of overlap or confusion. The tool's purpose is clearly described, and it is the sole action available.
The single tool name follows a clear snake_case pattern, and there are no other tools to create inconsistencies. The name is descriptive of its function, even if it seems unrelated to the server's apparent domain.
A single tool is extremely insufficient for a server purportedly about stock trends, and the tool's function (workflow cost estimation) is unrelated to stock trends. This represents an extreme mismatch between the server's purpose and its tool surface.
The server name suggests stock trend analysis, but the only tool provides cost estimation, leaving no functionality for its stated domain. This is a severe and obvious gap that would render the server useless for its intended purpose.