
Prompyai
Hooks into Claude CLI to automatically score every prompt you write against your actual codebase. Runs evaluate_prompt behind the scenes, scanning your file tree, git state, and TypeScript symbols to grade specificity, context completeness, task clarity, and file anchoring on a 100-point scale. Returns concrete suggestions and an AI-rewritten version of your prompt that references real paths and verified function names from your project. Also exposes get_context for project summaries and prompyai_toggle to pause scoring. Works immediately with npx, no config needed. If you set ANTHROPIC_API_KEY it uses Haiku directly for rewrites, otherwise it feeds context back to Claude itself. Useful when you're working in a large codebase and want your prompts grounded in what actually exists rather than what you think exists.
- GitHub stars
- 1
- tools
- 3
- auth
- Secret needed
- transport
- STDIO
- env var
- 1
- last updated
- Mar 12, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
evaluate_promptAutomatically called on every user message. Scores your prompt against your project.
Automatically called on every user message. Scores your prompt against your project.
No parameter schema in public metadata yet.
get_contextReturns your project summary: tech stack, recent files, key folders, AI instruction files.
Returns your project summary: tech stack, recent files, key folders, AI instruction files.
No parameter schema in public metadata yet.
prompyai_toggleTurns auto-evaluation on or off.
Turns auto-evaluation on or off.
No parameter schema in public metadata yet.
Sponsors
Configuration
ANTHROPIC_API_KEYsecretAnthropic API key for AI-powered suggestions (optional — free heuristic scoring works without it)
Readme
PrompyAI
PrompyAI
Context-aware prompt intelligence for Claude CLI.
Scores your prompts against your real codebase — file paths, symbols, session history — and rewrites them with AI.
What It Does
When you write a prompt in Claude CLI, PrompyAI automatically evaluates it against your actual project and returns:
- Score (0–100) across 4 dimensions
- Suggestions tailored to your project
- AI-enhanced prompt rewritten with real file paths, verified symbols, and codebase context
Prompt Score: 43/100 [D]
Details
- Repository
- github.com/samouh-waleed/prompyai
- Category
- AI & LLM Tools
- Package
prompyai-mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active