
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A retrieval augmented thinking MCP server that processes structured thoughts with metrics, branching, and revision capabilities.
RAT MCP Server (Node.js) is cataloged as an MCP server attributed to stat-guy. A retrieval augmented thinking MCP server that processes structured thoughts with metrics, branching, and revision capabilities. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for RAT MCP Server (Node.js) are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, the needsMoreThoughts option extends beyond totalThoughts if needed.
README.md · 5f449f8964df · Fetched 2026-11-13 12:02:39 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Retrieval Augmented Thinking MCP Server - A reasoning tool that processes structured thoughts with metrics, branching, and revision capabilities.
git clone https://github.com/stat-guy/retrieval-augmented-thinking.git
cd retrieval-augmented-thinking
npm install -g .
Test that the installation worked:
npx mcp-server-rat-node --help
Success indicator: If you see RAT MCP Server (Node.js) running on stdio, your installation is ready!
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"retrieval-augmented-thinking": {
"command": "npx",
"args": ["mcp-server-rat-node"]
}
}
}
After adding the configuration, restart Claude Desktop to load the RAT server.
The server provides a single rat tool for processing structured thoughts:
// Basic usage
{
"thought": "I need to analyze this problem step by step...",
"nextThoughtNeeded": true,
"thoughtNumber": 1,
"totalThoughts": 3
}
// With revision
{
"thought": "Let me reconsider my previous analysis...",
"nextThoughtNeeded": false,
"thoughtNumber": 2,
"totalThoughts": 3,
"isRevision": true,
"revisesThought": 1
}
// With branching
{
"thought": "Alternative approach: what if we consider...",
"nextThoughtNeeded": true,
"thoughtNumber": 2,
"totalThoughts": 4,
"branchFromThought": 1,
"branchId": "alt-path-1"
}
thought (string): The thought content to processnextThoughtNeeded (boolean): Whether another thought is needed to continuethoughtNumber (integer): Current thought number in the sequencetotalThoughts (integer): Total expected thoughts (adjustable)isRevision (boolean): Whether this revises a previous thoughtrevisesThought (integer): The thought number being revisedbranchFromThought (integer): Thought number to branch frombranchId (string): Unique identifier for this branchneedsMoreThoughts (boolean): Extend beyond totalThoughts if needed{
"thought_number": 1,
"total_thoughts": 3,
"metrics": {
"complexity": 0.342,
"depth": 0.521,
"quality": 0.643,
"impact": 0.289,
"confidence": 0.758
},
"analytics": {
"total_thoughts": 5,
"average_quality": 0.612,
"chain_effectiveness": 0.145
},
"next_thought_needed": true,
"visual_output": "┌─ 💭 Thought 1/3 ─────────────────┐\\n│ Analysis shows clear patterns... │\\n├─ Metrics ──────────────────────┤\\n│ Quality: 0.64 | Impact: 0.29... │\\n└─────────────────────────────────┘"
}
The installation process includes automatic permission fixes. If you encounter issues:
npm install -g git+https://github.com/stat-guy/retrieval-augmented-thinking.git
chmod +x $(npm bin -g)/mcp-server-rat-node
Before configuring Claude Desktop, always verify:
npx mcp-server-rat-node --help
If this shows "RAT MCP Server (Node.js) running on stdio", you're ready to configure Claude Desktop.
Run the test suite:
npm test
Test tool execution:
node test-tool.js
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for RAT MCP Server (Node.js) from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/retrieval-augmented-thinking)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.