Thoughtbox
next-generation MCP reasoning tool. successor to Waldzell AI's Clear Thought.
Thoughtbox
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
thoughtbox
Facilitates a detailed, step-by-step thinking process for problem-solving and analysis.
Inputs:
thought(string): The current thinking stepnextThoughtNeeded(boolean): Whether another thought step is neededthoughtNumber(integer): Current thought numbertotalThoughts(integer): Estimated total thoughts neededisRevision(boolean, optional): Whether this revises previous thinkingrevisesThought(integer, optional): Which thought is being reconsideredbranchFromThought(integer, optional): Branching point thought numberbranchId(string, optional): Branch identifierneedsMoreThoughts(boolean, optional): If more thoughts are needed
Usage
The Thoughtbox 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
Thoughtbox supports multiple reasoning strategies. For a comprehensive guide with 7 core reasoning patterns, see the Thoughtbox 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 Thoughtbox (beta) automatically via Smithery:
npx -y @smithery/cli install @Kastalien-Research/clear-thought-two
Thoughtbox 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)
Thoughtbox 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:
- Visit smithery.ai/new
- Connect your GitHub repository
- Configure
disableThoughtLoggingsetting as needed - 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 playgroundnpm run build- Build for production (defaults to HTTP)npm run build:stdio- Compile TypeScript for STDIO usagenpm run build:http- Build for Smithery HTTP deploymentnpm run start:http- Run the Smithery-built HTTP servernpm run start:stdio- Run the compiled STDIO version locallynpm 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.
Related Servers
Context Lens
Semantic search knowledge base for MCP-enabled AI assistants
MCP Servers
A collection of MCP servers for Cursor IDE, including demo and weather services.
UPS MCP Server
An MCP server for accessing UPS shipping and logistics services.
OpenHue MCP Server
Control Philips Hue lights using LLM interfaces via the OpenHue CLI.
Nanoleaf MCP Server
A server for controlling Nanoleaf smart lights using the Model Context Protocol.
Klavis Strata
One MCP server for AI agents to use any tools reliably at any scale
Tarkov MCP Server
Provides access to Escape from Tarkov game data using the community-maintained Tarkov API.
通胜 MCP 服务
Provides Chinese Tung Shing (almanac) data, including calendar conversions, auspicious activities, and traditional metaphysical elements.
Sherlock Domains
A server to buy and manage domains with Sherlock.
Weather MCP Server
Provides real-time weather alerts and detailed forecasts for US locations using the National Weather Service API.