Advanced Reasoning MCP Server
The Advanced Reasoning MCP Server is a sophisticated cognitive reasoning system combining meta-cognition, hypothesis testing, and dual-storage memory architecture.
Core Reasoning
Perform advanced sequential reasoning with confidence tracking (0.0–1.0), quality assessment (low/medium/high), and meta-cognitive reflection
Formulate and test hypotheses with defined test plans, evidence tracking, and recorded results
Track reasoning progress toward a defined goal with branching, revisions, and dynamic thought counts
Memory Management
Create, list, switch between, and inspect named memory libraries organized by project or domain
Query reasoning memory to retrieve related insights, hypotheses, and evidence from previous sessions
Structured Data Storage (SystemJSON)
Create, retrieve, search, and list structured JSON documents for workflows, instructions, and domain knowledge
Full-text search with relevance scoring, tagging, and domain categorization
Visualization & Compatibility
Enhanced console output with confidence bars and quality indicators
Fully backward compatible with existing sequential thinking patterns
Mentioned as a tool in the example workflow for API testing, allowing integration of testing methodologies within stored workflows.
Used for installation and package management of the MCP server components.
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., "@Advanced Reasoning MCP Server analyze why my database query is slow and suggest optimizations"
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.
Advanced Reasoning MCP Server
An elegant, self-contained MCP server that builds on the sequential thinking pattern with advanced cognitive capabilities including meta-reasoning, hypothesis testing, integrated memory libraries, and structured data storage.
🧠 Features
Meta-Cognitive Assessment: Confidence tracking and reasoning quality evaluation
Hypothesis Testing: Systematic formulation, testing, and validation of hypotheses
Integrated Memory Libraries: Graph-based memory with named library management for different contexts
SystemJSON Storage: Structured data storage for workflows, instructions, and domain-specific knowledge
Enhanced Visualization: Rich console output with confidence bars and quality indicators
Related MCP server: MCP Thinking Server
🚀 Quick Start
Installation
cd /advanced-reasoning-mcp
npm install
npm run buildUsage
MCP Client Integration
Add to your MCP client configuration: For Claude replace command: node with your path ie /home//.nvm/versions/node//bin/node`:
{
"mcpServers": {
"advanced-reasoning": {
"command": "node",
"args": ["/path-to/advanced-reasoning-mcp/build/index.js"]
}
}
}🔧 Tools
Core Reasoning
advanced_reasoning
Enhanced reasoning with cognitive features:
All sequential thinking capabilities (branching, revisions, dynamic thought counts)
Confidence tracking (0.0-1.0)
Reasoning quality assessment (low/medium/high)
Meta-cognitive reflection
Hypothesis formulation and testing
Evidence tracking and validation
Memory integration with session context
query_reasoning_memory
Search integrated memory:
Find related insights and hypotheses
Discover connections between ideas
Build on previous reasoning sessions
Context-aware memory retrieval
Memory Library Management
create_memory_library
Create named memory libraries for organized knowledge:
Separate libraries for different projects/domains
Clean architectural separation
Library name validation
list_memory_libraries
List all available memory libraries:
Shows library metadata (name, size, last modified)
Organized, searchable library information
switch_memory_library
Switch between different memory libraries:
Maintains session state during switches
Context-aware library management
get_current_library_info
Get information about currently active library:
Current library name and statistics
Node count and session information
SystemJSON Structured Storage
create_system_json
Create structured data storage for workflows and instructions:
Domain categorization
Searchable content with tags
JSON-serializable data storage
Atomic write operations with validation
get_system_json
Retrieve structured data by name:
Complete data retrieval with metadata
Timestamp and modification tracking
search_system_json
Search through structured data:
Relevance scoring and ranking
Multi-field search capability
list_system_json
List all available structured data files:
Organized by domain and description
Complete metadata overview
📝 Example Usage
Basic Advanced Reasoning
// Create a new memory library for this project
const library = await callTool("create_memory_library", {
library_name: "database_optimization",
});
// Advanced reasoning with meta-cognition (no session creation needed)
const result = await callTool("advanced_reasoning", {
thought: "I need to analyze the query execution plan first",
thoughtNumber: 1,
totalThoughts: 5,
nextThoughtNeeded: true,
confidence: 0.8,
reasoning_quality: "high",
meta_thought: "This is a logical first step, high confidence approach",
goal: "Optimize database query performance",
});Hypothesis Testing
const result = await callTool("advanced_reasoning", {
thought: "The bottleneck appears to be in the JOIN operations",
thoughtNumber: 2,
totalThoughts: 5,
nextThoughtNeeded: true,
confidence: 0.6,
reasoning_quality: "medium",
meta_thought: "Need to verify this with actual data",
hypothesis: "JOIN operations are causing 80% of query time",
test_plan: "Run EXPLAIN ANALYZE and check execution times",
});Memory Integration
// Query related memories (no session_id needed)
const memories = await callTool("query_reasoning_memory", {
query: "database optimization techniques",
});SystemJSON Usage
// Store a workflow for reuse
const workflow = await callTool("create_system_json", {
name: "api_testing_workflow",
domain: "software_development",
description: "Complete API testing methodology",
data: {
phases: ["setup", "unit_tests", "integration_tests", "performance_tests"],
tools: ["jest", "supertest", "newman"],
checklist: ["auth validation", "error handling", "rate limiting"],
},
tags: ["testing", "api", "workflow"],
});
// Retrieve the workflow later
const storedWorkflow = await callTool("get_system_json", {
name: "api_testing_workflow",
});🏗️ Architecture
Built on proven sequential thinking with dual storage systems:
┌─────────────────────────────────────────────────────────────┐
│ MCP Interface │
├─────────────────────────────────────────────────────────────┤
│ Advanced Reasoning Server │
│ │
│ ┌──────────────────┐ ┌──────────────────┐ │
│ │ CognitiveMemory │ │ SystemJSON │ │
│ │ (Graph-Based) │ │ (Document-Based) │ │
│ │ │ │ │ │
│ │ • Named Libraries │ │ • Domain-Indexed │ │
│ │ • Session Context │ │ • Searchable │ │
│ │ • Node Relations │ │ • Tagged Content │ │
│ │ • Hypothesis │ │ • Workflows │ │
│ │ Tracking │ │ • Instructions │ │
│ └──────────────────┘ └──────────────────┘ │
│ │ │ │
│ ┌──────────────────┐ ┌──────────────────┐ │
│ │ Meta-Cognitive │ │ Enhanced │ │
│ │ Assessment │ │ Sequential │ │
│ │ │ │ Thinking │ │
│ │ • Confidence │ │ │ │
│ │ • Quality Rating │ │ • Branching │ │
│ │ • Evidence │ │ • Revisions │ │
│ │ • Hypothesis │ │ • Dynamic Counts │ │
│ │ Testing │ │ • Meta-Thoughts │ │
│ └──────────────────┘ └──────────────────┘ │
└─────────────────────────────────────────────────────────────┘🎯 Advanced Features
Meta-Cognitive Assessment
Confidence Tracking: Self-assessment of reasoning certainty (0.0-1.0)
Quality Evaluation: Low/medium/high reasoning quality indicators
Meta-Thoughts: Reflection on the reasoning process itself
Evidence Integration: Systematic collection and validation
Hypothesis Testing Framework
Hypothesis Formulation: Explicit statement of working theories
Test Planning: Define validation/refutation strategies
Evidence Tracking: Collect supporting/contradicting evidence
Result Integration: Incorporate test outcomes into reasoning
Dual Storage Architecture
CognitiveMemory (Graph-Based)
Named Libraries: Separate contexts for different projects
Graph Storage: Connected thoughts, hypotheses, evidence
Session Management: Persistent reasoning contexts
Memory Queries: Find relevant insights across sessions
Storage:
memory_data/{library_name}.json
SystemJSON (Document-Based)
Structured Storage: JSON-serializable workflows and instructions
Domain Organization: Categorized by domain/purpose
Search & Discovery: Full-text search with relevance scoring
Tag System: Flexible content organization
Storage:
memory_data/system_json/{name}.json
Enhanced Visualization
Confidence Bars: Visual certainty representation
Quality Indicators: Color-coded reasoning assessment
Rich Formatting: Clear structure for complex reasoning
Meta-Information: Display confidence, quality, connections
🔄 Compatibility
Fully compatible with sequential thinking patterns:
All branching and revision capabilities preserved
Dynamic thought count adjustment supported
Familiar parameter structure with optional enhancements
Backward compatible with existing sequential thinking workflows
📊 Benefits Over Sequential Thinking
Self-Awareness: Track confidence and reasoning quality
Systematic Validation: Explicit hypothesis testing framework
Organized Memory: Named libraries for different contexts
Structured Storage: Workflows and instructions as searchable data
Enhanced Clarity: Rich visualization of reasoning process
Progress Tracking: Monitor advancement toward defined goals
Evidence-Based: Systematic collection and evaluation of evidence
🗂️ File Structure
memory_data/
├── cognitive_memory.json # Default reasoning library
├── {library_name}.json # Named reasoning libraries
└── system_json/ # Structured data storage
├── {workflow_name}.json # Workflow definitions
├── {instruction_set}.json # Instruction sets
└── {domain_data}.json # Domain-specific data📚 Use Cases
Memory Libraries
Project-specific reasoning: Separate libraries per project
Domain expertise: Different libraries for different knowledge domains
Context switching: Clean separation between reasoning contexts
SystemJSON Storage
Workflow documentation: Store reusable process definitions
Instruction sets: Step-by-step procedures and guidelines
Domain knowledge: Structured information for specific fields
Configuration data: Settings and parameters for different scenarios
This server transforms sequential thinking into a sophisticated dual-storage cognitive reasoning system, providing both graph-based memory for reasoning sessions and structured document storage for workflows and instructions, while maintaining the elegant simplicity that made the original sequential thinking pattern so effective.
Made by angrysky56 (Ty Hall) and Claude
License- MIT
Available Tools
10 toolsadvanced_reasoningA
Advanced cognitive reasoning tool that builds on sequential thinking with meta-cognition, hypothesis testing, and integrated memory.
Key Features:
Meta-cognitive assessment and confidence tracking
Hypothesis formulation and testing capabilities
Integrated graph-based memory system
Dynamic reasoning quality evaluation
Session-based context management
Evidence tracking and validation
Enhanced Parameters:
thought: Your reasoning step (required)
thoughtNumber/totalThoughts: Sequential tracking (required)
nextThoughtNeeded: Continue flag (required)
confidence: Self-assessment 0.0-1.0 (default: 0.5)
reasoning_quality: 'low'|'medium'|'high' (default: 'medium')
meta_thought: Reflection on your reasoning process
hypothesis: Current working hypothesis
test_plan: How to validate the hypothesis
test_result: Outcome of testing
evidence: Supporting/contradicting evidence
session_id: Link to reasoning session
goal: Overall objective
progress: 0.0-1.0 completion estimate
Branching (inherited from sequential thinking):
isRevision/revisesThought: Revise previous thoughts
branchFromThought/branchId: Explore alternatives
Use this tool for complex reasoning that benefits from:
Self-reflection and confidence tracking
Systematic hypothesis development
Memory of previous insights
Quality assessment of reasoning
Inputs: thought (required), nextThoughtNeeded (required), thoughtNumber (required), totalThoughts (required), +17 more.
create_memory_libraryA
Create a new named memory library for organized knowledge storage.
Enables you to create separate, named memory libraries for different projects, domains, or contexts. Library names must contain only letters, numbers, underscores, and hyphens.
Parameters:
library_name: Name for the new library (required)
Returns success status and message.
Inputs: library_name (required).
create_system_jsonB
Create a new system JSON file for storing coherent detailed searchable data or instructions and workflows for any domain or action.
Parameters:
name: Name for the system JSON file (required) - alphanumeric, underscore, hyphen only
domain: Domain or category for the data (required)
description: Description of what this system JSON contains (required)
data: The structured data to store (required) - can be any JSON-serializable object
tags: Optional array of tags for searchability
Returns success status and confirmation message.
Inputs: name (required), domain (required), description (required), data (required), +1 more.
get_current_library_infoB
Get information about the currently active memory library.
Shows current library name, number of nodes, sessions, and other metadata.
Returns current library information.
Inputs: no named parameters.
get_system_jsonC
Retrieve a system JSON file by name.
Parameters:
name: Name of the system JSON file to retrieve (required)
Returns the complete system JSON data including metadata and content.
Inputs: name (required).
list_memory_librariesA
List all available memory libraries with metadata.
Shows all existing memory libraries with information about:
Library name
Number of memory nodes
Last modified date
Returns organized, searchable library information.
Inputs: no named parameters.
list_system_jsonA
List all available system JSON files.
Returns list of all system JSON files with their names, domains, and descriptions.
Inputs: no named parameters.
query_reasoning_memoryA
Query the integrated memory system to find related insights, hypotheses, and evidence.
Useful for:
Finding similar problems solved before
Retrieving relevant hypotheses and evidence
Understanding connections between ideas
Building on previous reasoning sessions
Parameters:
session_id: The reasoning session to query within (required)
query: What to search for in memory (required)
Returns related memories with confidence scores and connection information.
Inputs: session_id (required), query (required).
search_system_jsonC
Search through system JSON files by query.
Parameters:
query: Search query to find matching system JSON files (required)
Returns matching files with relevance scores.
Inputs: query (required).
switch_memory_libraryB
Switch to a different memory library.
Allows you to switch between different memory libraries for different contexts or projects. Current session state is saved before switching.
Parameters:
library_name: Name of the library to switch to (required)
Returns success status and message.
Inputs: library_name (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
The tools have some clear distinctions but also significant overlap. For example, advanced_reasoning handles reasoning with memory integration, while query_reasoning_memory specifically queries that memory, creating potential confusion about when to use each. Similarly, list_system_json and search_system_json both help find system JSON files, though one lists all and the other searches by query. The memory library tools (create_memory_library, list_memory_libraries, switch_memory_library, get_current_library_info) are well-differentiated from the system JSON tools, but within each group, boundaries can be fuzzy.
The naming is mostly consistent with a verb_noun pattern, such as create_memory_library, list_memory_libraries, and get_system_json. However, there are minor deviations: advanced_reasoning uses an adjective_noun format instead of a verb, and query_reasoning_memory uses a verb_noun_noun structure that differs slightly from others. Overall, the naming is readable and follows predictable conventions with only small inconsistencies.
With 10 tools, the count is well-scoped for a server focused on advanced reasoning and memory management. This number allows coverage of key operations like reasoning, memory library CRUD, and system JSON handling without being overwhelming. Each tool appears to serve a distinct purpose in the domain, making the set manageable and appropriately sized for the server's scope.
The tool set covers core aspects of reasoning and memory management well, including creation, listing, retrieval, and querying for both memory libraries and system JSON files. However, there are minor gaps: for example, there is no tool to update or delete memory libraries or system JSON files, which could limit lifecycle management. Additionally, while advanced_reasoning includes hypothesis testing, there might be a need for more specialized tools for validation or analysis, but the existing coverage supports most workflows effectively.
Maintenance
Related MCP Connectors
AI memory governance & hallucination-blocking MCP server with verifiable knowledge cells.
Cloud-hosted MCP server for durable AI memory
An MCP memory server. One memory your agents share — across models, devices and apps.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceA MCP server that implements sequential thinking protocols, provides structured problem-solving methods, decomposes complex problems into manageable steps, and supports iterative optimization and alternative reasoning paths.12Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA powerful MCP server that enhances LLMs with advanced sequential thinking capabilities, supporting 19 thinking modes for structured reasoning and complex cognitive tasks.17MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that structures AI reasoning as directed acyclic graphs of semantic thoughts, enabling explicit dependencies, assumption tracking, and cascade invalidation for transparent decision-making.7 npm5MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that combines sequential thinking with persistent memory through a knowledge graph, enabling AI assistants to explore decision trees by recording thinking traces, branching at low-confidence points, and backtracking to explore alternative paths.1-
Appeared in Searches
- Improved thinking frameworks and methodologies beyond sequential thinking
- Sequential Thinking Model Context Protocol (MCP) Server
- Sequential Thinking MCP (Model Context Protocol) Server
- AI Prompting Techniques and Reasoning Methods
- A tool for critical thinking and devil's advocate analysis of AI model plans