cyberpunk2055/kronos-leo-analyst
0
Kronos-Leo-Analyst (Future-Vision MCP)
A production-ready FastAPI-based MCP server that integrates the Kronos Foundation Model (candlestick forecasting) with Agentic Multi-Agent Investment Simulation logic.
This "Combo Skill" allows Poke's L.E.O. agent to provide "Future-Vision" stock analysis, combining deep-learning time-series forecasts with legendary investor personas.
๐ Quick Start (Local)
- Install Dependencies:
pip install -r requirements.txt- Run the Server:
export PYTHONPATH=$PYTHONPATH:$(pwd)
python src/main.py- Test the Endpoint:
curl -X POST http://localhost:8000/analyze \
-H "Content-Type: application/json" \
-d '{"ticker": "NVDA"}'โ๏ธ Deployment (Render)
- Push this code to your GitHub repository.
- Create a new Web Service on Render.
- Connect your repository.
- Select Docker as the Runtime.
- Add an environment variable
PORT=8000. - Once deployed, Render will provide a public URL (e.g.,
https://kronos-leo.onrender.com).
๐ค Register with Poke
To use this with L.E.O., ask Poke: "Request permissions for mcp:new:KronosAnalyst:https://your-render-url.com/analyze"
๐ Project Structure
src/main.py: FastAPI & MCP Tool definitions.src/engine.py: The "Future-Vision" logic fusing Kronos forecasts with agentic signals.src/data_utils.py: Financial data fetching.
