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-asd/mcp

v2.0.0

Published

ALPS MCP Server - Model Context Protocol server for ALPS profile tools

Readme

@alps-asd/mcp

Model Context Protocol (MCP) server for ALPS profile development. Provides AI assistants with tools to validate and generate diagrams from ALPS profiles.

Requirements

  • Node.js 20 or higher

Installation

npm install @alps-asd/mcp

Usage with Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "alps": {
      "command": "npx",
      "args": ["@alps-asd/mcp"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "alps": {
      "command": "alps-mcp"
    }
  }
}

Troubleshooting

If you encounter errors, first verify your Node.js version:

node --version  # Should be v20.0.0 or higher
which npx       # Verify npx is in your PATH

If using nvm, ensure the correct version is active:

nvm use 20

Available Tools

validate_alps

Validate an ALPS profile and get detailed error feedback.

Parameters:

  • alps_content (required): ALPS profile content (XML or JSON format)

Example prompt:

"Validate this ALPS profile and tell me if there are any errors"

Response includes:

  • Errors (E-codes): Must be fixed for valid profile
  • Warnings (W-codes): Best practice violations
  • Suggestions (S-codes): Optional improvements

alps2svg

Generate an SVG state diagram from an ALPS profile.

Parameters:

  • alps_content: ALPS profile content (XML or JSON format)
  • alps_path: Path to ALPS profile file (alternative to alps_content)

Example prompt:

"Generate a state diagram from my ALPS profile at ./api.json"

alps_guide

Get ALPS best practices and reference guide.

Parameters: None

Example prompt:

"Show me ALPS best practices for naming transitions"

Example Workflow

  1. Ask the AI to validate your ALPS profile:

    "Validate the ALPS profile in ./my-api.json"

  2. Fix any reported errors

  3. Generate a diagram:

    "Create an SVG diagram from ./my-api.json"

  4. Get guidance on improvements:

    "How should I name my transitions in ALPS?"

Validation Codes

| Code | Severity | Description | |------|----------|-------------| | E001 | Error | Missing id or href | | E002 | Error | Missing rt for transition | | E003 | Error | Invalid type value | | E004 | Error | Broken reference | | E005 | Error | Duplicate id | | E008 | Error | Missing alps property | | E009 | Error | Missing descriptor array | | E011 | Error | Tag must be string | | W001 | Warning | Missing title | | W002 | Warning | Safe transition should start with "go" | | W003 | Warning | Unsafe/idempotent should start with "do" | | S001 | Suggestion | Consider adding doc to transition |

See Validation Reference for detailed explanations.

Dependencies

License

MIT