Thinking Patterns MCP Server logo

Thinking Patterns MCP Server

Community
emmahyde

A comprehensive MCP server that combines systematic thinking, mental models, debugging approaches, and stochastic algorithms for enhanced problem-solving capabilities.

Publisheremmahyde
Repositorythinking-patterns
LanguageTypeScript
Forks
1
Stars
19
Available tools
15
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Thinking Patterns MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 15 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    19 stars and 1 forks from the linked repository.

Thinking Patterns MCP Server

smithery badge NPM Version

TL;DR

A comprehensive MCP server that provides AI systems with structured thinking frameworks that follow existing problem-solving paradigms. Transform abstract cognitive patterns into concrete, invocable tools. Enforces adherence to the paradigms through schema validation.

📚 Documentation

Problem

LLMs struggle to maintain consistent reasoning patterns throughout extended conversations due to context window limitations and degrading adherence to initial instructions. Traditional approaches like "keep X in mind" or role-based prompting fail when:

  • Critical context passes out of the attention window
  • Models acknowledge constraints but don't consistently apply them
  • Reasoning structures decay over multi-turn interactions

thinking-patterns enforces structural consistency through interactive schema validation rather than passive instruction-following.

Solution

thinking-patterns works by implicitly encouraging good engineering behaviors and approaches:

  • Schema validation ensures reasoning patterns persist beyond context window limits
  • Structural requirements live in tool definitions rather than repeated prompt text, reducing token overhead
  • Tool interaction success/failure provides objective metrics for reasoning quality
    • Indicates to the model that they are not following the pattern appropriately without additional user interaction
  • Reusable thinking structures across different problem domains

Reasoning Improvements

  • Attention Drift Prevention: Without structural anchors, models experience "goal drift" as new contextual information competes with original objectives. Schema validation creates persistent attention anchors.
  • State Crystallization: Explicit articulation of reasoning state (forced by tool parameters) appears to strengthen internal representation compared to implicit state maintenance. Models demonstrate measurably better state consistency when reasoning is externalized.
  • Error-Driven Learning: Schema validation errors create immediate, interactive corrective feedback loops within a single response, unlike instruction-based approaches where non-compliance often goes undetected until task completion.
  • Cognitive Load Distribution: Externalizing structural requirements to schemas allows models to allocate more processing capacity to problem-solving rather than format compliance, similar to how humans benefit from external memory aids.
  • Iterative Reinforcement: Repeated successful tool interactions strengthen adherence patterns through practice, creating compound consistency benefits over conversation length.

🚀 Quick Start

1. Install (Choose One)

Recommended: Smithery (for Cursor users)

bash
npx -y @smithery/cli install @emmahyde/thinking-patterns --client cursor

NPM

bash
npm install @emmahyde/thinking-patterns

NPX (no installation)

bash
npx -y @emmahyde/thinking-patterns

2. Configure MCP Client

Add to your MCP client configuration:

json
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "npx",
      "args": ["-y", "@emmahyde/thinking-patterns"]
    }
  }
}

3. Try Your First Tool

bash
# Example: Use sequential thinking for planning
{
  "tool": "sequential_thinking",
  "arguments": {
    "thought": "Plan a product launch strategy",
    "thoughtNumber": 1,
    "totalThoughts": 5
  }
}

🧠 Available Thinking Tools

Core Systematic Thinking

  • sequential_thinking - Multi-step reasoning with revision support
  • problem_decomposition - Break complex problems into manageable parts
  • recursive_thinking - Apply recursive strategies to self-similar problems

Mental Models & Frameworks

  • mental_model - Apply proven frameworks (First Principles, Inversion, etc.)
  • decision_framework - Multi-criteria decision analysis
  • domain_modeling - Create conceptual models of problem domains

Scientific & Critical Analysis

  • scientific_method - Formal hypothesis testing and experimentation
  • critical_thinking - Systematic evaluation of arguments and assumptions
  • debugging_approach - Systematic troubleshooting methodologies

Collaborative & Dialectical

  • collaborative_reasoning - Multi-perspective problem solving with personas
  • structured_argumentation - Dialectical reasoning and argument analysis

Advanced Cognitive Patterns

  • metacognitive_monitoring - Self-assessment of reasoning quality
  • visual_reasoning - Diagram-based thinking and spatial reasoning
  • temporal_thinking - Time-based system analysis with state transitions

Probabilistic & Optimization

  • stochastic_algorithm - Decision-making under uncertainty [BETA]
    • Markov Decision Processes (MDPs)
    • Monte Carlo Tree Search (MCTS)
    • Multi-Armed Bandit algorithms
    • Bayesian Optimization
    • Hidden Markov Models (HMMs)

💡 Recommended Starting Points

  • sequential_thinking & problem_decomposition - Perfect for planning and breaking down complex tasks
  • debugging_approach - Send error messages directly for systematic troubleshooting
  • collaborative_reasoning - Simulate team discussions to uncover blind spots

📋 Prerequisites

  • Node.js 18+ (for local installation)
  • MCP-compatible client (Claude, Cursor, etc.)
  • Optional: Docker for containerized deployment

🔧 Installation Options

