Summary
One tool that spends a model call to save several.
It sends your prompt out with the target language attached and returns a structured version, removing the loop where you ask, get something generic, and rewrite the question yourself. Both parameters are required — without the language it has nothing to specialise against.
What it is
A single-tool server that takes your raw prompt and the target programming language, sends it to Claude, and returns a restructured version aimed at Cursor and other AI IDEs.
What you get
- `rewrite_coding_prompt` — takes the raw `prompt` and the `language`, both required, and returns the rewritten prompt
- Structure and context added: clear requirements and expectations rather than a one-line ask
- Language-specific considerations folded in, so the prompt suits the stack you are actually working in
- A temperature of 0.2, so the rewrite is consistent rather than creative
Requirements
Node with `npm install`, and an Anthropic API key in `ANTHROPIC_API_KEY` — the server errors immediately without one. Run `npm start`, or add it to Claude Desktop through npx. The rewriting is done by Claude 3 Sonnet.
