Monte Carlo Tree Search (MCTS-LLM) for intelligent problem solving in research, planning, and coding tasks
Execute the BACKPROPAGATION phase of MCTS to update node statistics from leaf to root
Manage the MCTS prompt dataset with CRUD operations, import/export, and reset functionality. Use for viewing, editing, backing up, and restoring prompt templates.
Execute the EXPANSION phase of MCTS to generate new child nodes using LLM as world model
Execute the SELECTION phase of MCTS using UCB1 to traverse from root to a promising leaf node
Execute the SIMULATION (rollout) phase of MCTS using LLM as heuristic policy to evaluate a node
Admin access level
Server config contains admin-level keywords
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Monte Carlo Tree Search (MCTS-LLM) implementation for intelligent problem solving in research, planning, and coding tasks.
Based on the MCTS-LLM paper which demonstrates that LLMs can serve as both:
pip install mcp pyyaml
# Install from local directory
claude plugin install --plugin-dir /path/to/plugin-mcts
# Or test locally without installing
claude --plugin-dir /path/to/plugin-mcts
The plugin provides the following skills:
/mcts:mcts - Execute full MCTS-LLM algorithm on a problem/mcts:mcts-select - Selection phase using UCB1/mcts:mcts-expand - Expansion phase with LLM as world model/mcts:mcts-simulate - Simulation/rollout phase with LLM as policy/mcts:mcts-backpropagate - Backpropagation phase to update statistics/mcts:mcts-dataset - CRUD operations for prompt templatesThe plugin provides an MCP server with the following tools:
| Tool | Description |
|---|---|
mcts_init_tree | Initialize a new MCTS tree for a problem |
mcts_select | Execute selection phase with UCB1 |
mcts_expand | Add child nodes to expand the tree |
mcts_simulate | Record simulation results |
mcts_backpropagate | Propagate rewards back to root |
mcts_get_best_path | Extract the best solution path |
mcts_get_tree_stats | Get tree statistics |
| Tool | Description |
|---|---|
mcts_add_observation | Add an observation to knowledge base |
mcts_get_observations | Retrieve observations |
mcts_update_belief | Update or create a belief with probability |
mcts_get_beliefs | Get all current beliefs |
| Tool | Description |
|---|---|
mcts_dataset_list | List all prompt templates |
mcts_dataset_get | Get a specific prompt |
mcts_dataset_create | Create a new prompt |
mcts_dataset_update | Update an existing prompt |
mcts_dataset_delete | Delete a prompt |
mcts_dataset_export | Export prompts to file (backup) |
mcts_dataset_import | Import prompts from file |
mcts_dataset_reset | Reset to default prompts (requires confirmation) |
/mcts:mcts How should I architect a microservices system for an e-commerce platform?
Claude will:
/mcts:mcts What are the potential causes and solutions for high memory usage in a Node.js application?
/mcts:mcts Plan the migration of a monolithic application to microservices
/mcts:mcts Implement a rate limiter with the following requirements...
/mcts:mcts-dataset list
/mcts:mcts-dataset create
Then provide:
/mcts:mcts-dataset export
Always export before importing!
/mcts:mcts-dataset import /path/to/prompts.json
/mcts:mcts-dataset reset
Warning: This deletes all custom prompts. Type "yes" to confirm.
Selection: Starting from the root, traverse down the tree using UCB1 to balance exploration vs exploitation:
UCB = Q/N + c * sqrt(ln(parent_N) / N)
Expansion: At a leaf node, use the LLM as a world model to generate possible next actions and predict their outcomes.
Simulation: From the expanded node, simulate a rollout to a terminal state using the LLM as a heuristic policy. Evaluate the outcome.
Backpropagation: Update visit counts (N) and value estimates (Q) from the simulated node back to the root.
Repeat: Continue for a set number of iterations or until convergence.
Extract Solution: The path with highest average reward represents the best solution.
The LLM predicts:
npx claudepluginhub newjerseystyle/plugin-mctsLogic-LLM integration for Claude Code - enables symbolic reasoning with Prolog, Clingo/ASP solvers. Converts documents to logic programs for complex reasoning, legal document processing, and multi-turn inference.
Multi-agent code generation with retrieval, planning, coding, and debugging pipeline
Claude Code integration for MCP Task Orchestrator — schema-aware context, note-driven workflow
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Evidence-gated AI coding workflow: scan → analyze → plan → TDD → execute → fix → verify → review, powered by Codebase Memory MCP >= 0.9.0 with optional Serena LSP intelligence. Includes blast-radius planning, test/cycle gates, independent review, and Windows Git Bash hook auto-resolution.
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.