Cover image
Try Now
2025-02-24

用于检索增强思维和解决问题的MCP服务器

3 years

Works with Finder

1

Github Watches

3

Github Forks

11

Github Stars

Retrieval-Augmented Thinking MCP Server

An MCP (Model Context Protocol) server implementation that enhances AI model capabilities with structured, retrieval-augmented thinking processes. This server enables dynamic thought chains, parallel exploration paths, and recursive refinement cycles for improved reasoning and problem-solving.

Features

  • Adaptive Thought Chains: Maintains coherent reasoning flows with branching and revision capabilities
  • Iterative Hypothesis Generation: Implements validation cycles for hypothesis testing
  • Context Coherence: Preserves context across non-linear reasoning paths
  • Dynamic Scope Adjustment: Supports flexible exploration and refinement
  • Quality Assessment: Real-time evaluation of thought processes
  • Branch Management: Handles parallel exploration paths
  • Revision Tracking: Manages recursive refinement cycles

Installation

npm install @modelcontextprotocol/server-retrieval-augmented-thinking

Usage

Command Line

mcp-server-retrieval-augmented-thinking

Programmatic Usage

import { Server } from '@modelcontextprotocol/sdk/server';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio';

// Initialize and run the server
const server = new Server({
  name: 'retrieval-augmented-thinking',
  version: '0.1.0'
});

// Connect transport
const transport = new StdioServerTransport();
await server.connect(transport);

Tool Configuration

The server provides a tool with the following parameters:

  • thought (string): Current reasoning step
  • thoughtNumber (number): Position in reasoning chain
  • totalThoughts (number): Estimated scope
  • nextThoughtNeeded (boolean): Chain continuation signal
  • isRevision (boolean, optional): Marks refinement steps
  • revisesThought (number, optional): References target thought
  • branchFromThought (number, optional): Branch origin point
  • branchId (string, optional): Branch identifier
  • needsMoreThoughts (boolean, optional): Scope expansion signal

Advanced Features

Thought Chain Analytics

The server tracks various metrics for thought chain quality:

  • Chain effectiveness
  • Revision impact
  • Branch success rate
  • Overall quality
  • Individual thought metrics (complexity, depth, quality, impact)

Pattern Recognition

Analyzes thought patterns for:

  • Reasoning structures
  • Context preservation
  • Hypothesis validation
  • Solution coherence

Development

# Build
npm run build

# Watch mode
npm run watch

Contributing

Contributions welcome! Please read our contributing guidelines and submit pull requests.

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • zhaoyunxing92
  • MCP(消息连接器协议)服务

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

    Reviews

    4 (1)
    Avatar
    user_pKxDYpT6
    2025-04-16

    Retrieval-Augmented-Thinking is an incredibly innovative tool from stat-guy. The seamless integration with existing workflows and the precision in its search and retrieval capabilities make it indispensable for my projects. Highly recommend it for those looking to boost their research efficiency. Check it out here: https://github.com/stat-guy/retrieval-augmented-thinking