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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@gofman3/think-mcp

v4.6.3

Published

MCP Server for structured sequential thinking with Burst Thinking, branching, revisions, dead-ends tracking, and fuzzy recall

Readme

🧠 Think MCP v4.6.2

npm version License: MIT

MCP Server for structured sequential thinking. Helps LLMs break down complex problems into manageable steps with branching, revisions, cross-session learning, and proactive nudges.

📝 Base Prompt: pastebin.com/EJcJ3fJF

✨ Features

  • 5 Streamlined Toolsthink, think_batch, think_done, think_recall, think_reset
  • Burst Thinking — Submit up to 30 thoughts in one call
  • Cross-Session Learning — Insights from past sessions via think_recall(scope:insights)
  • Proactive Nudges — Short prompts for self-reflection when patterns detected
  • Branching & Revisions — Explore alternatives, fix mistakes
  • Dead Ends Tracking — Remember rejected paths
  • Fuzzy Recall — Search through thought history with Fuse.js
  • Session Persistence — Auto-save/restore with 24h TTL

🚀 Quick Start

npx @gofman3/think-mcp

MCP Configuration

{
  "mcpServers": {
    "think": {
      "command": "npx",
      "args": ["-y", "@gofman3/think-mcp"]
    }
  }
}

🛠️ Tools

think

Add a single thought to the reasoning chain.

{
  thought: string,
  thoughtNumber: number,
  totalThoughts: number,
  nextThoughtNeeded: boolean,
  confidence?: number,        // 1-10
  goal?: string,              // Set in first thought
  subSteps?: string[],        // Micro-plan (max 5)
  alternatives?: string[],    // Quick comparison (max 5)
  quickExtension?: {
    type: 'critique' | 'elaboration' | 'correction' | 'innovation' | 'optimization' | 'polish',
    content: string,
    impact?: 'low' | 'medium' | 'high' | 'blocker'
  },
  isRevision?: boolean,
  revisesThought?: number,
  branchFromThought?: number,
  branchId?: string
}

think_batch

Submit complete reasoning chain in one call (1-30 thoughts).

{
  goal: string,               // Min 10 chars
  thoughts: [{
    thoughtNumber: number,
    thought: string,          // Min 50 chars
    confidence?: number,
    subSteps?: string[],
    alternatives?: string[],
    extensions?: [{ type, content, impact }]
  }],
  consolidation?: {
    winningPath: number[],
    summary: string,
    verdict: 'ready' | 'needs_more_work'
  }
}

think_done

Finish session with verification and optional export.

{
  winningPath: number[],
  summary: string,
  verdict: 'ready' | 'needs_more_work',
  exportReport?: 'markdown' | 'json',
  includeMermaid?: boolean
}

think_recall

Search current session or past insights.

{
  query: string,
  scope?: 'session' | 'insights',  // Default: session
  searchIn?: 'thoughts' | 'extensions' | 'alternatives' | 'all',
  limit?: number,
  threshold?: number
}

think_reset

Clear session and start fresh.

💡 Nudge System (v4.6)

When no warnings are present, the server returns short prompts based on detected patterns:

| Pattern | Nudge | |---------|-------| | confidence < 5 | "Low confidence. Validate assumptions?" | | 3+ thoughts without alternatives | "No alternatives explored. Tunnel vision?" | | Complex goal without subSteps | "Complex goal, no breakdown. Decompose?" | | Unresolved blocker | "Blocker unresolved. Address before continuing?" |

Nudges appear only when there's no other systemAdvice — avoiding noise.

📊 Complexity Budget

| Task | Thoughts | Tool | |------|----------|------| | Simple | 0-2 | Skip or think | | Medium | 3-7 | think step-by-step | | Complex | 8-30 | think_batch |

🔄 Changelog

v4.6.0

  • New: NudgeService — proactive micro-prompts for self-reflection
  • New: Nudge field in response (💡 icon)
  • Improved: Nudges only appear when no other warnings present

v4.5.0

  • Breaking: Renamed tools (sequentialthinkingthink, etc.)
  • New: Cross-session insights via think_recall(scope:insights)
  • Improved: Compact output, lazy tree generation

v4.1.0

  • New: submit_thinking_session (Burst Thinking)
  • New: Atomic validation (sequence, stagnation, entropy)

v3.4.0

  • New: Fuzzy recall with Fuse.js
  • New: Dead ends tracking
  • New: Session TTL (24h)

📄 License

MIT


🎯 How to Use (for humans)

Simple task — DON'T USE TOOLS

You: "Add console.log for debugging"
AI: *just does it, no thinking needed*

Medium/Complex task — FULL WORKFLOW

Example prompt:

Working directory: C:/Projects/my-backend

1. Study folders src/auth/ and src/utils/
2. use think_batch — analyze architecture and edge cases
3. use task_spec — create specification with tasks

Goal: "Build robust password validation backend logic"

Requirements:
- Minimum 8 characters
- At least 1 digit, 1 special character
- Check against leaked passwords (haveibeenpwned API)
- Rate limiting on validation

What happens:

  1. AI studies specified folders
  2. think_batch — thinks through edge cases (what if API is down? what about unicode passwords?)
  3. task_spec — creates spec with tasks in .gofman3/specs/password-validation/
  4. You'll see files:
    • requirements.md — what we're building
    • design.md — how we're building
    • tasks.md — progress (auto-updates!)

Track progress

Show task_board

AI shows Kanban board — what's done, in progress, blocked.

If AI is stuck

use think_recall query: "password validation" scope: insights

Searches past sessions for similar solutions.