ellmos-codecommander-mcp
Developer-focused MCP server with 23 tools for Python code analysis, structural editing, JSON repair, imports, encoding, Markdown/PDF export, diffs, and regex testing
Install / Use
claude mcp add ellmos-ai -- npx -y github:ellmos-ai/ellmos-codecommander-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of ellmos-codecommander-mcp
ellmos-codecommander-mcp scores 83/100 on our quality scale, 284th of 538 AI & Machine Learning skills we index.
Its MCP Server is 15 KB long, well organised into 35 sections with 9 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 3 days ago, so ellmos-codecommander-mcp is actively maintained.
- Our last check on 2026-09-23 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the first 100 KB of the file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-23. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
ellmos-codecommander-mcp compared with similar skills
All 4 of these similar skills score higher than ellmos-codecommander-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| ellmos-codecommander-mcp (this skill)by ellmos-ai | 83 | 3 | 3d ago | MCP Server |
| cavemanby JuliusBrussee | 100 | 107.6k | 1d ago | CLAUDE.md |
| claude-memby thedotmack | 100 | 94.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 85.2k | 8d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 84.0k | 12d ago | CLAUDE.md |
Frequently asked questions
- How do I install ellmos-codecommander-mcp?
- Run
claude mcp add ellmos-ai -- npx -y github:ellmos-ai/ellmos-codecommander-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does ellmos-codecommander-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is ellmos-codecommander-mcp safe to use?
- Our scan of the first 100 KB of the file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is ellmos-codecommander-mcp still maintained?
- The repository was last updated 3 days ago, so ellmos-codecommander-mcp is actively maintained.
Skill content
View source on GitHubellmos CodeCommander MCP Server
Part of the ellmos-ai family.
[!NOTE] For AI Assistants & LLMs: Machine-readable indexing documentation for this repository is available at
llms.txt. The server exposes 22 specialized tools under thecc_prefix.
A developer-focused Model Context Protocol (MCP) server that gives AI assistants code analysis, structural Python editing, JSON repair, encoding fix, import organization, format conversion, file diff, and regex testing capabilities.
21 tools (+1 i18n tool) optimized for developers - the coding companion to FileCommander.
Discoverability: Published on npm as ellmos-codecommander-mcp, visible on Glama, and prepared for the official MCP Registry with server.json under io.github.ellmos-ai/ellmos-codecommander-mcp.
Architecture Overview
graph TD
Client["MCP Clients<br/>(Claude Desktop / Claude Code / Cursor / Windsurf)"]
Server["ellmos CodeCommander MCP Server<br/>(stdio transport • Node.js)"]
subgraph Tools["Developer Tool Suites (22 Tools)"]
subgraph CodeIntel["Code & Python Intelligence"]
C1["cc_analyze_code"]
C2["cc_analyze_methods"]
C3["cc_extract_classes"]
C4["cc_check_indentation"]
C5["cc_generate_python_code"]
C6["cc_python_structural_edit"]
end
subgraph Imports["Import Management"]
I1["cc_organize_imports"]
I2["cc_diagnose_imports"]
I3["cc_runtime_import_diagnose"]
end
subgraph Repair["Text, JSON & Encoding Repair"]
R1["cc_fix_json"]
R2["cc_validate_json"]
R3["cc_fix_encoding"]
R4["cc_cleanup_file"]
R5["cc_fix_umlauts"]
end
subgraph Utility["Utilities & Conversion"]
U1["cc_convert_format (JSON/CSV/YAML/TOML/XML/TOON)"]
U2["cc_diff_files (Unified Diff)"]
U3["cc_regex_test (Regex Tester)"]
U4["cc_scan_emoji"]
U5["cc_generate_licenses"]
end
subgraph Export["Export & i18n"]
E1["cc_md_to_html"]
E2["cc_md_to_pdf"]
E3["cc_set_language"]
end
end
Client -->|Stdio JSON-RPC| Server
Server --> CodeIntel
Server --> Imports
Server --> Repair
Server --> Utility
Server --> Export
Why CodeCommander?
While FileCommander handles filesystem operations, CodeCommander focuses on code intelligence:
- Python Code Analysis - AST-based class/method extraction, complexity metrics, import analysis
- BACH-derived Python Helpers - runtime import diagnostics, structural edits, indentation checks, and template-based code generation
- JSON Repair - Fix broken JSON automatically (trailing commas, single quotes, BOM, comments)
- Import Organization - Sort and deduplicate Python imports per PEP 8
- Encoding Fix - Repair Mojibake and double-encoded UTF-8 (27+ patterns)
- Umlaut Repair - Fix broken German characters (70+ patterns)
- Format Conversion - Convert between JSON, CSV, INI, YAML, TOML, XML, and TOON
- File Diff - Compare two files with unified diff output (LCS algorithm)
- Regex Tester - Test regular expressions with match details, groups, and replace preview
- Markdown Export - Convert Markdown to professional HTML/PDF with code blocks, tables, nested lists, blockquotes
- Cross-platform - Works on Windows, macOS, and Linux
Installation
Prerequisites
- Node.js 20 or higher
Option 1: Install from NPM
npm install -g ellmos-codecommander-mcp
Option 2: Install from Source
git clone https://github.com/ellmos-ai/ellmos-codecommander-mcp.git
cd ellmos-codecommander-mcp
npm install
npm run build
Configuration
Claude Desktop
Add to your claude_desktop_config.json:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
If installed globally via NPM:
{
"mcpServers": {
"codecommander": {
"command": "ellmos-codecommander"
}
}
}
If installed from source:
{
"mcpServers": {
"codecommander": {
"command": "node",
"args": ["/absolute/path/to/ellmos-codecommander-mcp/dist/index.js"]
}
}
}
Using Both Servers Together
FileCommander and CodeCommander are designed to work side by side:
{
"mcpServers": {
"filecommander": {
"command": "ellmos-filecommander"
},
"codecommander": {
"command": "ellmos-codecommander"
}
}
}
Tools Overview
Code Analysis (3 tools)
| Tool | Description |
|------|-------------|
| 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 |
Import Management (3 tools)
| Tool | Description |
|------|-------------|
| 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 |
JSON Tools (2 tools)
| Tool | Description |
|------|-------------|
| cc_fix_json | Repair broken JSON (BOM, trailing commas, comments, single quotes) |
| cc_validate_json | Validate JSON with detailed error position and context |
Encoding & Text (3 tools)
| Tool | Description |
|------|-------------|
| 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) |
Scanning (1 tool)
| Tool | Description |
|------|-------------|
| cc_scan_emoji | Scan files for emojis with codepoint info |
Format & Documentation (2 tools)
| Tool | Description |
|------|-------------|
| cc_convert_format | Convert between JSON, CSV, INI, YAML, TOML, XML, and TOON formats |
| cc_generate_licenses | Generate third-party license file (npm/pip) |
Developer Utilities (2 tools)
| Tool | Description |
|------|-------------|
| 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 |
Python Assistance (3 tools)
| Tool | Description |
|------|-------------|
| 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 |
Export (2 tools)
| Tool | Description |
|------|-------------|
| 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 |
Total: 21 developer tools (cc_set_language is also available for runtime language switching)
Shared Tools
7 tools exist in both FileCommander and CodeCommander for convenience:
| FileCommander | CodeCommander | Function |
|---------------|---------------|----------|
| fc_fix_json | cc_fix_json | JSON repair |
| fc_validate_json | cc_validate_json | JSON validation |
| fc_fix_encoding | cc_fix_encoding | Encoding repair |
| fc_cleanup_file | cc_cleanup_file | File cleanup |
| fc_convert_format | cc_convert_format | Format conversion (JSON/CSV/INI/YAML/TOML/XML/TOON) |
| fc_md_to_html | cc_md_to_html | Markdown to HTML export |
| fc_md_to_pdf | cc_md_to_pdf | Markdown to PDF export |
Tool Prefix
All tools use the cc_ prefix (CodeCommander) to avoid conflicts with FileCommander's fc_ prefix and other MCP servers.
Security
See SECURITY.md for detailed security information.
Key points:
- File-modifying tools support preview/dry-run modes where applicable
- Backup creation is enabled by default for destructive operations
- No built-in sandboxing - security is delegated to the MCP client
- Designed for local development use via stdio transport
Development
npm install
npm run dev # Watch mode
npm run build # One-time build
npm start # Start server
npm test # Run test suite (vitest)
Testing
The project includes a comprehensive test suite covering all 21 developer tools and i18n behavior.
npm test # Run all tests
npx vitest run # Same as above
npx vitest --watch # Watch mode
Tests are verified on Windows, macOS, and Linux.
GitHub Actions runs the build, Vitest suite, and npm package check on Node.js 20, 22, and 24.
Changelog
See CHANGELOG.md for the full version history.
License
MIT - Lukas Geiger (ellmos-ai)
History
This project was originally developed as BACH CodeCommander (bach-codecommander-mcp). It has been renamed to ellmos CodeCommander (ellmos-codecommander-mcp) as part of the ellmos-ai organization.
The legacy package name bach-codecommander-mcp is deprecated. Please use ellmos-codecommander-mcp instead:
npm uninstall -g bach-codecommander-mcp
npm install -g ellmos-codecommander-mcp
ellmos-ai Ecosystem
This MCP server is part of the ellmos-ai ecosystem — AI infrastructure, MCP servers, and intelligent tools.
MCP Server Family
| Server | Tools | Focus | npm |
|--------|-------|-------|-----|
| FileCommander | 46 | Filesystem, process management, interactive sessions, cloud-lock-safe operations | ellmos-filecommander-mcp |
| **[CodeCommander](https://github.com/ellmos
Truncated for display — read the full file on GitHub.
Related Skills
caveman
107.6k🪨 why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
claude-mem
94.6kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
85.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
84.0kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
