Sequential Story

Sequential Story

dhkts1

Provides structured problem-solving tools that help break down complex problems into sequential narratives or logical thinking steps. Uses storytelling techniques and Python-based sequential thinking to improve memory retention and problem understanding.

Provides structured problem-solving tools through Sequential Story and Sequential Thinking approaches, enabling narrative-based or Python-implemented thought sequences with branching and visual formatting capabilities for enhanced memory retention.

15536 views6Local (stdio)

What it does

  • Build problem solutions as narrative sequences with characters and plot
  • Structure problems as sequential thinking steps
  • Revise and branch story elements or thinking paths
  • Generate and verify solution hypotheses
  • Display formatted, color-coded problem breakdowns
  • Track thinking process completion

Best for

Complex problem-solving that benefits from narrative structureBreaking down abstract problems into memorable sequencesAI systems requiring structured thinking approaches
Pure Python implementationNarrative-based mnemonic techniquesBranching and revision support

About Sequential Story

Sequential Story is a community-built MCP server published by dhkts1 that provides AI assistants with tools and capabilities via the Model Context Protocol. Explore Sequential Story for advanced problem solving techniques and methodologies using narrative or Python-based struc It is categorized under ai ml, productivity.

How to install

You can install Sequential Story in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Sequential Story is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Sequential Story MCP Server

A Model Context Protocol (MCP) server for Sequential Thinking and Sequential Story as mnemonic techniques for problem-solving.

Overview

This project offers two complementary MCP tools for structuring complex problems:

  1. Sequential Story - A narrative-based approach to sequential thinking. Instead of tracking abstract thoughts, it structures problems as story elements with characters, settings, and plot developments to make them more memorable and engaging.

  2. Sequential Thinking - A pure Python port of the JavaScript implementation, eliminating Node.js dependencies

Both approaches leverage the power of sequencing and structure to enhance memory retention and problem understanding.

Features

Sequential Story

  • Build problem solutions as narrative sequences
  • Revise and branch story elements as needed
  • Track characters, settings, tones, and plot points
  • Formatted, color-coded display of story elements

Sequential Thinking

  • Structure problems as a sequence of thoughts
  • Revise or branch thinking paths as needed
  • Generate and verify solution hypotheses
  • Track thinking process completion
  • Pure Python implementation (no Node.js required)

Common Features

  • Formatted, color-coded display of elements
  • Full MCP protocol support for integration with AI systems
  • Support for branching and revision

Installation

During Development

When working with the package locally before publishing:

# Clone the repository
git clone https://github.com/dhkts1/sequentialStory
cd sequentialStory

# Install dependencies using uv
uv venv
source .venv/bin/activate
uv sync

# Install with development dependencies
uv sync --group dev

Installing with MCP

# Install in the Claude desktop app
mcp install -e . src/cli.py -n "Sequential Story"

# Install with only the Sequential Thinking tool
mcp install -e . src/cli.py -n "Sequential Thinking" --env-var "TOOLS='[\"thinking\"]'"

# Install with only the Sequential Story tool explicitly
mcp install -e . src/cli.py -n "Sequential Story" --env-var "TOOLS='[\"story\"]'"

# Install with both tools
mcp install -e . src/cli.py -n "Sequential Tools" --env-var "TOOLS='[\"thinking\",\"story\"]'"

For development:

# For development with the MCP Inspector
mcp dev src/__main__.py:main

You can also configure Claude desktop to use the tool with uvx by adding this to your Claude mcpServers.json:

"mcpServers": {
  "Sequential Story": {
    "command": "uvx",
    "args": [
      "sequential-story"
    ]
  }
}

The environment variable TOOLS controls which tools are enabled. By default, only the Sequential Story tool is enabled, but the Sequential Thinking tool can be added as needed.

This is useful when you want to focus on a specific problem-solving approach or when integrating with other MCP tools. You can also update the environment variables directly in the Claude desktop app after installation.

Example story element

{
  "element": "Our protagonist, a data scientist named Alex, encounters a mysterious pattern in the customer behavior data.",
  "elementNumber": 1,
  "totalElements": 5,
  "nextElementNeeded": true,
  "character": "Alex (data scientist)",
  "setting": "Data analysis lab",
  "tone": "Mysterious",
  "plotPoint": "Discovery of pattern"
}

Example thought element

{
  "thought": "The problem requires analyzing multiple data sources to identify correlations between customer behavior and sales patterns.",
  "thoughtNumber": 1,
  "totalThoughts": 5,
  "nextThoughtNeeded": true
}

Development

# Install pre-commit hooks
uv run pre-commit install

# Run all pre-commit checks
poe pre

Credits

This project builds on the concepts of sequential thinking and structured problem-solving, adapting these approaches to both analytical and narrative frameworks for enhanced memory and problem-solving.

The Sequential Thinking implementation is a pure Python port inspired by the JavaScript implementation from the Model Context Protocol repositories: https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking

Alternatives

Related Skills

Browse all skills
sequential-thinking

Use when complex problems require systematic step-by-step reasoning with ability to revise thoughts, branch into alternative approaches, or dynamically adjust scope. Ideal for multi-stage analysis, design planning, problem decomposition, or tasks with initially unclear scope.

86
scroll-experience

Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. Like NY Times interactives, Apple product pages, and award-winning web experiences. Makes websites feel like experiences, not just pages. Use when: scroll animation, parallax, scroll storytelling, interactive story, cinematic website.

79
ppt-creator

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp, PowerPoint). Use for presentations, pitches, slide decks, or keynotes.

42
capability-evolver

A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and introduces randomized "mutations" to break local optima.

32
differential-review

Performs security-focused differential review of code changes (PRs, commits, diffs). Adapts analysis depth to codebase size, uses git history for context, calculates blast radius, checks test coverage, and generates comprehensive markdown reports. Automatically detects and prevents security regressions.

29
data-storytelling

Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.

27