Prevents vague coding prompts from causing unnecessary rework with triage, session analysis, planning, and verification tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag ā we're steadily working through the catalog.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Preflight.
preflight_checkThe main entry point.** Triages your prompt (trivial ā multi-step), chains the right checks automatically, matches against known correction patterns. Accepts `force_level` override: `skip`, `light`, `full`.
scope_workCreates structured execution plans before coding starts
clarify_intentGathers project context (git state, workspace docs, ambiguity signals) to disambiguate vague prompts
enrich_agent_taskEnriches sub-agent tasks with file paths, patterns, and cross-service context
sharpen_followupResolves "fix it" / "do the others" to actual file targets
token_auditDetects waste patterns, grades your session AāF
The preflight-dev/preflight MCP server provides 24 MCP tools for improving prompt quality and session control in Claude Code. Its central entry point, preflight_check, classifies an incoming prompt and selects follow-up checks. Short routine commands can pass through, while vague, multi-step, or cross-service requests can trigger clarification and planning workflows.
The tool set covers five areas: prompt discipline, session-history intelligence, analysis and reporting, verification, and workspace hygiene. It can create execution plans, resolve vague follow-ups to file targets, enrich sub-agent tasks, order work by dependency and risk, and save checkpoints with commits and resumption notes.
Prompt triage uses signals such as skip keywords, multi-step language, cross-service terms, prompt length, file references, and vague verbs or pronouns. A correction pattern can raise the required review level when a prompt resembles a previously logged mistake. The force_level option on preflight_check can explicitly select skip, light, or full handling.
The server reads Claude Code session data stored as JSONL under ~/.claude/projects/. It extracts prompts, assistant responses, tool calls, sub-agent activity, corrections, context compactions, errors, and commits. Session events are indexed in per-project LanceDB databases for semantic search. Related project data can also be used for cross-service contract and history lookups.
The documented quick-start command runs the server through npm:
Claude Code can register that command with claude mcp add preflight -- npx -y preflight-dev-serve. For project-specific analysis, the README shows setting CLAUDE_PROJECT_DIR to the target workspace. A cloned setup can run the TypeScript entry point with tsx, while a global npm installation provides the preflight-dev-serve executable.
The project supports a .preflight/ configuration directory with YAML configuration for triage rules and thresholds. Its local data includes timeline indexes, extracted contracts, and project metadata under ~/.preflight/projects/.
The preflight-dev/preflight MCP server includes tools for:
verify_completion.The README specifically documents use with Claude Code; it does not establish compatibility with other MCP clients. The server relies on Claude Code session files for its history-oriented features, so results depend on those files being available. Semantic search uses local vector embeddings by default according to the documented LanceDB schema, with OpenAI-sized vectors also described as an option. Cost figures are estimates rather than billing records, and completion verification only runs the checks configured or available for the workspace.
Factual signals from GitHub, npm, and our automated checks ā not a rating.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/preflight-dev-preflight)<a href="https://allmcps.com/mcp/preflight-dev-preflight"><img src="https://allmcps.com/api/badge/preflight-dev-preflight?style=directory" alt="Preflight on AllMCPs" /></a>