Whats Next

•

Guarantees AI coding agents always receive concrete, ranked next-step suggestions presented as an interactive picker.

whats-next-mcp is an MCP server designed to prevent AI coding agents from hitting dead ends, ensuring a continuous workflow of actionable next steps. It provides the `suggest_next` tool, which delivers concrete, ranked suggestions via an interactive picker in hosts like Claude Code, Cursor, and opencode. This tool operates in a hybrid mode, offering both LLM-backed suggestions (when an Anthropic API key is provided for a second opinion) and deterministic, guaranteed non-empty suggestions, even offline. It also features a Claude Code `Stop` hook that automatically triggers suggestions at the end of each agent turn, ensuring suggestions are always present regardless of explicit tool calls.

Key Features

01Interactive next-step picker for AI agents
02Guaranteed suggestions at turn-end via a stop hook (Claude Code)
03Hybrid suggestion engine: LLM-backed (Claude) and deterministic modes
04Works with multiple MCP hosts including Claude Code, Cursor, opencode, and Zed
05CLI-only mode for standalone deterministic next-step suggestions
060 GitHub stars

Use Cases

01Preventing AI coding agents from reaching dead ends or idle states
02Streamlining agentic programming workflows with continuous guidance
03Providing interactive and ranked next-step suggestions for LLM-powered coding assistants