Thoughtbox

Thoughtbox

next-gen reasoning MCP for agentic AI's Wave Two. successor to Waldzell AI's Clear Thought server.

Category
Visit Server

README

Thoughtbox

smithery badge

Successor to Waldzell AI's Clear Thought.

Features

  • Break down complex problems into manageable steps
  • Revise and refine thoughts as understanding deepens
  • Branch into alternative paths of reasoning
  • Adjust the total number of thoughts dynamically
  • Generate and verify solution hypotheses

Tool

clear_thought

Facilitates a detailed, step-by-step thinking process for problem-solving and analysis.

Inputs:

  • thought (string): The current thinking step
  • nextThoughtNeeded (boolean): Whether another thought step is needed
  • thoughtNumber (integer): Current thought number
  • totalThoughts (integer): Estimated total thoughts needed
  • isRevision (boolean, optional): Whether this revises previous thinking
  • revisesThought (integer, optional): Which thought is being reconsidered
  • branchFromThought (integer, optional): Branching point thought number
  • branchId (string, optional): Branch identifier
  • needsMoreThoughts (boolean, optional): If more thoughts are needed

Usage

The Clear Thought tool is designed for:

  • Breaking down complex problems into steps
  • Planning and design with room for revision
  • Analysis that might need course correction
  • Problems where the full scope might not be clear initially
  • Tasks that need to maintain context over multiple steps
  • Situations where irrelevant information needs to be filtered out

Thinking Approaches

Clear Thought 2.0 supports multiple reasoning strategies. For a comprehensive guide with 20+ reasoning patterns, see the Clear Thought Patterns Cookbook.

Below are the three primary approaches:

Forward Thinking (Traditional)

Start at thought 1 and work sequentially toward your conclusion. Best for exploration and discovery.

Example: "How can we improve user engagement?"

  • Thought 1: Analyze current engagement metrics (DAU/MAU ratio, session duration, bounce rate)
  • Thought 2: Identify patterns in user behavior (when do users drop off? what features are sticky?)
  • Thought 3: Survey top engagement drivers from user research and analytics
  • Thought 4: Brainstorm potential improvements (notifications, gamification, social features)
  • Thought 5: Evaluate each option against effort/impact matrix
  • Thought 6: Recommendation - implement personalized onboarding flow with progress tracking

Backward Thinking (Goal-Driven)

Start with thought N (your desired end state) and work backward to thought 1 (starting conditions). Best for planning and system design.

Example: "Design a caching strategy for a high-traffic API (10k req/s)"

  • Thought 8: Final state - System handles 10,000 requests/second with <50ms p95 latency, 85%+ cache hit rate
  • Thought 7: To validate success, need monitoring: cache hit/miss rates, latency metrics, memory usage, eviction rates
  • Thought 6: Before monitoring, implement resilience: circuit breakers, fallback to database, graceful degradation
  • Thought 5: Before resilience, need cache invalidation strategy: TTL (1-5 min) + event-driven invalidation on writes
  • Thought 4: Before invalidation, implement caching layer: Redis cluster with connection pooling, LRU eviction
  • Thought 3: Before implementation, identify what to cache: analyze endpoint usage patterns, read/write ratios
  • Thought 2: Before analysis, establish baseline metrics: current throughput, latency distribution, query times
  • Thought 1: Starting point - Define success criteria and constraints (target latency, throughput, data freshness)

Mixed/Branched Thinking

Combine approaches or explore alternatives using revision and branch parameters for complex multi-faceted problems.

Installation

Installing via Smithery

To install Clear Thought 2.0 (beta) automatically via Smithery:

npx -y @smithery/cli install @Kastalien-Research/clear-thought-two

Clear Thought 2.0 supports both STDIO (for local development) and HTTP (for production deployments) transports.

STDIO Transport (Local Development)

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "clear-thought-two": {
      "command": "npx",
      "args": ["-y", "clear-thought-two"]
    }
  }
}

Environment Variables:

  • DISABLE_THOUGHT_LOGGING=true - Disable thought logging to stderr

VS Code (Cline)

Add to .vscode/mcp.json or User Settings:

{
  "mcp": {
    "servers": {
      "clear-thought-two": {
        "command": "npx",
        "args": ["-y", "clear-thought-two"]
      }
    }
  }
}

HTTP Transport (Production Deployment)

Clear Thought 2.0 can be deployed as a scalable HTTP server using Smithery.

Benefits:

  • Streamable HTTP transport for better performance
  • Automatic containerization and deployment
  • Interactive development playground
  • Built-in configuration management

Deploy to Smithery:

  1. Visit smithery.ai/new
  2. Connect your GitHub repository
  3. Configure disableThoughtLogging setting as needed
  4. Deploy!

Development

Local Development

# Install dependencies
npm install

# Build for STDIO (backward compatible)
npm run build:stdio

# Build for HTTP (Smithery deployment)
npm run build:http

# Start development server with interactive playground
npm run dev

Scripts

  • npm run dev - Start Smithery development server with interactive playground
  • npm run build - Build for production (defaults to HTTP)
  • npm run build:stdio - Compile TypeScript for STDIO usage
  • npm run build:http - Build for Smithery HTTP deployment
  • npm run start:http - Run the Smithery-built HTTP server
  • npm run start:stdio - Run the compiled STDIO version locally
  • npm run watch - Watch mode for development

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured