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

alps-writer

v0.1.2

Published

MCP server for interactive ALPS (PRD) writing with AI

Downloads

190

Readme

ALPS Writer

npm version

A Model Context Protocol (MCP) server that helps you write ALPS (PRD) interactively with AI. Guides you through 9 structured sections with templates, conversation guides, and document management.

Features

  • 9-section ALPS (PRD) template with structured XML templates and conversation guides
  • Interactive Q&A workflow — AI asks focused questions, never auto-generates
  • Document management — create, save, load, and export as clean Markdown
  • Section dependency tracking — ensures referenced sections are reviewed first
  • Works with Claude Desktop, Claude Code, Cursor, Kiro, and any MCP-compatible client

Quick Start

No installation required — just add the MCP config to your client:

{
  "mcpServers": {
    "alps-writer": {
      "command": "npx",
      "args": ["-y", "alps-writer"]
    }
  }
}

Client Setup

| Client | Config location | | ------------------ | --------------------------------------------------------------------------------- | | Claude Desktop | Settings > Developer > Edit Config (claude_desktop_config.json) | | Claude Code | claude mcp add alps-writer -- npx -y alps-writer | | Cursor | Settings > Features > MCP Servers > + Add new global MCP server | | Kiro | Cmd+Shift+P > "Kiro: Open user MCP config (JSON)" (~/.kiro/settings/mcp.json) |

Environment Variables

| Variable | Description | Default | | ----------------- | ------------------------------------------------------------- | ------------------------- | | ALPS_OUTPUT_DIR | Directory for document files (.alps.xml, exported markdown) | Current working directory |

Config example with ALPS_OUTPUT_DIR:

{
  "mcpServers": {
    "alps-writer": {
      "command": "npx",
      "args": ["-y", "alps-writer"],
      "env": {
        "ALPS_OUTPUT_DIR": "~/Documents/alps"
      }
    }
  }
}

Available Tools

Template Tools

| Tool | Description | | ------------------------ | ------------------------------------------------------ | | get_alps_overview | Get the ALPS template overview with conversation guide | | list_alps_sections | List all available template sections | | get_alps_section | Get a specific template section by number (1-9) | | get_alps_full_template | Get the complete template with all sections | | get_alps_section_guide | Get conversation guide for writing a section |

Document Management Tools

| Tool | Description | | -------------------------- | ------------------------------------------- | | init_alps_document | Create a new ALPS document (.alps.xml) | | load_alps_document | Load an existing document to resume editing | | save_alps_section | Save content to a specific subsection | | read_alps_section | Read current content of a section | | get_alps_document_status | Get status of all sections | | export_alps_markdown | Export as clean Markdown |

Workflow

The server guides AI through a structured workflow:

  1. Initializeinit_alps_document() or load_alps_document()
  2. Overviewget_alps_overview() to get the conversation guide
  3. For each section (1-9):
    • get_alps_section_guide(N) — get questions and criteria
    • get_alps_section(N) — get the template structure
    • Ask focused questions (1-2 at a time)
    • save_alps_section(N, ...) — save after user confirmation
  4. Exportexport_alps_markdown() for the final document

ALPS Sections

| # | Section | Dependencies | | --- | --------------------------- | ------------ | | 1 | Overview | — | | 2 | MVP Goals and Key Metrics | — | | 3 | Demo Scenario | Section 2 | | 4 | High-Level Architecture | — | | 5 | Design Specification | Section 6 | | 6 | Requirements Summary | — | | 7 | Feature-Level Specification | Section 6 | | 8 | MVP Metrics | Section 2, 6 | | 9 | Out of Scope | — |

Development

Running from Source

git clone https://github.com/haandol/alps-writer-mcp.git
cd alps-writer-mcp
pnpm install
pnpm build

Then configure your MCP client:

{
  "mcpServers": {
    "alps-writer": {
      "command": "node",
      "args": ["/path/to/alps-writer-mcp/dist/index.js"]
    }
  }
}

Commands

pnpm install    # Install dependencies
pnpm dev        # Run with tsx (watch mode)
pnpm build      # Build for production
pnpm start      # Run built version

License

Apache-2.0