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/sequential-thinking

v0.4.6

Published

MCP server for sequential thinking and problem solving

Readme

Sequential Thinking MCP Server

A Model Context Protocol server that provides structured sequential thinking capabilities for complex reasoning tasks, enabling systematic problem breakdown and iterative refinement.

Overview and Purpose

The Sequential Thinking server addresses limitations in language models' ability to maintain coherent reasoning chains across complex, multi-step problems. It provides a framework for systematic thought progression, ensuring logical consistency and context preservation throughout extended reasoning processes.

Architecture: Code Mode

This server follows the "Code Mode" architecture, exposing a strict TypeScript API that allows LLMs to interact with the thinking process directly via code, rather than just through JSON-RPC tool calls. This enables more complex, stateful, and performant interactions.

Core Concepts

  • Step-by-step progression: Systematic breakdown of complex problems into manageable sequential steps
  • Context preservation: Maintaining coherent context throughout multi-step processes
  • Iterative refinement: Support for revising and improving reasoning chains based on new insights
  • Branching: Support for exploring alternative lines of reasoning

Capabilities

Tools

sequentialthinking

Structured sequential thinking tool for complex reasoning tasks.

Input Schema:

interface ThoughtData {
  thought: string; // The current thinking step
  thoughtNumber: number; // Current step number
  totalThoughts: number; // Estimated total steps
  nextThoughtNeeded: boolean; // Whether more steps are needed
  isRevision?: boolean; // Is this revising a previous thought?
  revisesThought?: number; // Which thought is being revised
  branchFromThought?: number; // Branching point
  branchId?: string; // Branch identifier
  needsMoreThoughts?: boolean; // If more thoughts are needed than estimated
}

Setup

bunx

{
  "mcpServers": {
    "Sequential Thinking": {
      "command": "bunx",
      "args": ["@wemake.cx/sequential-thinking@latest"]
    }
  }
}

Usage

Code Mode (Recommended)

LLMs can use the TypeScript API directly for better performance and type safety:

import { SequentialThinking } from "@wemake.cx/sequential-thinking";

const thinker = new SequentialThinking();

// Step 1: Initial thought
thinker.think({
  thought: "Analyzing the user's request to migrate to Code Mode",
  thoughtNumber: 1,
  totalThoughts: 3,
  nextThoughtNeeded: true
});

// Step 2: Detailed planning
thinker.think({
  thought: "I need to separate the Core logic from the MCP transport layer",
  thoughtNumber: 2,
  totalThoughts: 3,
  nextThoughtNeeded: true
});

// Step 3: Execution
thinker.think({
  thought: "Implementation complete. Verifying tests.",
  thoughtNumber: 3,
  totalThoughts: 3,
  nextThoughtNeeded: false
});