# ellmos-ai/ellmos-codecommander-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/ellmos-ai/ellmos-codecommander-mcp  
**GitHub Stars:** 4  
**npm Downloads (last month):** 725  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ellmos-ai-ellmos-codecommander-mcp

## Description
Developer-focused MCP server for code analysis, JSON repair, encoding fixes, and import organization across local projects.

## Tools
Capabilities this server exposes over MCP:

- **cc_analyze_code** — Full code analysis: classes, functions, imports, LOC, complexity
- **cc_analyze_methods** — Detailed method analysis: params, decorators, visibility, data flow, BACH guardrails
- **cc_extract_classes** — Extract Python classes/functions as separate text blocks, optionally including pycutter-style inline content
- **cc_organize_imports** — Sort & deduplicate Python imports per PEP 8
- **cc_diagnose_imports** — Detect unused imports, duplicates, circular import risks
- **cc_runtime_import_diagnose** — Run isolated Python runtime imports with timeouts, __init__.py analysis, and circular-import hints
- **cc_fix_json** — Repair broken JSON (BOM, trailing commas, comments, single quotes)
- **cc_validate_json** — Validate JSON with detailed error position and context
- **cc_fix_encoding** — Fix Mojibake / double-encoded UTF-8 (27+ patterns)
- **cc_cleanup_file** — Remove BOM, NUL bytes, trailing whitespace, normalize line endings
- **cc_fix_umlauts** — Repair broken German umlauts (70+ patterns, HTML entities, escapes)
- **cc_scan_emoji** — Scan files for emojis with codepoint info
- **cc_convert_format** — Convert between JSON, CSV, INI, YAML, TOML, XML, and TOON formats
- **cc_generate_licenses** — Generate third-party license file (npm/pip)
- **cc_diff_files** — Compare two files with unified diff output (configurable context lines)
- **cc_regex_test** — Test regex patterns against text/files with match details, groups, and replace preview
- **cc_check_indentation** — Detect missing colons, unindented return/yield statements, and mixed tab/space indentation
- **cc_generate_python_code** — Generate Python functions, classes, dataclasses, CLI stubs, tests, exceptions, and modules from templates
- **cc_python_structural_edit** — Inspect and apply structural Python edits with preview, test-file, syntax-check and backup modes
- **cc_md_to_html** — Markdown to standalone HTML with CSS styling (headers, code blocks, tables, nested lists, blockquotes, images, checkboxes)
- **cc_md_to_pdf** — Markdown to PDF via headless browser (Edge/Chrome). Falls back to HTML if no browser is available

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "ellmos-codecommander-mcp": {
    "command": "npx",
    "args": ["-y","ellmos-codecommander-mcp"]
  }
}
```

## Documentation

## What ellmos-ai/ellmos-codecommander-mcp does

ellmos-ai/ellmos-codecommander-mcp is a local developer-tools MCP server with 23 tools under the `cc_` prefix. It combines source inspection, Python-aware editing, import diagnostics, data-format conversion, text cleanup, and document export in one package for local projects.

The analysis tools report classes, functions, imports, lines of code, complexity, method parameters, decorators, visibility, and data flow. Python helpers can extract definitions, check indentation, generate common code structures, and apply structural edits with safety-oriented options. Separate utilities handle JSON repair, encoding problems, German umlaut corruption, regular-expression testing, and unified file diffs.

## How it works

The server uses local stdio transport and is designed for offline, zero-egress operation. MCP clients invoke the individual `cc_` tools against files or text in a local development environment. Structural Python editing supports preview, syntax checking, test-file, and backup modes, allowing an agent or developer to inspect a proposed change before applying it.

Language handling is intentionally explicit. Python-only operations reject paths that are not Python files, avoiding Python-specific findings on unrelated source. JavaScript and TypeScript analysis is read-only and regex-based. Runtime import diagnosis runs isolated Python imports with timeouts and can provide `__init__.py` and circular-import clues.

## Setup and configuration

The package is published to npm as `ellmos-codecommander-mcp` and requires Node.js 20 or newer. Add the package as a local MCP server in a compatible client using its stdio transport. It supports Windows, macOS, and Linux.

No environment variables are required by the documented server interface. The repository includes MCP-related manifests and client configuration material, while the server itself is intended to operate on local files without network egress.

## Tools and capabilities

- `cc_analyze_code` and `cc_analyze_methods` inspect source structure and method-level details.
- `cc_extract_classes` separates Python classes and functions into text blocks.
- `cc_organize_imports`, `cc_diagnose_imports`, and `cc_runtime_import_diagnose` sort imports and identify static or runtime problems.
- `cc_python_structural_edit`, `cc_check_indentation`, and `cc_generate_python_code` support controlled Python maintenance.
- `cc_fix_json` and `cc_validate_json` repair or validate malformed JSON with error context.
- `cc_fix_encoding`, `cc_fix_umlauts`, `cc_cleanup_file`, and `cc_scan_emoji` handle text cleanup and file inspection.
- `cc_convert_format` converts among JSON, CSV, INI, YAML, TOML, XML, and TOON.
- `cc_diff_files` produces configurable unified diffs, while `cc_regex_test` reports matches, groups, and replacement previews.
- `cc_md_to_html` creates standalone styled HTML; `cc_md_to_pdf` uses a headless Edge or Chrome browser and falls back to HTML when no browser is available.
- `cc_generate_licenses` creates third-party license files for npm or pip dependencies.

## Limitations and notes

JavaScript and TypeScript analysis does not provide AST-based editing and is read-only. Python-specific tools are gated to `.py` paths. PDF output depends on a locally available Edge or Chrome installation; without one, the Markdown conversion falls back to HTML. The server is intended for local execution and does not provide a cloud service or remote project access.

_Full upstream README: https://allmcps.com/mcp/ellmos-ai-ellmos-codecommander-mcp/readme_

