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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@sparesparrow/mcp-prompts-catalog

v1.0.1

Published

A curated collection of prompts and templates for the MCP ecosystem.

Downloads

7

Readme

MCP Prompts Catalog

Poznámka (cs): Katalog nyní podporuje prompty ve formátech JSON, YAML, TXT a MD. Loader automaticky rozpozná a načte správný formát.

A curated collection of prompts and templates for the MCP ecosystem. This package is part of the MCP Prompts monorepo and serves as the single source of truth for all default prompts and sequences.

Installation

npm install @sparesparrow/mcp-prompts-catalog

Usage

You can import or require prompts and catalog utilities from this package in your MCP-compatible projects:

const {
  getPromptsDir,
  getCategories,
  listPrompts,
  loadPrompt,
} = require('@sparesparrow/mcp-prompts-catalog');

console.log(getPromptsDir()); // Absolute path to the prompts directory
console.log(getCategories()); // [ 'general', 'code-review', ... ]
console.log(listPrompts('general')); // [ 'development-system-prompt', 'task-list-helper', ... ]
console.log(loadPrompt('development-system-prompt', 'general'));

Category Structure

Prompts are organized by category:

prompts/
  general/
    development-system-prompt.json
    task-list-helper.json
  code-review/
    ...
  ...

Supported prompt formats

You can store prompts in the following formats:

  • .json (recommended for structured prompts)
  • .yaml / .yml (YAML, for readable structured prompts)
  • .txt (plain text prompt)
  • .md (Markdown prompt)

The loader will automatically detect the file extension and parse the prompt accordingly. All formats are converted to a unified object for further processing.

Example: Adding a new prompt

  • JSON: my-prompt.json
  • YAML: my-prompt.yaml
  • Plain text: my-prompt.txt
  • Markdown: my-prompt.md

Place your file in the appropriate category folder. The loader will find and parse it automatically.

Example: YAML prompt

name: my-yaml-prompt
description: Example YAML prompt
template: |
  This is a YAML prompt with a {{placeholder}}.

Example: TXT prompt

This is a plain text prompt. You can use {{placeholders}} as well.

Adding or Updating Prompts

  • All prompt JSON files are managed in this package under the prompts/ directory, organized by category.
  • To add a new prompt, create a new JSON file in the appropriate category directory and follow the existing schema.
  • To update a prompt, edit the corresponding JSON file and submit a pull request.

Testing

To test that the catalog package works after extraction, run a simple Node.js script:

const { prompts } = require('@sparesparrow/mcp-prompts-catalog');
console.log(prompts['development-system-prompt']);

Or, for TypeScript:

import { prompts } from '@sparesparrow/mcp-prompts-catalog';
console.log(prompts['development-system-prompt']);

This should print the prompt object to the console.

Contributing

Contributions are welcome! Please see the main repository's CONTRIBUTING.md for guidelines.

License

MIT

TODO

  • [ ] Rozšířit loader o podporu více formátů promptů (JSON, YAML, TXT, MD)
  • [ ] Otestovat načítání promptů ve všech podporovaných formátech
  • [ ] (Volitelné) Přidat podporu pro CSV, XML, další formáty