npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@abhi1381/promptpilot-mcp

v1.0.4

Published

MCP server for PromptPilot — prompt optimization for Claude Code, Cursor, Codex, and more

Readme

promptpilot-mcp

MCP server for PromptPilot — AI-powered prompt optimization for Claude Code, Cursor, Codex, Windsurf, VS Code, and any MCP-compatible client.

Quick Setup

1. Get an API key

Go to promptpilotai.in/settings → Developers → Generate API Key.

2. Add to your MCP config

{
  "mcpServers": {
    "promptpilot": {
      "command": "npx",
      "args": ["-y", "@abhi1381/promptpilot-mcp"],
      "env": {
        "PROMPTPILOT_API_KEY": "pp_live_your_key_here"
      }
    }
  }
}

3. Config file locations

| Platform | Config file | |----------|-------------| | Claude Code | ~/.claude.json or .claude/mcp.json | | Cursor | .cursor/mcp.json | | VS Code | .vscode/mcp.json | | Windsurf | ~/.codeium/windsurf/mcp_config.json | | Codex | ~/.codex/mcp.json |

4. Restart your MCP client

The server validates your API key on startup and connects via stdio transport.

Usage Examples

Optimize a coding prompt:

optimize this prompt for coding: "write a function that sorts users by activity score"

Optimize a writing prompt:

optimize this prompt: "write a blog post about remote work productivity"

Optimize an image generation prompt:

optimize this image prompt: "a cat sitting on a rooftop at sunset, cinematic lighting"

Optimize a general prompt:

optimize this: "explain how database indexing works"

Check your credits:

how many promptpilot credits do I have?

Tools

promptpilot_optimize

Optimize a prompt with auto-detected or explicit platform targeting.

Input:

  • prompt (string, required) — The raw prompt to optimize (1–10,000 chars)
  • platform (string, optional) — general, coding, writing, research, image_gen

Output:

  • optimized — Enhanced prompt text
  • score — Quality score 0–100
  • improvements — List of what was improved
  • platform_detected — Platform used
  • credits_remaining — Balance after this call

promptpilot_credits

Check your credit balance and subscription tier.

Output:

  • credits_remaining — Current balance
  • subscription_tierfree, starter, pro, max
  • monthly_credits — Total monthly allocation

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | PROMPTPILOT_API_KEY | Yes | Your API key (starts with pp_live_) | | PROMPTPILOT_API_URL | No | Override API base URL (default: https://www.promptpilotai.in/api/mcp) |

Troubleshooting

"PROMPTPILOT_API_KEY environment variable is required" Set the PROMPTPILOT_API_KEY in your MCP config's env block.

"Invalid API key format" Keys start with pp_live_. Generate a new one at promptpilotai.in/settings.

"API key validation failed" The key may have been revoked. Generate a new one from Settings → Developers.

"Insufficient credits" Upgrade your plan at promptpilotai.in/pricing.

License

MIT