io.github.lazymac2x/code-explainer is an MCP server published by io.github.lazymac2x, hosted at api.lazy-mac.com. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 6 tools, including detect_language, explain_code, generate_docstring, analyze_complexity, suggest_refactor.
Cloudflare Workers MCP server: code-explainer
160 connections through 5 shared values. Tap any node.
Detect the programming language of a code snippet. Returns the detected language and confidence level.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The code snippet to analyze |
{
"name": "detect_language",
"description": "Detect the programming language of a code snippet. Returns the detected language and confidence level.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code snippet to analyze"
}
}
}
}Generate a natural language explanation of a code snippet including structural analysis, features, and summary.
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The code snippet to explain |
| language | string | Programming language (optional, auto-detected if omitted) |
{
"name": "explain_code",
"description": "Generate a natural language explanation of a code snippet including structural analysis, features, and summary.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code snippet to explain"
},
"language": {
"type": "string",
"description": "Programming language (optional, auto-detected if omitted)"
}
}
}
}Generate JSDoc, Python docstring, Go godoc, or Rust doc comments for functions in the provided code.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The code snippet containing functions to document |
| language | string | Programming language (optional, auto-detected if omitted) |
{
"name": "generate_docstring",
"description": "Generate JSDoc, Python docstring, Go godoc, or Rust doc comments for functions in the provided code.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code snippet containing functions to document"
},
"language": {
"type": "string",
"description": "Programming language (optional, auto-detected if omitted)"
}
}
}
}Analyze code complexity including cyclomatic complexity, cognitive complexity, nesting depth, and maintainability index.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The code snippet to analyze |
| language | string | Programming language (optional, auto-detected if omitted) |
{
"name": "analyze_complexity",
"description": "Analyze code complexity including cyclomatic complexity, cognitive complexity, nesting depth, and maintainability index.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code snippet to analyze"
},
"language": {
"type": "string",
"description": "Programming language (optional, auto-detected if omitted)"
}
}
}
}Get prioritized refactoring suggestions for code quality improvements.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The code snippet to review for refactoring opportunities |
| language | string | Programming language (optional, auto-detected if omitted) |
{
"name": "suggest_refactor",
"description": "Get prioritized refactoring suggestions for code quality improvements.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code snippet to review for refactoring opportunities"
},
"language": {
"type": "string",
"description": "Programming language (optional, auto-detected if omitted)"
}
}
}
}Run all five analyses in one call: language detection, natural-language explanation, docstring generation, complexity metrics, and refactoring suggestions.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The code snippet to analyze |
| language | string | Programming language (optional, auto-detected if omitted) |
{
"name": "analyze_all",
"description": "Run all five analyses in one call: language detection, natural-language explanation, docstring generation, complexity metrics, and refactoring suggestions.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The code snippet to analyze"
},
"language": {
"type": "string",
"description": "Programming language (optional, auto-detected if omitted)"
}
}
}
}Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.