Clear Thought Server
Hosted on GitHub for version control, collaboration, and distribution
Built on Node.js runtime to provide cross-platform compatibility and efficient execution
Uses npm for package management and script execution
Implements the server using TypeScript for type safety and modern JavaScript features
Incorporates Zod for runtime data validation and type checking
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Clear Thought Server help me debug this race condition using systematic thinking"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Clear Thought MCP Server
A Model Context Protocol (MCP) server that provides systematic thinking, mental models, and debugging approaches for enhanced problem-solving capabilities.
Features
Mental Models
First Principles Thinking
Opportunity Cost Analysis
Error Propagation Understanding
Rubber Duck Debugging
Pareto Principle
Occam's Razor
Design Patterns
Modular Architecture
API Integration Patterns
State Management
Asynchronous Processing
Scalability Considerations
Security Best Practices
Agentic Design Patterns
Programming Paradigms
Imperative Programming
Procedural Programming
Object-Oriented Programming
Functional Programming
Declarative Programming
Logic Programming
Event-Driven Programming
Aspect-Oriented Programming
Concurrent Programming
Reactive Programming
Debugging Approaches
Binary Search
Reverse Engineering
Divide and Conquer
Backtracking
Cause Elimination
Program Slicing
Sequential Thinking
Structured thought process
Revision and branching support
Progress tracking
Context maintenance
Collaborative Reasoning
Multi-persona problem-solving
Diverse expertise integration
Structured debate and consensus building
Perspective synthesis
Decision Framework
Structured decision analysis
Multiple evaluation methodologies
Criteria weighting
Risk and uncertainty handling
Metacognitive Monitoring
Knowledge boundary assessment
Claim certainty evaluation
Reasoning bias detection
Confidence calibration
Uncertainty identification
Scientific Method
Structured hypothesis testing
Variable identification
Prediction formulation
Experimental design
Evidence evaluation
Structured Argumentation
Formal dialectical reasoning
Thesis-antithesis-synthesis
Argument strength analysis
Premise evaluation
Logical structure mapping
Visual Reasoning
Diagrammatic representation
Visual problem-solving
Spatial relationship analysis
Conceptual mapping
Visual insight generation
Related MCP server: verifiable-thinking-mcp
Prerequisites
Node.js 18.x or higher
npm 9.x or higher
Installation
Installing via Smithery
To install clear-thought-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @chirag127/clear-thought-mcp-server --client claudeClone the repository:
git clone https://github.com/chirag127/clear-thought-mcp-server.gitThen navigate to the project directory:
cd clear-thought-mcp-serverInstall dependencies:
npm installBuild the project:
npm run buildUsage
Running the Server
Start the server with:
npm startThis will start the MCP server using stdio transport, which can be connected to by MCP clients.
Development Mode
For development with automatic reloading:
npm run devUsing with MCP Clients
The server can be used with any MCP-compatible client. Here are some examples:
Using with the MCP Inspector
Install the MCP Inspector:
npm install -g @modelcontextprotocol/inspectorRun the server:
npm startIn another terminal, connect the inspector:
mcp-inspector --stdio "node dist/index.js"Using with LLM Applications
The server can be integrated with LLM applications that support the Model Context Protocol. Refer to the MCP documentation for specific integration details.
Tool Selection Guide
Each tool in the Clear Thought MCP Server has specific strengths. Here are some scenarios where each tool might be particularly useful:
Mental Models
Best suited for:
Initial problem understanding
Breaking down complex systems
Analyzing trade-offs
Finding root causes
Making strategic decisions
Example scenarios:
Analyzing system architecture choices
Evaluating competing solutions
Understanding error patterns
Design Patterns
Best suited for:
Implementing proven solutions
Structuring new features
Ensuring maintainable code
Scaling applications
Managing technical debt
Example scenarios:
Building new system components
Refactoring existing code
Implementing cross-cutting concerns
Programming Paradigms
Best suited for:
Selecting appropriate coding approaches
Understanding language strengths
Optimizing for specific problem types
Balancing trade-offs in implementation
Example scenarios:
Choosing between OOP and functional approaches
Implementing concurrent systems
Designing reactive applications
Debugging Approaches
Best suited for:
Troubleshooting issues
Performance optimization
System analysis
Error resolution
Quality assurance
Example scenarios:
Fixing production issues
Optimizing slow processes
Resolving integration problems
Sequential Thinking
Best suited for:
Complex problem-solving
Multi-step analysis
Decision refinement
Process improvement
Comprehensive planning
Example scenarios:
Planning major features
Analyzing system-wide changes
Making architectural decisions
Collaborative Reasoning
Best suited for:
Complex, multi-faceted problems
Situations requiring diverse expertise
Controversial or high-stakes decisions
Innovation and ideation
Example scenarios:
Architectural design decisions
Product strategy development
Risk assessment and mitigation
Decision Framework
Best suited for:
Structured choice between alternatives
Risk-aware decision making
Multi-criteria evaluation
Stakeholder-sensitive decisions
Example scenarios:
Technology selection
Resource allocation
Strategic planning
Metacognitive Monitoring
Best suited for:
Assessing knowledge boundaries
Evaluating claim certainty
Detecting reasoning biases
Calibrating confidence
Identifying areas of uncertainty
Example scenarios:
Evaluating expertise in unfamiliar domains
Assessing confidence in predictions
Identifying potential biases in analysis
Determining when to seek additional information
Scientific Method
Best suited for:
Systematic hypothesis testing
Empirical investigation
Causal analysis
Evidence-based reasoning
Iterative refinement of understanding
Example scenarios:
Investigating system behavior
Testing causal relationships
Evaluating competing explanations
Designing controlled experiments
Structured Argumentation
Best suited for:
Formal dialectical reasoning
Analyzing complex debates
Evaluating competing positions
Synthesizing diverse viewpoints
Constructing logical arguments
Example scenarios:
Evaluating the strength of arguments
Identifying logical fallacies
Constructing persuasive cases
Resolving conflicting perspectives
Visual Reasoning
Best suited for:
Spatial problem-solving
Conceptual mapping
Pattern recognition
Relationship visualization
Complex system modeling
Example scenarios:
Diagramming system architecture
Visualizing data relationships
Mapping conceptual spaces
Creating visual explanations
Note: These are suggestions rather than rules. Tools can be used in any order or combination that best serves your needs.
Project Structure
clear-thought-mcp-server/
├── dist/ # Compiled JavaScript files
├── src/ # TypeScript source code
│ ├── models/ # Data interfaces
│ ├── tools/ # Tool implementations
│ └── index.ts # Main server entry point
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript configuration
└── README.md # Project documentationTech Stack
TypeScript
Node.js
Model Context Protocol SDK
Zod (for validation)
Author
Chirag Singhal (@chirag127)
License
MIT
Available Tools
11 toolscollaborativereasoningC
A detailed tool for simulating expert collaboration with diverse perspectives. This tool helps models tackle complex problems by coordinating multiple viewpoints. It provides a framework for structured collaborative reasoning and perspective integration.
Inputs: topic (required), personas (required), contributions (required), stage (required), +11 more.
debuggingapproachC
A tool for applying systematic debugging approaches to solve technical issues. Supports various debugging methods including:
Binary Search
Reverse Engineering
Divide and Conquer
Backtracking
Cause Elimination
Program Slicing
Each approach provides a structured method for identifying and resolving issues.
Inputs: approachName (required), issue (required), steps, findings, +1 more.
decisionframeworkC
A detailed tool for structured decision analysis and rational choice. This tool helps models systematically evaluate options, criteria, and outcomes. It supports multiple decision frameworks, probability estimates, and value judgments.
Inputs: decisionStatement (required), options (required), analysisType (required), stage (required), +11 more.
designpatternC
A tool for applying design patterns to software architecture and implementation. Supports various design patterns including:
Modular Architecture
API Integration Patterns
State Management
Asynchronous Processing
Scalability Considerations
Security Best Practices
Agentic Design Patterns
Each pattern provides a structured approach to solving common design challenges.
Inputs: patternName (required), context (required), implementation, benefits, +3 more.
mentalmodelC
A tool for applying structured mental models to problem-solving. Supports various mental models including:
First Principles Thinking
Opportunity Cost Analysis
Error Propagation Understanding
Rubber Duck Debugging
Pareto Principle
Occam's Razor
Each model provides a systematic approach to breaking down and solving problems.
Inputs: modelName (required), problem (required), steps, reasoning, +1 more.
metacognitivemonitoringC
A detailed tool for systematic self-monitoring of knowledge and reasoning quality. This tool helps models track knowledge boundaries, claim certainty, and reasoning biases. It provides a framework for metacognitive assessment across various domains and reasoning tasks.
Inputs: task (required), stage (required), overallConfidence (required), uncertaintyAreas (required), +8 more.
programmingparadigmC
A tool for applying different programming paradigms to solve problems. Supports various programming paradigms including:
Imperative Programming
Procedural Programming
Object-Oriented Programming
Functional Programming
Declarative Programming
Logic Programming
Event-Driven Programming
Aspect-Oriented Programming
Concurrent Programming
Reactive Programming
Each paradigm provides a different approach to structuring and executing code.
Inputs: paradigmName (required), problem (required), approach, benefits, +3 more.
scientificmethodB
A detailed tool for applying formal scientific reasoning to questions and problems. This tool guides models through the scientific method with structured hypothesis testing. It enforces explicit variable identification, prediction making, and evidence evaluation.
Inputs: stage (required), inquiryId (required), iteration (required), nextStageNeeded (required), +6 more.
sequentialthinkingA
A detailed tool for dynamic and reflective problem-solving through thoughts. This tool helps analyze problems through a flexible thinking process that can adapt and evolve. Each thought can build on, question, or revise previous insights as understanding deepens.
When to use this tool:
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
Problems that require a multi-step solution
Tasks that need to maintain context over multiple steps
Situations where irrelevant information needs to be filtered out
You should:
Start with an initial estimate of needed thoughts, but be ready to adjust
Feel free to question or revise previous thoughts
Don't hesitate to add more thoughts if needed, even at the "end"
Express uncertainty when present
Mark thoughts that revise previous thinking or branch into new paths
Ignore information that is irrelevant to the current step
Generate a solution hypothesis when appropriate
Verify the hypothesis based on the Chain of Thought steps
Repeat the process until satisfied with the solution
Provide a single, ideally correct answer as the final output
Only set next_thought_needed to false when truly done and a satisfactory answer is reached
Inputs: thought (required), thoughtNumber (required), totalThoughts (required), nextThoughtNeeded (required), +5 more.
structuredargumentationC
A detailed tool for systematic dialectical reasoning and argument analysis. This tool helps analyze complex questions through formal argumentation structures. It facilitates the creation, critique, and synthesis of competing arguments.
Inputs: claim (required), premises (required), conclusion (required), argumentType (required), +9 more.
visualreasoningC
A tool for visual thinking, problem-solving, and communication. This tool enables models to create, manipulate, and interpret diagrams, graphs, and other visual representations. It supports various visual elements and operations to facilitate insight generation and hypothesis testing.
Inputs: operation (required), diagramId (required), diagramType (required), iteration (required), +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
The tools have overlapping purposes that could cause confusion. For example, 'collaborativereasoning', 'sequentialthinking', and 'structuredargumentation' all involve structured reasoning processes, while 'debuggingapproach', 'mentalmodel', and 'scientificmethod' provide systematic problem-solving approaches. The descriptions help differentiate them, but an agent might struggle to choose between similar tools like 'mentalmodel' and 'debuggingapproach' for a technical issue.
The naming is inconsistent with mixed conventions. Most tools use camelCase (e.g., 'collaborativereasoning', 'metacognitivemonitoring'), but some use snake_case (e.g., 'debuggingapproach', 'designpattern'), and others are compound words without clear separation (e.g., 'sequentialthinking', 'visualreasoning'). There is no predictable verb_noun pattern, making the set chaotic and harder to parse.
With 11 tools, the count is reasonable for a server focused on reasoning and problem-solving methodologies. It covers a broad range of approaches without being overwhelming, though it might feel slightly heavy due to the conceptual overlap. Each tool appears to serve a distinct methodological niche, justifying its inclusion in the set.
The tool set provides comprehensive coverage for reasoning and problem-solving across various domains. It includes tools for collaborative reasoning, debugging, decision-making, design, mental models, metacognition, programming paradigms, scientific methods, sequential thinking, argumentation, and visual reasoning. There are no obvious gaps; agents have multiple structured approaches to tackle complex problems from different angles.
Maintenance
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Reasoning, code, anti-deception, memory harness MCP tools. Stdio or HTTPS api.ejentum.com/mcp
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Deterministic reasoning stack for AI agents: simulate, decide & compute, plus cross-domain tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides structured thinking tools including mental models, design patterns, debugging approaches, decision frameworks, and multi-persona reasoning to enhance AI assistant problem-solving capabilities.MIT
- AlicenseBqualityNot gradedmaintenanceMCP server for structured reasoning with cognitive trap detection, verification, and context compression541 npm1-
- AlicenseBqualityDmaintenanceProvides AI systems with structured thinking frameworks and reasoning tools to maintain consistent problem-solving patterns across conversations. Enables multi-step reasoning, decision analysis, and systematic troubleshooting through invocable mental models.1520 npm20MIT
- AlicenseNot gradedqualityCmaintenanceA thinking assistant MCP server that helps you reason through problems using structured frameworks like first principles and sequential thinking, starting wherever you are — clear, messy, or fragmentary.10 npmMIT