Retrieval-Augmented Thinking MCP Server

rat

A context-aware reasoning system that orchestrates structured thought processes through dynamic trajectories.

Core Capabilities:

  • Maintains adaptive thought chains with branching and revision capabilities
  • Implements iterative hypothesis generation and validation cycles
  • Preserves context coherence across non-linear reasoning paths
  • Supports dynamic scope adjustment and trajectory refinement

Reasoning Patterns:

  • Sequential analysis with backtracking capability
  • Parallel exploration through managed branch contexts
  • Recursive refinement via structured revision cycles
  • Hypothesis validation through multi-step verification

Parameters: thought: Structured reasoning step that supports: • Primary analysis chains • Hypothesis formulation/validation • Branch exploration paths • Revision proposals • Context preservation markers • Verification checkpoints

next_thought_needed: Signal for continuation of reasoning chain thought_number: Position in current reasoning trajectory total_thoughts: Dynamic scope indicator (adjustable) is_revision: Marks recursive refinement steps revises_thought: References target of refinement branch_from_thought: Indicates parallel exploration paths branch_id: Context identifier for parallel chains needs_more_thoughts: Signals scope expansion requirement

Execution Protocol:

  1. Initialize with scope estimation
  2. Generate structured reasoning steps
  3. Validate hypotheses through verification cycles
  4. Maintain context coherence across branches
  5. Implement revisions through recursive refinement
  6. Signal completion on validation success

The system maintains solution integrity through continuous validation cycles while supporting dynamic scope adjustment and non-linear exploration paths.

Input Schema

NameRequiredDescriptionDefault
branchFromThoughtNoBranching point thought number
branchIdNoBranch identifier
isRevisionNoWhether this revises previous thinking
needsMoreThoughtsNoIf more thoughts are needed
nextThoughtNeededYesWhether another thought step is needed
revisesThoughtNoWhich thought is being reconsidered
thoughtYesYour current thinking step
thoughtNumberYesCurrent thought number
totalThoughtsYesEstimated total thoughts needed

Input Schema (JSON Schema)

{ "properties": { "branchFromThought": { "description": "Branching point thought number", "minimum": 1, "type": "integer" }, "branchId": { "description": "Branch identifier", "type": "string" }, "isRevision": { "description": "Whether this revises previous thinking", "type": "boolean" }, "needsMoreThoughts": { "description": "If more thoughts are needed", "type": "boolean" }, "nextThoughtNeeded": { "description": "Whether another thought step is needed", "type": "boolean" }, "revisesThought": { "description": "Which thought is being reconsidered", "minimum": 1, "type": "integer" }, "thought": { "description": "Your current thinking step", "type": "string" }, "thoughtNumber": { "description": "Current thought number", "minimum": 1, "type": "integer" }, "totalThoughts": { "description": "Estimated total thoughts needed", "minimum": 1, "type": "integer" } }, "required": [ "thought", "nextThoughtNeeded", "thoughtNumber", "totalThoughts" ], "type": "object" }

You must be authenticated.

Other Tools