BACH CodeCommander
NPM · BACH-CODECOMMANDER-MCP · SCANNED SEP 25
17 tools for code analysis, JSON repair, encoding fix, format conversion, diff, and regex.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security98
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 31 of 107 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency22
- Repository check failed: the declared repository URL redirects; it must resolve directly. See how to fix → View diagnostics → Fail
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 204 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability68
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 1706 tokens (~94/item across 18 items; 18 tools + 0 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management87
- Stability observed for 26 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 18 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 18 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
How do I install the BACH CodeCommander MCP server?
BACH CodeCommander runs locally as an npm package, launched with npx -y bach-codecommander-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · bach-codecommander-mcp
claude mcp add lukisch-bach-codecommander-mcp -- npx -y bach-codecommander-mcp
{
"mcpServers": {
"lukisch-bach-codecommander-mcp": {
"command": "npx",
"args": [
"-y",
"bach-codecommander-mcp"
]
}
}
} {
"servers": {
"lukisch-bach-codecommander-mcp": {
"command": "npx",
"args": [
"-y",
"bach-codecommander-mcp"
]
}
}
} codex mcp add lukisch-bach-codecommander-mcp -- npx -y bach-codecommander-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"lukisch-bach-codecommander-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"bach-codecommander-mcp"
],
"enabled": true
}
}
} openclaw mcp add lukisch-bach-codecommander-mcp --command npx --arg -y --arg bach-codecommander-mcp
mcp_servers:
lukisch-bach-codecommander-mcp:
command: "npx"
args: ["-y", "bach-codecommander-mcp"] {
"McpServers": {
"lukisch-bach-codecommander-mcp": {
"Transport": "stdio",
"Command": "npx",
"Arguments": [
"-y",
"bach-codecommander-mcp"
]
}
}
} assistant mcp add lukisch-bach-codecommander-mcp -t stdio -c npx -a -y bach-codecommander-mcp
{
"mcpServers": {
"lukisch-bach-codecommander-mcp": {
"command": "npx",
"args": [
"-y",
"bach-codecommander-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 25 Sept 26 0
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 24 Sept 26 −2
- Stability: pass → 0.83 functional
- 23 Sept 26 0
- Stability: 0.97 → pass security
- 22 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.
- 20 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.
- 18 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.
- 17 Sept 26 −3
- Stability: pass → 0.80 functional
- 16 Sept 26 0
- Stability: 0.97 → pass security
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 25 Sept 2026 · Analysed npm/bach-codecommander-mcp@1.3.0
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | npm |
Background: How many MCP packages publish verified provenance →
Dependencies 107 packages
| Packages resolved | 107 |
|---|---|
| Stale | 31 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
cc_analyze_code Analyze Code ~68
Analyzes a Python file: classes, functions, imports, metrics. Args: - path (string): Path to the Python file Returns: - Classes with methods, functions, import analysis, LOC, complexity
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | yes | Path to the Python file |
No output schema declared.
No examples provided.
cc_analyze_methods Analyze Methods ~86
Detailed method analysis of a Python file. Args: - path (string): Path to the Python file - class_name (string, optional): Only methods of this class Returns: - Methods with parameters, decorators, complexity, data flow
| Name | Type | Req | Description |
|---|---|---|---|
| class_name | string | – | Only analyze this class |
| path | string | yes | Path to the Python file |
No output schema declared.
No examples provided.
cc_cleanup_file Cleanup File ~178
Cleans up source code files: BOM, NUL bytes, trailing whitespace, line endings. Args: - path (string): Path to the file - remove_bom (boolean): Remove BOM - remove_trailing_whitespace (boolean): Trailing whitespace - normalize_line_endings (string): "lf" | "crlf" - remove_nul_bytes (boolean): Remove NUL bytes - dry_run (boolean): Preview only
| Name | Type | Req | Description |
|---|---|---|---|
| dry_run | boolean | – | Preview only |
| normalize_line_endings | string | – | Line endings |
| path | string | yes | Path to the file |
| remove_bom | boolean | – | Remove BOM |
| remove_nul_bytes | boolean | – | NUL bytes |
| remove_trailing_whitespace | boolean | – | Trailing whitespace |
No output schema declared.
No examples provided.
cc_convert_format Convert Format ~182
Converts between JSON, CSV, INI, YAML, TOML, XML, and TOON formats. Args: - input_path (string): Source file - output_path (string): Target file - input_format (string): "json" | "csv" | "ini" | "yaml" | "toml" | "xml" | "toon" - output_format (string): "json" | "csv" | "ini" | "yaml" | "toml" | "xml" | "toon" - json_indent (number): JSON indentation
| Name | Type | Req | Description |
|---|---|---|---|
| input_format | string | yes | Input format |
| input_path | string | yes | Source file |
| json_indent | integer | – | JSON indentation |
| output_format | string | yes | Output format |
| output_path | string | yes | Target file |
No output schema declared.
No examples provided.
cc_diagnose_imports Diagnose Imports ~65
Diagnoses import issues: missing modules, circular imports, unused imports. Args: - path (string): Path to the Python file Detects: Missing modules, suspected circular imports, import issues
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | yes | Path to the Python file |
No output schema declared.
No examples provided.
cc_diff_files Diff Files ~64
Vergleicht zwei Dateien und zeigt Unterschiede im Unified-Diff-Format
| Name | Type | Req | Description |
|---|---|---|---|
| context_lines | integer | – | Number of context lines (default: 3) |
| file_a | string | yes | Path to first file |
| file_b | string | yes | Path to second file |
No output schema declared.
No examples provided.
cc_extract_classes Extract Classes ~82
Extracts Python classes and functions from a file as separate text blocks. Args: - path (string): Path to the Python file - output_dir (string, optional): Output directory (otherwise display only) Useful for code review and documentation.
| Name | Type | Req | Description |
|---|---|---|---|
| output_dir | string | – | Output directory |
| path | string | yes | Path to the Python file |
No output schema declared.
No examples provided.
cc_fix_encoding Fix Encoding ~103
Repairs encoding errors (Mojibake, double UTF-8). Args: - path (string): Path to the file - dry_run (boolean): Preview only - create_backup (boolean): Create backup Repairs 27+ Mojibake patterns (German, French, Spanish).
| Name | Type | Req | Description |
|---|---|---|---|
| create_backup | boolean | – | Create backup |
| dry_run | boolean | – | Preview only |
| path | string | yes | Path to the file |
No output schema declared.
No examples provided.
cc_fix_json Fix JSON ~99
Automatically repairs common JSON errors. Args: - path (string): Path to the JSON file - dry_run (boolean): Only show issues - create_backup (boolean): Create backup Repairs: BOM, trailing commas, single quotes, comments, NUL bytes
| Name | Type | Req | Description |
|---|---|---|---|
| create_backup | boolean | – | Create backup |
| dry_run | boolean | – | Preview only |
| path | string | yes | Path to the JSON file |
No output schema declared.
No examples provided.
cc_fix_umlauts Fix Umlauts ~100
Repairs broken German umlauts in source code files. Args: - path (string): Path to the file - dry_run (boolean): Preview only - create_backup (boolean): Create backup Detects 70+ patterns of broken umlauts and replaces them correctly.
| Name | Type | Req | Description |
|---|---|---|---|
| create_backup | boolean | – | Create backup |
| dry_run | boolean | – | Preview only |
| path | string | yes | Path to the file |
No output schema declared.
No examples provided.
cc_generate_licenses Generate Licenses ~104
Generates a third-party license file for an npm or Python project. Args: - project_dir (string): Project directory - output_path (string): Output file - format (string): "text" | "json" | "csv" Reads package.json (npm) or pip packages and collects license info.
| Name | Type | Req | Description |
|---|---|---|---|
| format | string | – | Format |
| output_path | string | yes | Output file |
| project_dir | string | yes | Project directory |
No output schema declared.
No examples provided.
cc_md_to_html Markdown to HTML ~102
Converts Markdown to formatted HTML (printable as PDF). Args: - input_path (string): Path to the Markdown file - output_path (string): Path to the HTML output - title (string, optional): Document title Produces standalone HTML with CSS styling, printable as PDF via browser.
| Name | Type | Req | Description |
|---|---|---|---|
| input_path | string | yes | Markdown file |
| output_path | string | yes | HTML output |
| title | string | – | Document title |
No output schema declared.
No examples provided.
cc_md_to_pdf Markdown to PDF ~118
Converts Markdown to PDF using a headless browser (Edge/Chrome). Args: - input_path (string): Path to the Markdown file - output_path (string): Path to the PDF output - title (string, optional): Document title Uses the same Markdown parser as cc_md_to_html. Requires Edge or Chrome. Falls back to HTML if no browser is found.
| Name | Type | Req | Description |
|---|---|---|---|
| input_path | string | yes | Markdown file |
| output_path | string | yes | PDF output |
| title | string | – | Document title |
No output schema declared.
No examples provided.
cc_organize_imports Organize Imports ~99
Organizes Python imports per PEP 8: sorted, deduplicated, grouped. Args: - path (string): Path to the Python file - dry_run (boolean): Preview only Groups: 1) __future__ 2) stdlib 3) third-party 4) local
| Name | Type | Req | Description |
|---|---|---|---|
| dry_run | boolean | – | Preview only |
| path | string | yes | Path to the Python file |
No output schema declared.
No examples provided.
cc_regex_test Regex Tester ~96
Testet regulaere Ausdruecke gegen Text oder Dateiinhalt
| Name | Type | Req | Description |
|---|---|---|---|
| file_path | string | – | File to test against (alternative to text) |
| flags | string | – | Regex flags (g, i, m, s, u) |
| pattern | string | yes | Regular expression pattern |
| replace_with | string | – | Optional replacement string |
| text | string | – | Text to test against (or use file_path) |
No output schema declared.
No examples provided.
cc_scan_emoji Scan Emoji ~88
Scans files for emojis and shows ASCII alternatives. Args: - path (string): Path to the file or directory - recursive (boolean): Scan recursively - extensions (string): Only certain extensions Useful for systems that don't support Unicode/Emoji.
| Name | Type | Req | Description |
|---|---|---|---|
| extensions | string | – | Extensions |
| path | string | yes | Path |
| recursive | boolean | – | Recursive |
No output schema declared.
No examples provided.
cc_set_language ~27
Set the output language for CodeCommander tools
| Name | Type | Req | Description |
|---|---|---|---|
| language | string | yes | Language code |
No output schema declared.
No examples provided.
cc_validate_json Validate JSON ~45
Validates JSON with detailed error information and position. Args: - path (string): Path to the JSON file
| Name | Type | Req | Description |
|---|---|---|---|
| path | string | yes | Path to the JSON file |
No output schema declared.
No examples provided.
What is the BACH CodeCommander MCP server?
BACH CodeCommander is an MCP server listed in the public MCP registry as io.github.lukisch/bach-codecommander-mcp. 17 tools for code analysis, JSON repair, encoding fix, format conversion, diff, and regex. This page covers its npm package (bach-codecommander-mcp).
Is the BACH CodeCommander MCP server safe to use?
BACH CodeCommander scores 76 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 25 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the BACH CodeCommander MCP server expose?
BACH CodeCommander exposes 18 tools: cc_analyze_code, cc_analyze_methods, cc_extract_classes, cc_organize_imports, cc_diagnose_imports, and 13 more. Their descriptions and schemas cost roughly 1,706 tokens of context every time the server is loaded.
Is the BACH CodeCommander MCP server still maintained?
BACH CodeCommander is still listed as active in the MCP registry. We last reached this channel on 25 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the BACH CodeCommander MCP server under?
BACH CodeCommander declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.