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

@mhoshdev/prompt-store-mcp

v1.0.1

Published

Local MCP server for managing AI prompts with SQLite storage

Downloads

20

Readme

@mhoshdev/prompt-store-mcp

A local-only MCP (Model Context Protocol) server for managing AI prompts with SQLite storage. Designed for individual developers to organize prompts without complex web services.

✨ Why Use This?

Your personal prompt library - Store, search, and reuse prompts across all your AI tools.

  • Simple & focused - Just prompts, nothing more. No cloud, no accounts, no complexity.
  • Works everywhere - Same prompts available in Claude, Cursor, Windsurf, any MCP client.
  • 100% local - All data stays on your machine in SQLite. Your prompts, your control.
  • Fast search - Find prompts by keyword or filter by tags instantly.
  • Zero setup - One command with npx, no configuration needed.

📦 Installation

# Run directly with npx (recommended)
npx @mhoshdev/prompt-store-mcp

# Or install globally
npm install -g @mhoshdev/prompt-store-mcp
prompt-store-mcp

⚙️ MCP Client Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "prompt-store": {
      "command": "npx",
      "args": ["@mhoshdev/prompt-store-mcp"]
    }
  }
}

Cursor IDE

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "prompt-store": {
      "command": "npx",
      "args": ["@mhoshdev/prompt-store-mcp"]
    }
  }
}

Windsurf

Add to your Windsurf MCP configuration:

{
  "mcpServers": {
    "prompt-store": {
      "command": "npx",
      "args": ["@mhoshdev/prompt-store-mcp"]
    }
  }
}

CLI Options

# Start MCP server (default)
npx @mhoshdev/prompt-store-mcp

# Reset database (clear all data, keep schema)
npx @mhoshdev/prompt-store-mcp --reset

🛠️ Available Tools

| Tool | Description | |------|-------------| | add_prompt | Store a new prompt with optional tags | | list_prompts | List prompts with pagination | | get_prompt | Retrieve full prompt by ID | | update_prompt | Update prompt title, content, and tags | | delete_prompt | Permanently remove a prompt | | search_prompts | Search by keyword in title/content | | filter_by_tags | Filter prompts by tags (OR logic) | | list_tags | List all tags with prompt counts |

💡 Example Usage

Store a Prompt

Use add_prompt with:
- title: "Code Review Assistant"
- content: "You are a senior code reviewer. Analyze code for bugs, security issues, and suggest improvements."
- tags: ["coding", "review"]

Search Prompts

Use search_prompts with:
- query: "review"

Filter by Tags

Use filter_by_tags with:
- tags: ["coding", "review"]

💾 Data Storage

  • Location: ~/.prompt-store/prompts.db
  • Format: SQLite database
  • Permissions: User-only read/write (600)

🔧 Development

# Install dependencies
pnpm install

# Build
pnpm build

# Run tests
pnpm test

# Type check
pnpm typecheck

🔍 Troubleshooting

Server won't start

  1. Ensure Node.js v20+ is installed: node --version
  2. Check database directory permissions: ls -la ~/.prompt-store
  3. View error logs: errors output to stderr

Database corruption

  1. Backup: cp ~/.prompt-store/prompts.db ~/.prompt-store/prompts.db.backup
  2. Reset: npx @mhoshdev/prompt-store-mcp --reset
  3. Re-add prompts

MCP client can't connect

  1. Verify MCP client configuration path is correct
  2. Restart MCP client after configuration changes
  3. Ensure npx @mhoshdev/prompt-store-mcp runs successfully in terminal

License

MIT