Clear Thought MCP Server
The Clear Thought MCP Server provides a suite of structured reasoning tools to enhance problem-solving. You can:
Apply mental models (e.g., First Principles, Occam's Razor, Pareto Principle) for systematic thinking.
Implement design patterns (e.g., Modular Architecture, State Management, Security Best Practices) for software design.
Utilize programming paradigms (e.g., Object-Oriented, Functional, Event-Driven) with code examples and trade-offs.
Employ debugging approaches (e.g., Binary Search, Divide and Conquer, Program Slicing) for systematic issue resolution.
Engage in sequential thinking to break down complex problems step-by-step, with branching and revision tracking.
Facilitate collaborative reasoning via multi-persona simulation, ideation, critique, and consensus building.
Use decision frameworks (e.g., weighted criteria, decision trees, scenario analysis) for structured decision-making.
Perform metacognitive monitoring to assess knowledge boundaries, bias detection, and confidence calibration.
Apply the scientific method with hypothesis testing, experiment design, and evidence evaluation.
Conduct structured argumentation using thesis-antithesis-synthesis and logical premise evaluation.
Employ visual reasoning to create and manipulate diagrams, flowcharts, and graphs for spatial problem-solving.
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 MCP Server help me debug this API integration using first principles 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
Systematic thinking, mental models, and debugging approaches — as MCP tools for any AI client.
What it is / why it exists
An MCP server that gives an AI assistant a toolbox of structured reasoning frameworks — mental models, design patterns, systematic debugging, decision analysis, the scientific method, and more — so it reasons deliberately instead of improvising. Each mode is an explicit, inspectable tool the model calls, with typed (Zod-validated) inputs and a formatted, chain-of-thought-friendly response.
Twelve tools, one server, zero required configuration.
Related MCP server: Clear Thought 1.5
Links
Live MCP endpoint: https://clear-thought-mcp-server.oriz.in (Streamable HTTP, MCP 2.0)
GitHub Pages: https://chirag127.github.io/Clear-Thought-MCP-server/
Smithery: https://smithery.ai/server/@chirag127/clear-thought-mcp-server
⭐ If this is useful, please star the repo — it helps others find it.
Architecture
flowchart LR
Client["MCP Client<br/>(Claude, Cursor, opencode, ...)"]
subgraph Server["clear-thought-mcp-server"]
direction TB
T1["sequentialthinking"]
T2["mentalmodel"]
T3["designpattern"]
T4["programmingparadigm"]
T5["debuggingapproach"]
T6["collaborativereasoning"]
T7["decisionframework"]
T8["metacognitivemonitoring"]
T9["scientificmethod"]
T10["structuredargumentation"]
T11["visualreasoning"]
T12["stochasticthinking"]
end
Client -->|"Streamable HTTP (MCP 2.0) /mcp<br/>or stdio"| Server
Server -->|"formatted reasoning result"| ClientTools
Tool | What it does |
| Dynamic, reflective step-by-step problem solving with revisions & branches |
| Apply a named model (first principles, Occam's razor, Pareto, opportunity cost, error propagation, rubber duck) |
| Software architecture patterns (modular, API integration, state, async, scalability, security, agentic) |
| Reason through imperative / OO / functional / reactive / concurrent … paradigms |
| Systematic debugging (binary search, reverse engineering, divide & conquer, backtracking, cause elimination, program slicing) |
| Simulate a panel of expert personas with diverse perspectives |
| Structured decision analysis and rational choice |
| Self-monitor knowledge boundaries and reasoning quality |
| Formal hypothesis → experiment → analysis loop |
| Dialectical reasoning — claims, rebuttals, synthesis |
| Create/manipulate diagrams and visual representations |
| Probabilistic reasoning over uncertain problems |
Features
12 reasoning tools, each with a typed Zod input schema and formatted output
Two transports: stdio (local clients) and Streamable HTTP (MCP 2.0, remote)
Zero required configuration — no keys, no state, no external calls
Installable via
npx, Smithery, or the hosted endpoint
Tech stack
TypeScript + Node.js (ESM,
>=18)zodfor input validation,chalkfor formattingvitestfor tests,tscbuild
Repo structure
Clear-Thought-MCP-server/
├── src/
│ ├── index.ts # server bootstrap, tool registration, stdio + HTTP transports
│ ├── models/interfaces.ts # shared TypeScript interfaces
│ └── tools/ # one module per reasoning tool (mentalModelServer.ts, ...)
├── dist/ # compiled JS (tsc output)
├── test/ # vitest suites
├── Dockerfile # container image
├── smithery.yaml # Smithery deploy config
└── package.jsonQuick start
Run with npx (stdio)
npx clear-thought-mcp-serverInstall via Smithery
npx -y @smithery/cli install @chirag127/clear-thought-mcp-server --client claudeMCP client config
Hosted (Streamable HTTP):
{
"mcpServers": {
"clear-thought": {
"url": "https://clear-thought-mcp-server.oriz.in/mcp"
}
}
}Local (stdio via npx):
{
"mcpServers": {
"clear-thought": {
"command": "npx",
"args": ["-y", "clear-thought-mcp-server"]
}
}
}Run the HTTP transport yourself
npm install
npm run build
HTTP_PORT=3779 npm start # serves Streamable HTTP at http://localhost:3779/mcpRegister it
MCP Registry: https://registry.modelcontextprotocol.io
Smithery:
@chirag127/clear-thought-mcp-server— https://smithery.ai/server/@chirag127/clear-thought-mcp-server
Configuration
No configuration is required. Optional environment variables:
Variable | Purpose |
| Port for the Streamable HTTP transport (default |
Part of the oriz family
One of ~80 sites and tools in the oriz family. It reasons; the Stochastic Thinking MCP Server handles probabilistic decision-making, and knowledge-mcp serves the knowledge base.
Contributing
Issues and PRs welcome. Conventional commits are the changelog.
License
MIT — see LICENSE.
Author
Chirag Singhal · chirag@oriz.in · @chirag127
Status
Stable (v1.1.2). Roadmap: more mental models, richer visual-reasoning output.
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 in problem-solving and reasoning, which could cause confusion. For example, 'collaborativereasoning', 'decisionframework', 'mentalmodel', and 'structuredargumentation' all involve structured analysis approaches, making it difficult for an agent to choose the most appropriate one. However, the detailed descriptions help differentiate them to some extent by emphasizing specific aspects like collaboration, decision-making, mental models, or argumentation.
The naming is mostly consistent with a clear pattern of using descriptive, compound words (e.g., 'collaborativereasoning', 'metacognitivemonitoring'). All tools follow a similar style without mixing conventions like camelCase or snake_case. The only minor deviation is 'sequentialthinking', which uses a single word instead of a compound, but it still fits the overall readable and predictable naming scheme.
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. However, it might be slightly heavy as some tools could be consolidated (e.g., overlapping reasoning tools), but overall, it's well-scoped for the domain of structured thinking and analysis.
The tool set provides comprehensive coverage of reasoning and problem-solving domains, including collaboration, debugging, decision-making, design, mental models, metacognition, programming paradigms, scientific methods, sequential thinking, argumentation, and visual reasoning. There are no obvious major gaps, as it spans from high-level frameworks to specific techniques. Minor gaps might exist in more niche areas, but agents can likely work around them given the breadth of tools available.
Maintenance
Related MCP Connectors
Deterministic reasoning stack for AI agents: simulate, decide & compute, plus cross-domain tools.
Software design skills for AI coding agents, inspired by A Philosophy of Software Design.
Shared debugging memory for AI coding agents
Experience memory for coding agents: validated traps, fixes and dead-ends at decision time.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvide systematic thinking, mental models, and debugging approaches to enhance problem-solving capabilities. Enable structured reasoning and decision-making support for complex problems. Facilitate integration with MCP-compatible clients for advanced cognitive workflows.115MIT
- AlicenseNot gradedqualityDmaintenanceProvides 30+ unified reasoning operations including systematic thinking, mental models, debugging approaches, statistical analysis, interactive notebooks, and advanced problem-solving frameworks for enhanced decision-making and complex reasoning tasks.53MIT
- 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
- 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