Code Reasoning MCP Server
About
Enhances Claude's ability to solve complex programming tasks through structured, step-by-step thinking.
Details
- Author
- mettamatt
- GitHub stars
- 255
- Downloads
- 920
- Categories
- Developer Tools, AI, Other
Jump to
- Optimized for programming tasks and problem-solving
- Structured thinking breaks down complex problems
- Thought branching explores multiple solution paths
- Thought revision allows refining earlier reasoning
- Automatically stops after 20 thought steps
- Pre-defined prompt templates for common tasks
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Code Reasoning MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install by adding the server configuration (npx -y @mettamatt/code-reasoning) to your Claude Desktop or VS Code MCP settings. To trigger reasoning, append "Use sequential thinking to reason about this." to your chat message, or use ready-made prompt templates via the "+" icon or /help command. Optional command-line flags include --debug for detailed logging and --help for help.
code-reasoning
π§ A detailed tool for dynamic and reflective problem-solving through sequential thinking. This tool helps you analyze problems through a flexible thinking process that can adapt and evolve. Each thought can build on, question, or revise previous insights as understanding deepens. π KEY PARAMETERS: - thought: Your current reasoning step (required) - thought_number: Current number in sequence (required) - total_thoughts: Estimated final count (required, can adjust as needed) - next_thought_needed: Set to FALSE ONLY when completely done (required) - branch_from_thought + branch_id: When exploring alternative approaches (πΏ) - is_revision + revises_thought: When correcting earlier thinking (π) β CRITICAL CHECKLIST (review every 3 thoughts): 1. Need to explore alternatives? β Use BRANCH (πΏ) with branch_from_thought + branch_id 2. Need to correct earlier thinking? β Use REVISION (π) with is_revision + revises_thought 3. Scope changed? β Adjust total_thoughts up or down as needed 4. Only set next_thought_needed = false when you have a complete, verified solution π‘ BEST PRACTICES: - Start with an initial estimate of total_thoughts, but adjust as you go - Don't hesitate to revise earlier conclusions when new insights emerge - Use branching to explore multiple approaches to the same problem - Express uncertainty when present - Ignore information that is irrelevant to the current step - End with a clear, validated conclusion before setting next_thought_needed = false βοΈ End each thought by asking: "What am I missing or need to reconsider?"
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"code reasoning mcp server": {
"code-reasoning": {
"command": "npx",
"args": [
"-y",
"@mettamatt/code-reasoning"
]
}
}
}
}
McpServers
{
"code-reasoning": {
"command": "npx",
"args": [
"-y",
"@mettamatt/code-reasoning"
]
}
}
A Model Context Protocol (MCP) server that enhances Claude's ability to solve complex programming tasks through structured, step-by-step thinking.
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:%APPDATA%\Claude\claude_desktop_config.json
- Linux:~/.config/Claude/claude_desktop_config.json
{ "mcpServers": { "code-reasoning": { "command": "npx", "args": ["-y", "@mettamatt/code-reasoning"] } } }
{ "mcp": { "servers": { "code-reasoning": { "command": "npx", "args": ["-y", "@mettamatt/code-reasoning"] } } } }
-
To trigger this MCP, append this to your chat messages:
Use sequential thinking to reason about this.
Use ready-to-go prompts that trigger Code-Reasoning:
- Click the "+" icon in the Claude Desktop chat window, or in Claude Code type/helpto see the specific commands.
- Select "Add from Code Reasoning" from the available tools
- Choose a prompt template and fill in the required information
- Submit the form to add the prompt to your chat message and hit return
See thePrompts Guidefor details on using the prompt templates.
- --debug: Enable detailed logging
- --helpor-h: Show help information
- Programming Focus: Optimized for coding tasks and problem-solving
- Structured Thinking: Break down complex problems into manageable steps
- Thought Branching: Explore multiple solution paths in parallel
- Thought Revision: Refine earlier reasoning as understanding improves
- Safety Limits: Automatically stops after 20 thought steps to prevent loops
- Ready-to-Use Prompts: Pre-defined templates for common development tasks
Detailed documentation available in the docs directory:
- Usage Examples: Examples of sequential thinking with the MCP server
- Configuration Guide: All configuration options for the MCP server
- Prompts Guide: Using and customizing prompts with the MCP server
- Testing Framework: Testing information
βββ index.ts # Entry point βββ src/ # Implementation source files βββ test/ # Placeholder for future test utilities
This project is licensed under the MIT License. See the LICENSE file for details.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .
Instead of direct calling MCP tools, mcpcode server transforms MCP tool calls into TypeScript programs, enabling smarter, lower-latency orchestration by LLMs.
Supercharge your Agent with Semantic Code Intelligence and save π° in the process!
AI-to-AI code review platform β Claude, Codex, and Gemini cross-check each other via MCP, REST API, and CLI for consensus-based results.
A code sandbox for AI assistants to safely execute arbitrary code. Requires a 302AI API key for authentication.
Agent-native developer Q&A API with MCP + A2A endpoints for citations, job pickup, and answer submission.
MCP server to dynamically load Claude Code skills into AI agents
MCP bridge that lets Claude Code delegate heavy tasks to the Antigravity CLI (agy) β purpose-built tools, model routing with fallback, session continuity, and output truncation to save Claude's context and tokens.
Exposes local execution of Aider commands as a detached process using MCP.
An MCP server for offloading AI coding tasks to Aider, enhancing development efficiency and flexibility.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





