
Advanced Reasoning MCP Server
An MCP server that enhances sequential thinking with meta-cognitive capabilities including confidence tracking, hypothesis testing, and organized memory storage through graph-based libraries and structured JSON documents.
Tools
advanced_reasoning
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
query_reasoning_memory
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.
create_memory_library
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.
list_memory_libraries
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.
switch_memory_library
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.
search_system_json
Search through system JSON files by query. Parameters: - query: Search query to find matching system JSON files (required) Returns matching files with relevance scores.
get_current_library_info
Get information about the currently active memory library. Shows current library name, number of nodes, sessions, and other metadata. Returns current library information.
create_system_json
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.
get_system_json
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.
list_system_json
List all available system JSON files. Returns list of all system JSON files with their names, domains, and descriptions.
README
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
🚀 Quick Start
Installation
cd /advanced-reasoning-mcp
npm install
npm run build
Usage
MCP Client Integration
Add to your MCP client configuration:
{
"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
推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。