Thoughtbox
next-gen reasoning MCP for agentic AI's Wave Two. successor to Waldzell AI's Clear Thought server.
README
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
clear_thought
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 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:
- 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。