LumiFAI MCP Technical Analysis Server
LumiFAI MCP Technical Analysis Server
A FastMCP server that provides technical analysis tools for cryptocurrency trading data, specifically focusing on Exponential Moving Average (EMA) calculations for Binance pairs. The server defaults to SSE transport layer for communication.
Features
Calculate EMAs (12 and 26 periods) for cryptocurrency price data
Real-time date and time information
MongoDB integration for data storage and retrieval (Fetches data from DB resource which contains OHLCV data)
SSE (Server-Sent Events) transport support
Prerequisites
Python 3.13 or higher
MongoDB instance
uv package manager
Installation
Clone the repository:
git clone <repository-url>
cd lumifai-mcp-taCreate and activate a virtual environment and install dependencies:
uv syncSet up environment variables: Create a
.envfile in the root directory with the following content:
MONGODB_URI=your_mongodb_connection_stringUsage
Run the server:
uv run mcp-server.pyAvailable Tools
get_emas(agent_name: str, time_ago: str, interval: int, interval_frequency: str)Calculates EMAs for specified cryptocurrency trading pairs
Returns a DataFrame with fast (12-period) and slow (26-period) EMAs
get_date_time()Returns the current date and time