A Chrome extension that tries to solve NYT Connections by asking Claude. The extension extracts the 16 words from the live game page and posts them to a local Flask backend, which prompts Claude to identify the four groups of four. The proposed solution shows up in the extension popup.
Chrome Extension (Manifest V3, vanilla JS) on the frontend, Python 3.7+ with Flask on the backend, Claude API for the actual solving.
Backend:
pip install -r requirements.txtSet your Claude API key at line 12 of server.py:
CLAUDE_API_KEY = "YOUR_API_KEY"Then:
python server.pyThe server runs on http://localhost:5000.
Extension: open chrome://extensions/, enable Developer mode, click "Load unpacked", and select this repo's root directory.
Open the NYT Connections game, click the extension icon, hit "Extract Words" to grab the 16 words, then "Solve Puzzle" to get the proposed grouping.