io.github.rishiatlan/claude-prompt-optimizer
NPM · CLAUDE-PROMPT-OPTIMIZER-MCP · SCANNED AUG 3
Scores, compiles & optimizes prompts for any LLM. Zero AI calls inside. Freemium.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency19
- Repository check failed: the declared repository URL redirects; it must resolve directly. See how to fix → View diagnostics → Fail
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 152 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability71
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 656 tokens (~59/item across 11 items; 11 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · claude-prompt-optimizer-mcp
claude mcp add rishiatlan-claude-prompt-optimizer -- npx -y claude-prompt-optimizer-mcp
codex mcp add rishiatlan-claude-prompt-optimizer -- npx -y claude-prompt-optimizer-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"rishiatlan-claude-prompt-optimizer": {
"type": "local",
"command": [
"npx",
"-y",
"claude-prompt-optimizer-mcp"
],
"enabled": true
}
}
} openclaw mcp add rishiatlan-claude-prompt-optimizer --command npx --arg -y --arg claude-prompt-optimizer-mcp
mcp_servers:
rishiatlan-claude-prompt-optimizer:
command: "npx"
args: ["-y", "claude-prompt-optimizer-mcp"] {
"mcpServers": {
"rishiatlan-claude-prompt-optimizer": {
"command": "npx",
"args": [
"-y",
"claude-prompt-optimizer-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 2 Aug 26 +43
- Provenance: unverified → fail ▼ security
- Known CVEs: unverified → partial ▲ security
- Install scripts: unverified → pass ▲ security
- Malware scan: unverified → pass ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Security disclosure: fail → unverified ▼ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Schema quality: unverified → good ▲ functional
- Licence: MIT functional
- 31 Jul 26 −2
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 −22
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- 27 Jul 26 40
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 95 packages
95 packages in the resolved dependency tree · 95 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
approve_prompt ~36
Approve the compiled prompt. Returns the final optimized prompt ready for use.
| Name | Type | Req | Description |
|---|---|---|---|
| session_id | string | yes | Session ID from optimize_prompt |
No output schema declared.
No examples provided.
check_prompt ~54
Quick pass/fail check of a prompt. Returns score, top issues, and a suggestion. No compilation, no session.
| Name | Type | Req | Description |
|---|---|---|---|
| context | string | — | Optional context |
| raw_prompt | string | yes | The prompt to check |
No output schema declared.
No examples provided.
compress_context ~57
Compress context (code, docs) by removing irrelevant sections. Returns pruned context with token savings.
| Name | Type | Req | Description |
|---|---|---|---|
| context | string | yes | The context text to compress |
| intent | string | yes | What the task is about — used to determine relevance |
No output schema declared.
No examples provided.
configure_optimizer ~143
Configure optimizer behavior: mode, threshold, strictness, default target, ephemeral mode, session limits.
| Name | Type | Req | Description |
|---|---|---|---|
| auto_compile | boolean | — | Auto-compile prompts |
| default_target | string | — | Default output target |
| ephemeral_mode | boolean | — | Ephemeral mode: sessions in-memory only |
| max_session_dir_mb | number | — | Max session directory size in MB |
| max_session_size_kb | number | — | Max session size in KB |
| max_sessions | number | — | Max session count |
| mode | string | — | Optimization mode |
| strictness | string | — | Strictness level |
| threshold | number | — | Quality threshold (0-100) |
No output schema declared.
No examples provided.
estimate_cost ~51
Estimate token count and cost across providers for any prompt text. No session needed.
| Name | Type | Req | Description |
|---|---|---|---|
| prompt_text | string | yes | The prompt text to estimate cost for |
| target | string | — | Target platform for model recommendations |
No output schema declared.
No examples provided.
get_usage ~22
Get current usage count, limits, remaining quota, and tier information.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
license_status ~27
Check current license status, tier, and expiry. Returns purchase link if no license is active.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
optimize_prompt ~93
Analyze a raw prompt, detect ambiguities, compile an optimized version, score quality, and estimate cost across providers. Returns a PreviewPack for review.
| Name | Type | Req | Description |
|---|---|---|---|
| context | string | — | Optional context: repo info, file contents, preferences |
| raw_prompt | string | yes | The raw user prompt to optimize |
| target | string | — | Output target: claude (XML), openai (system/user), generic (markdown) |
No output schema declared.
No examples provided.
prompt_stats ~41
Get aggregated optimization statistics: total count, average score, top task types, estimated savings.
| Name | Type | Req | Description |
|---|---|---|---|
| period | string | — | Stats period (Phase A: lifetime only) |
No output schema declared.
No examples provided.
refine_prompt ~85
Refine a prompt by answering blocking questions or providing manual edits. Re-runs analysis and returns updated PreviewPack.
| Name | Type | Req | Description |
|---|---|---|---|
| answers | object | — | Answers to blocking questions: { question_id: answer } |
| edits | string | — | Manual edits or additional context to incorporate |
| session_id | string | yes | Session ID from optimize_prompt |
| target | string | — | Change output target |
No output schema declared.
No examples provided.
set_license ~47
Activate a Pro or Power license key. Validates the Ed25519 signature offline and unlocks the corresponding tier.
| Name | Type | Req | Description |
|---|---|---|---|
| license_key | string | yes | License key string (starts with po_pro_) |
No output schema declared.
No examples provided.