Option 1: Smithery (Recommended for Cursor)

Automatically configures MCP client:

bash
npx -y @smithery/cli install @emmahyde/thinking-patterns --client cursor

Option 2: NPM Package

For local development:

bash
npm install @emmahyde/thinking-patterns

Option 3: NPX (Zero Installation)

Run without installing:

bash
npx -y @emmahyde/thinking-patterns

Option 4: Docker

bash
# Build image
docker build -t thinking-patterns .

# Run container
docker run -it thinking-patterns

Option 5: Development Setup

bash
git clone https://github.com/emmahyde/thinking-patterns
cd thinking-patterns
npm install
npm run build
npm start

🎯 Use Cases

Software Development

  • Debug production issues systematically
  • Decompose complex features into user stories
  • Review code with multiple perspectives
  • Plan architecture changes step-by-step

Business Strategy

  • Make data-driven decisions with frameworks
  • Apply mental models to strategic planning
  • Model business processes over time
  • Optimize resource allocation

Research & Analysis

  • Test hypotheses with scientific method
  • Evaluate arguments critically
  • Model new domains systematically
  • Analyze temporal patterns

Creative Problem Solving

  • Use visual reasoning for design challenges
  • Apply recursive thinking to complex patterns
  • Optimize solutions with probabilistic algorithms
  • Generate innovative solutions with mental models

🔗 Integration Examples

npx

json
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "npx",
      "args": ["-y", "@emmahyde/thinking-patterns"]
    }
  }
}

Local Development

json
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "node",
      "args": ["/path/to/thinking-patterns/dist/index.js"]
    }
  }
}

📊 Tool Categories

CategoryToolsBest For
Systematicsequential_thinking, problem_decomposition, recursive_thinkingPlanning, breaking down complexity
Mental Modelsmental_model, decision_framework, domain_modelingStrategic thinking, decision making
Scientificscientific_method, critical_thinking, debugging_approachAnalysis, troubleshooting, validation
Collaborativecollaborative_reasoning, structured_argumentationTeam thinking, debate, consensus
Advancedmetacognitive_monitoring, visual_reasoning, temporal_thinkingSelf-reflection, design, process modeling
Probabilisticstochastic_algorithmOptimization, uncertainty, ML/AI

🤝 Contributing

Contributions welcome! Please see our Contributing Guide for details.

📄 License

MIT License - see LICENSE for details.

🙏 Acknowledgments

  • Built on the Model Context Protocol (MCP) by Anthropic
  • Mental Models framework inspired by cognitive science research
  • Stochastic algorithms based on reinforcement learning and decision theory

📞 Support


Give an AI thinking patterns, and it can solve any problem systematically.

Installation

TypingMind
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "npx",
      "args": [
        "-y",
        "@emmahyde/thinking-patterns"
      ]
    }
  }
}

Available Tools

  • sequential_thinking

    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.

  • mental_model

    Tool for creating and analyzing mental models to understand complex problems and systems.

  • debugging_approach

    Systematic debugging methodologies for troubleshooting and problem resolution.

  • stochastic_algorithm

    Probabilistic algorithms for decision-making under uncertainty, including MDPs, MCTS, and Bayesian optimization.

  • collaborative_reasoning

    Multi-perspective collaborative problem solving with diverse personas and structured contributions.

  • decision_framework

    Structured decision analysis and rational choice frameworks for complex decisions.

  • metacognitive_monitoring

    Self-assessment of knowledge and reasoning quality for improved metacognition.

  • scientific_method

    Formal hypothesis testing and experimentation following the scientific method.

  • structured_argumentation

    Dialectical reasoning and argument analysis for structured debates and logical reasoning.

  • visual_reasoning

    Diagram-based thinking and problem solving with visual elements and transformations.

  • domain_modeling

    Creating and refining conceptual models of a domain, including entities, relationships, and rules.

  • problem_decomposition

    Breaking down complex problems into manageable sub-problems and tasks.

  • critical_thinking

    Systematic evaluation of arguments, assumptions, and potential issues to improve reasoning quality.

  • recursive_thinking

    Applying recursive strategies to solve problems with base and recursive cases, including optimizations.

  • temporal_thinking

    Modeling systems and reasoning across time using states, events, and transitions.

Use Thinking Patterns MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Thinking Patterns MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Thinking Patterns MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Thinking Patterns MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "thinking-patterns": {
      "command": "npx",
      "args": [
        "-y",
        "@emmahyde/thinking-patterns"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Thinking Patterns MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Thinking Patterns MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Thinking Patterns MCP Server to help me with this task?
Thinking Patterns MCP Server
Sure. I read it.
Here is what I found using Thinking Patterns MCP Server.

Frequently asked questions

What is the Thinking Patterns MCP Server MCP server used for?

Thinking Patterns MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Thinking Patterns MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Thinking Patterns MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Thinking Patterns MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Thinking Patterns MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Thinking Patterns MCP Server MCP to TypingMind?

Thinking Patterns MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Thinking Patterns MCP Server MCP provide in TypingMind?

Thinking Patterns MCP Server exposes 15 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Thinking Patterns MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Thinking Patterns MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