Add SQLite-cached check_holidays MCP tool with pre-analysis checklist

- Add check_holidays MCP tool in server.py with SQLite caching (cache-first, API-fallback)
- Add Section 6 Pre-Analysis Checklist (market status, holidays, news, analysis type) to SKILL.md
- Add holidays-data named volume to docker-compose.yml for DB persistence
- Add API_CO_ID_KEY and HOLIDAYS_DB_PATH env vars to Dockerfile and .env.example
- Remove scripts/ directory (replaced by MCP tool), slim down Dockerfile
This commit is contained in:
Achmad
2026-05-17 07:31:51 +00:00
parent 568be26adc
commit c31096fe4b
5 changed files with 361 additions and 2 deletions
+2
View File
@@ -8,6 +8,8 @@ RUN pip install --no-cache-dir "mcp>=1.0.0" "tradingview-screener>=3.0.0" "pytho
COPY server.py .
ENV TV_SESSION_ID=""
ENV API_CO_ID_KEY=""
ENV HOLIDAYS_DB_PATH="/app/holidays.db"
EXPOSE 8000