Skip to main content
Glama
oliverwehn

trade-analytics-mcp

by oliverwehn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABENTO_API_KEYYesYour Databento API key (required). Get one at databento.com.
TRADE_ANALYTICS_API_KEYNoYour trade-analytics API key (required for render/analyze tools). Get one at trade-analytics.o-gw.com/dashboard.
TRADE_ANALYTICS_API_URLNoBase URL for the trade-analytics API. Defaults to hosted API.https://trade-analytics.o-gw.com
TRADE_ANALYTICS_OUTPUT_DIRNoDirectory where render saves images. Defaults to current working directory..

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
resolve_symbolA

Resolve a symbol the user mentioned (e.g. 'MNQ', 'micro nasdaq', 'MNQU6') to its precise Databento notation + trading metadata: root, continuous symbol, dataset, point value, tick size, and best-effort front-month. Runs locally under your Databento key. Free.

get_price_contextA

Return OHLCV candles + trade markers as JSON for a symbol/window, fetched locally under your Databento key. Free. Pass fills via markers and the initial stop/target via risk; omit timeframe/start/end to derive the window from the markers (span padded, ~60 candles). For a chart image or trade analysis, use the render / analyze tools.

renderA

Render a candlestick chart image of a trade (PAID — needs TRADE_ANALYTICS_API_KEY). Fetches your data locally under your Databento key, sends only the numeric slice to the API, and returns the PNG (viewable) AND saves it to a file so you can add it to a journal — the saved path is in the text result. Use save_path to choose the location, format:'svg' for vector, or include_base64:true for inline bytes.

analyzeA

Analyze trades (PAID — needs TRADE_ANALYTICS_API_KEY): per-trade MAE/MFE, R-multiple, went-green-first, capture efficiency, USD P&L (with point_value), plus an aggregate summary. Fetches the candles spanning your trades locally, sends only the numeric slice to the API. Pass trades as entry/exit fills with a side; add stop for R-multiples.

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/oliverwehn/trade-analytics-mcp'

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