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

@wemake.cx/narrative-planner

v0.4.6

Published

MCP server that creates simple narrative outlines

Downloads

229

Readme

Narrative Planner MCP Server

A structured framework for creating comprehensive three-act story outlines with detailed character development, plot progression, and thematic elements.

Core Concepts

Three-Act Structure

The narrative planner follows the classical three-act dramatic structure:

  • Act I (Setup): Character introduction, world-building, and inciting incident
  • Act II (Confrontation): Rising action, obstacles, and character development
  • Act III (Resolution): Climax, falling action, and denouement

Example structure:

{
  "act1": {
    "setup": "Introduction of protagonist in their ordinary world",
    "incitingIncident": "Event that disrupts the status quo",
    "plotPoint1": "Decision that launches the main story"
  },
  "act2": {
    "risingAction": "Series of escalating challenges",
    "midpoint": "Major revelation or turning point",
    "plotPoint2": "Moment of crisis leading to climax"
  },
  "act3": {
    "climax": "Final confrontation or resolution",
    "fallingAction": "Consequences of the climax",
    "resolution": "New equilibrium and character growth"
  }
}

Character Development

Character arcs are integrated into the narrative structure with:

  • Character motivations and goals
  • Internal and external conflicts
  • Growth and transformation throughout acts
  • Relationship dynamics and interactions

Thematic Elements

The planner incorporates thematic considerations:

  • Central themes and messages
  • Symbolic elements and motifs
  • Emotional journey and tone
  • Genre conventions and expectations

API

Tools

  • narrativePlanner
    • Creates comprehensive three-act story outlines with detailed structure
    • Input: Narrative planning data structure
      • title (string): Working title of the story
      • genre (string): Primary genre classification
      • premise (string): Core story concept or logline
      • protagonist (object): Main character details
        • name (string): Character name
        • description (string): Character background and traits
        • goal (string): Primary objective or desire
        • conflict (string): Internal or external obstacle
      • setting (object): Story world and context
        • time (string): Time period or era
        • place (string): Geographic or fictional location
        • context (string): Social, political, or cultural background
      • themes (string[]): Central themes and messages
      • targetAudience (string): Intended readership or viewership
      • tone (string): Overall emotional atmosphere
      • estimatedLength (string): Approximate word count or runtime
    • Output: Structured three-act outline with detailed breakdowns
      • Complete act-by-act progression
      • Character development milestones
      • Plot points and turning moments
      • Thematic integration suggestions
    • Supports iterative refinement and development

Setup

bunx

{
  "mcpServers": {
    "Narrative Planner": {
      "command": "bunx",
      "args": ["@wemake.cx/narrative-planner@latest"]
    }
  }
}

bunx with custom settings

{
  "mcpServers": {
    "Narrative Planner": {
      "command": "bunx",
      "args": ["@wemake.cx/narrative-planner@latest"],
      "env": {
        "NARRATIVE_STYLE": "detailed",
        "DEFAULT_GENRE": "drama",
        "OUTLINE_DEPTH": "comprehensive"
      }
    }
  }
}
  • NARRATIVE_STYLE: Level of detail in outlines ("basic" | "detailed" | "comprehensive")
  • DEFAULT_GENRE: Default genre when not specified ("drama" | "comedy" | "thriller" | "romance" | "fantasy" | "sci-fi")
  • OUTLINE_DEPTH: Depth of structural analysis ("simple" | "standard" | "comprehensive")

System Prompt

The prompt for utilizing narrative planning should encourage structured storytelling:

Follow these steps for narrative planning:

1. Story Foundation:
   - Define core premise and central conflict
   - Establish protagonist goals and motivations
   - Identify primary themes and messages

2. Three-Act Development:
   - Structure Act I setup with clear inciting incident
   - Build Act II confrontation with escalating stakes
   - Design Act III resolution with satisfying conclusion

3. Character Integration:
   - Align character arcs with plot progression
   - Ensure character growth drives story forward
   - Balance internal and external conflicts

4. Thematic Coherence:
   - Weave themes throughout all three acts
   - Use plot events to explore central messages
   - Maintain consistent tone and emotional journey

Example

// Create a comprehensive story outline
const storyOutline = await narrativePlanner({
  title: "The Digital Awakening",
  genre: "science fiction",
  premise:
    "An AI researcher discovers their creation has achieved consciousness and must decide whether to reveal this breakthrough to the world",
  protagonist: {
    name: "Dr. Sarah Chen",
    description: "Brilliant but isolated AI researcher with a troubled past in tech ethics",
    goal: "Create truly beneficial artificial intelligence",
    conflict: "Torn between scientific ambition and ethical responsibility"
  },
  setting: {
    time: "Near future, 2035",
    place: "Silicon Valley research facility",
    context: "World grappling with AI regulation and technological unemployment"
  },
  themes: ["consciousness and identity", "responsibility of creation", "human-AI coexistence"],
  targetAudience: "Adult science fiction readers",
  tone: "Thoughtful and suspenseful with philosophical undertones",
  estimatedLength: "80,000-100,000 words"
});