The MCP Trader Server repository provides a Model Context Protocol server equipped with tools for stock analysis and trading, including technical analysis, relative strength calculations, and position sizing.
The MCP Trader Server is a Model Context Protocol (MCP) server designed for stock traders, providing tools for stock analysis and trading.
It offers tools like analyze-stock
for technical analysis, relative-strength
to compare a stock against a benchmark, and volume-profile
for volume distribution analysis. The detect-patterns
tool identifies chart patterns, while position-size
calculates optimal position sizes based on risk parameters. suggest-stops
recommends stop-loss levels using ATR, percentage-based, and technical levels.
The server leverages modules like TechnicalAnalysis
(moving averages, RSI, MACD), RelativeStrength
(multi-timeframe scoring), VolumeProfile
(POC identification), PatternRecognition
(chart patterns), and RiskAnalysis
(position sizing).
It uses the Tiingo API for historical OHLCV data, adjusted prices, and up to 1 year of historical data.
The server can run in HTTP mode, offering endpoints for listing tools and executing them.
wshobson/mcp-trader
January 9, 2025
March 28, 2025
Python