io. github. lazymac2x/ code-explainer
by lazymac2x · remote · no sign-in to list tools · v1.0.0 · published by GitHub user lazymac2x
Cloudflare Workers MCP server: code-explainer
6 tools: 6 change things.
Scanned Oct 21, 2026
- Deletes or cancels0Claude Code: deny
- Can't be undone0Claude Code: ask
- Changes things6Claude Code: ask: see these tools
- Only reads0Claude Code: allow
No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.
claude mcp add --transport http code-explainer https://api.lazy-mac.com/code-explainer/mcpTools
Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.
6 tools
Changes things 6Claude Code: ask
analyze_allRun all five analyses in one call: language detection, natural-language explanation, docstring generation, complexity metrics, and refactoring suggestions.No findings
Why it is in this group
- The name "analyze_all" says "analyze": a word for reading.
- The description's first verb is "run": a word for a change.
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Run all five analyses in one call: language detection, natural-language explanation, docstring generation, complexity metrics, and refactoring suggestions.
analyze_complexityAnalyze code complexity including cyclomatic complexity, cognitive complexity, nesting depth, and maintainability index.No findings
Why it is in this group
- The name "analyze_complexity" says "analyze": a word for reading.
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Analyze code complexity including cyclomatic complexity, cognitive complexity, nesting depth, and maintainability index.
detect_languageDetect the programming language of a code snippet.No findings
Why it is in this group
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Detect the programming language of a code snippet. Returns the detected language and confidence level.
explain_codeGenerate a natural language explanation of a code snippet including structural analysis, features, and summary.No findings
Why it is in this group
- The name "explain_code" says "explain": a word for reading.
- The description's first verb is "generate": a word for a change.
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Generate a natural language explanation of a code snippet including structural analysis, features, and summary.
generate_docstringGenerate JSDoc, Python docstring, Go godoc, or Rust doc comments for functions in the provided code.No findings
Why it is in this group
- The name "generate_docstring" says "generate": a word for a change.
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Generate JSDoc, Python docstring, Go godoc, or Rust doc comments for functions in the provided code.
suggest_refactorGet prioritized refactoring suggestions for code quality improvements.No findings
Why it is in this group
- The description's first verb is "get": a word for reading.
- The input takes a statement or command to run (input.code), which can change anything it can reach.
Description, as the server wrote it Get prioritized refactoring suggestions for code quality improvements.
This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.
Install
Pinned to version 1.0.0. Values in angle brackets are yours to fill in.
claude mcp add --transport http code-explainer https://api.lazy-mac.com/code-explainer/mcpRun in a terminal.
Claude Code permissions
Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.
{
"permissions": {
"allow": [],
"ask": [
"mcp__code-explainer__detect_language",
"mcp__code-explainer__explain_code",
"mcp__code-explainer__generate_docstring",
"mcp__code-explainer__analyze_complexity",
"mcp__code-explainer__suggest_refactor",
"mcp__code-explainer__analyze_all"
],
"deny": []
}
}Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as code-explainer. Review it before you use it.
