MCP Reasoner
A systematic reasoning MCP server implementation for Claude Desktop featuring both Beam Search and Monte Carlo Tree Search (MCTS) capabilities.
Features
- Dual search strategies:
- Beam search with configurable width
- MCTS for complex decision spaces
- Thought scoring and evaluation
- Tree-based reasoning paths
- Statistical analysis of reasoning process
- MCP protocol compliance
Installation
git clone https://github.com/Jacck/mcp-reasoner.git
cd mcp-reasoner
npm install
npm run build
Configuration
Add to Claude Desktop config:
{
"mcpServers": {
"mcp-reasoner": {
"command": "node",
"args": ["path/to/mcp-reasoner/dist/index.js"],
}
}
}
Search Strategies
Beam Search
- Maintains fixed-width set of most promising paths
- Optimal for step-by-step reasoning
- Best for: Mathematical problems, logical puzzles
Monte Carlo Tree Search
- Simulation-based exploration of decision space
- Balances exploration and exploitation
- Best for: Complex problems with uncertain outcomes
Note: Monte Carlo Tree Search allowed Claude to perform really well on the Arc AGI benchmark (scored 6/10 on the public test), whereas beam search yielded a (3/10) on the same puzzles. For super complex tasks, you’d want to direct Claude to utilize the MCTS strategy over the beam search.
Algorithm Details
- Search Strategy Selection
- Beam Search: Evaluates and ranks multiple solution paths
- MCTS: Uses UCT for node selection and random rollouts
- Thought Scoring Based On:
- Detail level
- Mathematical expressions
- Logical connectors
- Parent-child relationship strength
- Process Management
- Tree-based state tracking
- Statistical analysis of reasoning
- Progress monitoring
Use Cases
- Mathematical problems
- Logical puzzles
- Step-by-step analysis
- Complex problem decomposition
- Decision tree exploration
- Strategy optimization
Future Implementations
- Implement New Algorithms
- Iterative Deepening Depth-First Search (IDDFS)
- Alpha-Beta Pruning
License
This project is licensed under the MIT License - see the LICENSE file for details.
Reasoner
Project Details
- parmarjh/mcp-reasoner
- MIT License
- Last Updated: 3/14/2025
Categories
Recomended MCP Servers
This MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing...
Model Context Protocol server for Daipendency
A Model Context Protocol (MCP) server that provides secure, read-only access to BigQuery datasets. Enables Large Language Models...
Application for SEO automation and AI-powered optimization
Talk to a Cloudflare Worker from Claude Desktop!
Model Context Protocol server for OpenStreetMap data
A Model Context Protocol server for Jira.
react-mcp integrates with Claude Desktop, enabling the creation and modification of React apps based on user prompts
The MCP server for Powerdrill API.
这个项目是一个基于Model Context Protocol (MCP)的AutoCAD集成服务器,它允许通过自然语言与AutoCAD进行交互。通过这个服务器,用户可以使用Claude等大型语言模型来创建、修改和分析AutoCAD图纸,同时还可以存储和查询CAD元素的相关数据。目前制作参考学习,仅实现端到端之间的通信,具体工具函数尚未晚上