samouh-waleed avatar

Prompyai

samouh-waleed/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 tools

Public 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_KEYsecret

Anthropic 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.

npm license website


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]

View the full README on GitHub

Details

Repository
github.com/samouh-waleed/prompyai
Category
AI & LLM Tools
Package
prompyai-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Related AI & LLM Tools MCP servers

View all
1sciscale-studio avatarAgentForgesciscale-studio/agentforge-mcpTurn rough requests into rigorously structured prompts, for any coding agent.1stars
2shahidh68 avatarAudit Ledger Mcpshahidh68/audit-ledger-mcpRecord AI decisions to a tamper-evident audit ledger from any MCP-compatible agent.1stars
3sneakyfree avatarWindy Wordsneakyfree/windy-word-mcpControl Windy Word voice-to-text from any MCP agent — 60 tools across 12 categories.1stars
4synapbus avatarSynapbussynapbus/synapbusMCP-native agent-to-agent messaging hub with channels, DMs, and semantic search1stars
5x402-index avatarX402search Mcpx402-index/x402search-mcpSearch 13,000+ x402-enabled APIs from your AI agent. Powered by x402search.xyz1stars
6xenarch-ai avatarXenarch Mcpxenarch-ai/xenarch-mcpXenarch — x402 MCP server for AI agent payments. Non-custodial, USDC on Base L2.1stars