MCP.Market

Promptlint MCP server

by sean-sunagaku·io.github.sean-sunagaku/promptlint-mcp·v0.1.3·1 stars

Static linter for AI prompts: contradictions, redundancy, ambiguity, and fluff.

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
New

1 stars45 downloads/wk

Reviews

Write one

Nobody has reviewed Promptlint MCP yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Promptlint MCP tools (2)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • lint_prompt

    Static-analyze an AI prompt (system prompt, agent instructions, tool definitions) for contradictions, redundancy, ambiguity, long examples, and politeness fluff. Returns a score (0–100), issue list, trimmed version, and token savings. Response has two text content items: [0] human summary, [1] full JSON — parse with JSON.parse(result.content[1].text) for structured access.

  • trim_prompt

    Return a mechanically-trimmed version of the prompt with politeness fluff removed and whitespace compacted. Scope: drops sentences whose core intent is thanks/apology/invitation-to-ask (e.g. 'Thank you for …', 'Let me know if …'); removes 'Please'/'Kindly' prefixes and re-capitalizes. Does NOT resolve contradictions, redundancy, or ambiguity — run lint_prompt for those. Fenced code blocks are pres

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan5 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 156 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Promptlint MCP compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 63% of 48,255 servers
Tools
2
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
1
more than 65% of 28,688 servers
Downloads a week
45
more than 37% of 12,191 servers with a package

What its tools let an agent do: 2 read

Install Promptlint MCP in Claude Code, Cursor or VS Code

Runs npx -y promptlint-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add promptlint-mcp -- npx -y promptlint-mcp
Add to Cursor

What the publisher says

From the Promptlint MCP repository's README, as published. We do not edit it. Read it on GitHub

promptlint-mcp

Lint AI prompts like code. Save tokens. Catch contradictions.

A static analyzer for AI prompts — system prompts, agent instructions, tool descriptions — that runs as a CLI and as an MCP server so Claude Code (or any MCP-aware agent) can lint prompts before sending them.

Quick demo

Run promptlint on a typical (silently broken) system prompt:

<!-- TODO: record an asciinema cast of the three CLI modes (default / --json / --trim) and link here as once uploaded. The text block below is the verbatim NO_COLOR=1 output — it ships the idea without needing the cast to land first. -->

$ node src/cli.mjs examples/bad-prompt.md

promptlint examples/bad-prompt.md
  score  14/100
  tokens 367 → 307 (-60, 16% saved)
  issues 14

  info   [ambiguous-pronoun] Pronoun "that" has no clear referent (line 1)
         → Replace with a concrete noun, e.g. "this" → "the config file".
  ...
  error  [contradiction] Contradicting directives (length): "concise" vs "detailed"
         → Pick one, or scope each with a clear condition (e.g. by task type).
  error  [contradiction] Contradicting directives (commenting): "do not add comments" vs "explain each step"
         → Pick one, or scope each with a clear condition (e.g. by task type).
  info   [trailing-fluff] "please" fluff (match 1 of 1)
         → Delete. AIs do not need politeness tokens.
         · Please
  ...

Two error-level contradictions caught, score clamped to 14/100, 60 tokens (16%) reclaimable via --trim.

And here's --trim in action on a small input:

$ echo "You are a helpful assistant. Please always be concise. Thank you for your help! When the user asks a question, handle it carefully." | node src/cli.mjs - --trim

You are a helpful assistant. Always be concise. When the user asks a question, handle it carefully.

See docs/promo/ for posting drafts and the (TODO) asciinema cast.

Why

wastes tokens on every request. promptlint flags paired opposites (length / tone / frequency / commenting / asking) as error.

  • Contradictions: "be concise" + "be thorough" ships silently and

apiece — delete one.

  • Redundancy: near-duplicate sentences (Jaccard > 0.6) get one warn

referent is flagged with a line number. Start-of-sentence capitals do NOT count as referents, so normal English doesn't false-positive.

  • Ambiguous pronouns: "use it" / "handle that" without a mid-sentence

trigger a warn — examples are almost always trimmable to shape-only.

  • Long code examples: fenced code blocks over ~1200 chars or 30 lines

know if… / Feel free to… are detected, counted, and (with --trim) stripped while keeping your actual imperatives intact.

  • Politeness fluff: Please / Thanks / I hope this helps / Let me

Scope: English prompts, prose — not source code. A Japanese prompt or a file of JavaScript will look clean even if it isn't.

Install

Install both the CLI and the MCP server in one go:

npm install -g promptlint-mcp

Two binaries are placed on your $PATH:

Run without installing

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Promptlint MCP: common questions

Is Promptlint MCP server safe?
Mostly: it is graded B (82/100). Read the Promptlint MCP safety report
How do I install Promptlint MCP?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Promptlint MCP need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Promptlint MCP maintained?
The last commit was 193 days ago (2026-04-25). The latest release is v0.1.3.
How does Promptlint MCP compare with other MCP servers?
safety score 82/100 (higher than 63% of 48,255 servers); tools 2 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.