Skip to main content
Glama
Jacck
by Jacck

MCP Reasoner

A reasoning implementation for Claude Desktop that lets you use both Beam Search and Monte Carlo Tree Search (MCTS). tbh this started as a way to see if we could make Claude even better at complex problem-solving... turns out we definitely can.

Current Version:

v2.0.0

What's New:

Added 2 Experimental Reasoning Algorithms:

- `mcts-002-alpha`

    - Uses the A* Search Method along with an early *alpha* implementation of a Policy Simulation Layer

    - Also includes an early *alpha* implementation of Adaptive Exploration Simulator & Outcome Based Reasoning Simulator

*NOTE* the implementation of these alpha simulators is not complete and is subject to change

- `mcts-002alt-alpha`

    - Uses the Bidirectional Search Method along with an early *alpha* implementation of a Policy Simulation Layer

    - Also includes an early *alpha* implementation of Adaptive Exploration Simulator & Outcome Based Reasoning Simulator

*NOTE* the implementation of these alpha simulators is not complete and is subject to change

What happened to mcts-001-alpha and mcts-001alt-alpha?

Quite simply: It was useless and near similar to the base mcts method. After initial testing the results yielded in basic thought processes was near similar showing that simply adding policy simulation may not have an effect.

So why add Polciy Simulation Layer now?

Well i think its important to incorporate Policy AND Search in tandem as that is how most of the algorithms implement them.

Previous Versions:

v1.1.0

Added model control over search parameters:

beamWidth - lets Claude adjust how many paths to track (1-10)

numSimulations - fine-tune MCTS simulation count (1-150)

Features

  • Two search strategies that you can switch between:

    • Beam search (good for straightforward stuff)

    • MCTS (when stuff gets complex) with alpha variations (see above)

  • Tracks how good different reasoning paths are

  • Maps out all the different ways Claude thinks through problems

  • Analyzes how the reasoning process went

  • Follows the MCP protocol (obviously)

Related MCP server: MCP Advanced Reasoning Server

Installation

git clone https://github.com/frgmt0/mcp-reasoner.git 

OR clone the original:

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"],
    }
  }
}

Testing

[More Testing Coming Soon]

Benchmarks

[Benchmarking will be added soon]

Key Benchmarks to test against:

  • MATH500

  • GPQA-Diamond

  • GMSK8

  • Maybe Polyglot &/or SWE-Bench

License

This project is licensed under the MIT License - see the LICENSE file for details.

Available Tools

1 tool
mcp-reasonerC

Advanced reasoning tool with multiple strategies including Beam Search and Monte Carlo Tree Search

ParametersJSON Schema
NameRequiredDescriptionDefault
beamWidthNoNumber of top paths to maintain (n-sampling). Defaults to 3 if not specified
nextThoughtNeededYesWhether another step is needed
numSimulationsNoNumber of MCTS simulations to run. Defaults to 50 if not specified
strategyTypeNoReasoning strategy to use (beam_search or mcts)
thoughtYesCurrent reasoning step
thoughtNumberYesCurrent step number
totalThoughtsYesTotal expected steps

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It mentions 'advanced reasoning' and strategy names but doesn't disclose behavioral traits like whether it's read-only or mutative, performance characteristics, rate limits, or what the output looks like. The description is too high-level to guide the agent on how the tool behaves in practice.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that states the tool's general function and lists key strategies. It's appropriately sized and front-loaded, with no wasted words, though it could be more specific to improve clarity without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (7 parameters, no annotations, no output schema), the description is incomplete. It doesn't explain the reasoning process, output format, or how strategies differ, leaving significant gaps for the agent to understand the tool's role and results. The schema covers parameters well, but overall context is lacking.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all 7 parameters. The description adds no meaning beyond the schema—it doesn't explain how parameters interact (e.g., beamWidth applies to beam_search, numSimulations to mcts) or provide context for their use. Baseline 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the tool is for 'advanced reasoning' with 'multiple strategies including Beam Search and Monte Carlo Tree Search', which gives a general purpose but lacks specificity about what it actually does (e.g., generate reasoning steps, evaluate hypotheses, solve problems). It doesn't distinguish from siblings, but there are none, so this is less critical. The description is vague about the exact action.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives or in what contexts it's appropriate. The description mentions strategies but doesn't explain when to choose beam_search vs. mcts or their trade-offs. Without siblings, this is less severe, but the agent still lacks usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

B3/5.0
Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'mcp-reasoner' has a clearly distinct purpose focused on advanced reasoning strategies.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The name 'mcp-reasoner' follows a clear, descriptive pattern that matches the server name.

Tool Count2/5

A single tool is generally too few for most server purposes, as it limits functionality and flexibility. While it might be appropriate for a highly specialized niche, the description suggests advanced reasoning with multiple strategies, which could benefit from more granular tools (e.g., separate tools for different search strategies).

Completeness3/5

It is difficult to assess completeness with only one tool, as there is no clear domain surface to evaluate. The tool covers reasoning strategies, but without additional tools (e.g., for input/output, configuration, or specific reasoning modes), there are likely gaps in a full reasoning workflow.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jacck/mcp-reasoner'

If you have feedback or need assistance with the MCP directory API, please join our Discord server