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

@mythxengine/claude-plugin

v0.1.1

Published

MythX RPG - Interactive tabletop RPG gameplay for Claude Code

Downloads

62

Readme

MythX RPG Plugin for Claude Code

Interactive tabletop RPG gameplay powered by the MythX Engine. Create worlds, build characters, and play adventures—all within Claude Code.

Installation

claude plugins install @mythxengine/claude-plugin

This will:

  1. Install the plugin with skills and commands
  2. Configure the MythX MCP server to start when you use /play

Quick Start

# Start Claude Code
claude

# Begin playing
/play

The /play command guides you through:

  • Session Selection: Resume an existing game or start fresh
  • World Creation: Choose a genre or describe your own world concept
  • Character Creation: Pick from generated archetypes
  • Gameplay: Full GM-driven adventure with dice mechanics

Commands

| Command | Description | |---------|-------------| | /play | Start or resume an RPG adventure | | /augment-world | Add new content to an existing world pack |

Game Flow

/play
   ↓
┌─────────────────────────────────┐
│  Session Selection              │
│  • Resume: <existing-game>      │
│  • Start New Game               │
└─────────────────────────────────┘
   ↓ (if new)
┌─────────────────────────────────┐
│  World Generation               │
│  7 parallel content generators  │
│  create archetypes, monsters,   │
│  items, locations, NPCs...      │
└─────────────────────────────────┘
   ↓
┌─────────────────────────────────┐
│  Character Creation             │
│  Choose from generated          │
│  archetypes, name your hero     │
└─────────────────────────────────┘
   ↓
┌─────────────────────────────────┐
│  Gameplay Loop                  │
│  GM narrates scenes             │
│  You decide actions             │
│  Dice determine outcomes        │
└─────────────────────────────────┘

Features

World Generation

  • Procedural world creation from text prompts
  • 7 parallel content generators for fast world building
  • Archetypes, monsters, items, encounters, locations, NPCs, narrative hooks

Gameplay

  • Full dice mechanics (d20 tests, damage rolls)
  • Turn-based combat with initiative
  • Character progression (HP, conditions, gear)
  • Session persistence—resume any time

AI Companions

  • Optional AI-controlled party members
  • Configurable playstyles (tactical, roleplay, cautious, reckless)
  • Authentic in-character decision making

GM Tools

  • Research agents for quick lookups
  • NPC expansion and roleplay skills
  • Situation generator for rich scenes
  • Deep roleplay for pivotal moments

Data Storage

Game sessions are stored in ~/.mythx/ by default. This persists across Claude Code sessions.

To use a custom location, set the environment variable:

export RPG_MCP_DATA_DIR=/path/to/your/data

Architecture

The plugin includes:

@mythxengine/claude-plugin/
├── .claude-plugin/
│   └── plugin.json          # Plugin manifest with MCP server config
├── commands/
│   ├── play.md              # Main /play command
│   └── augment-world.md     # World augmentation command
├── skills/
│   ├── play/SKILL.md        # Detailed gameplay skill
│   ├── npc-expansion.md     # NPC detail expansion
│   ├── roleplay-npc.md      # Quick NPC dialogue
│   └── situation-generator.md
└── agents/
    ├── content-generator.md # Parallel world generation
    ├── ai-player.md         # AI companion decision-making
    ├── gm-researcher.md     # GM research (full access)
    ├── player-researcher.md # Player research (no spoilers)
    └── deep-roleplay.md     # Method acting for pivotal moments

The MCP server (@mythxengine/mcp-server) provides 75+ tools for:

  • Dice rolling and skill tests
  • Character management
  • Combat tracking
  • Session persistence
  • World generation
  • GM runtime support

Requirements

  • Claude Code with plugin support
  • Node.js 18+ (for MCP server via npx)

Related Packages

License

MIT