MCP Reasoner is an MCP server that provides advanced search-based reasoning algorithms to language models such as Claude Desktop. It connects host applications to algorithmic reasoning engines including Beam Search and Monte Carlo Tree Search (MCTS), along with experimental variations utilizing A* search and bidirectional search. Developers, researchers, and engineers use it to help language models evaluate multiple lines of thought when tackling complex logic problems, code design, or multi-step analysis. By exposing configurable parameters such as beam width and simulation counts, the server enables the language model to track the quality of different reasoning paths, visualize alternative trajectories, and analyze the steps taken before returning a final conclusion. This structured approach allows hosts to escape straightforward greedy generation, systematically exploring decision spaces to find higher-quality solutions.
Category: AI & LLM Tooling
Tags: agent-framework, beam-search, monte-carlo-tree-search, reasoning
bash git clone https://github.com/Jacck/mcp-reasoner.git cd mcp-reasoner 2. Install dependencies and compile the server: bash npm install npm run build 3. Add the server to your Claude Desktop configuration file under mcpServers: json { "mcpServers": { "mcp-reasoner": { "command": "node", "args": ["path/to/mcp-reasoner/dist/index.js"] } } } 4. Replace path/to/mcp-reasoner/dist/index.js with your absolute system path and restart Claude Desktop.Part of MCP Servers
MCP Reasoner is a Model Context Protocol server that supplies external reasoning engines to AI assistants like Claude Desktop. It provides tree and path exploration methods, specifically Beam Search and Monte Carlo Tree Search, allowing models to evaluate alternative thoughts before finalizing an answer.
The server includes standard Beam Search for straightforward reasoning and standard Monte Carlo Tree Search for complex decisions. It also introduces experimental alpha algorithms like mcts-002-alpha, which uses A* search with a policy simulation layer, and mcts-002alt-alpha, which uses bidirectional search.
Claude and other MCP clients can adjust parameters directly through the tool interface. Configurable controls include beamWidth to specify how many simultaneous reasoning paths to track between 1 and 10, and numSimulations to adjust Monte Carlo simulations between 1 and 150.
MCP Reasoner works with Claude Desktop and any other MCP-compliant client that supports standard input/output node-based process execution and local tool calling.
Yes, MCP Reasoner is open-source software licensed under the MIT License. The code is available for review, modification, and fork on its GitHub repository.