BACH CodeCommander MCP Server

17 tools for code analysis, JSON repair, encoding fix, format conversion, diff, and regex.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 3 · #364 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install BACH CodeCommander

Claude Code

claude mcp add lukisch-bach-codecommander-mcp -- npx -y bach-codecommander-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "lukisch-bach-codecommander-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "bach-codecommander-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package bach-codecommander-mcp - unscoped; check the name against the project README before installing

registry namespace io.github.lukisch is GitHub-verified and matches the repo owner

03 · What BACH CodeCommander can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can sort & deduplicate Python imports per PEP 8, detect unused imports, duplicates, circular import risks, run isolated Python runtime imports with timeouts, __init__.py analysis, and circular-import hints, and scan files for emojis with codepoint info.

Capability map

Tools grouped from the project's README - what BACH CodeCommander lets an agent do.

Fix

3 tools - e.g. Repair broken JSON (BOM, trailing commas, comments, single quotes); Fix Mojibake / double-encoded UTF-8 (27+ patterns); Repair broken German umlauts (70+ patterns, HTML entities, escapes)

cc_fix_json · cc_fix_encoding · cc_fix_umlauts

Analyze

2 tools - e.g. Full code analysis: classes, functions, imports, LOC, complexity; Detailed method analysis: params, decorators, visibility, data flow, BACH guardrails

cc_analyze_code · cc_analyze_methods

Generate

2 tools - e.g. Generate third-party license file (npm/pip); Generate Python functions, classes, dataclasses, CLI stubs, tests, exceptions, and modules from templates

cc_generate_licenses · cc_generate_python_code

Extract

1 tool - e.g. Extract Python classes/functions as separate text blocks, optionally including pycutter-style inline content

cc_extract_classes

Organize

1 tool - e.g. Sort & deduplicate Python imports per PEP 8

cc_organize_imports

Diagnose

1 tool - e.g. Detect unused imports, duplicates, circular import risks

cc_diagnose_imports

Runtime

1 tool - e.g. Run isolated Python runtime imports with timeouts, __init__.py analysis, and circular-import hints

cc_runtime_import_diagnose

Validate

1 tool - e.g. Validate JSON with detailed error position and context

cc_validate_json

Latest releases

v1.3.16 · 2026-07-23

[1.3.16] - 2026-07-24 · Fixed · Correct FileCommander (46) and CodeCommander (22) tool counts in the ecosystem family table; counts now verified against the live MCP tools/list surface. · Align the McpServer runtime…

v1.3.15 · 2026-07-23

[1.3.15] - 2026-07-24 · Changed · Include llms.txt in the files array of package.json for npm package distribution. · Update llms.txt Last-checked metadata to 2026-07-06. · Changed · Unified the ellmos-ai ecosystem…

v1.3.9 · 2026-05-17

Added · Comprehensive test suite with 137 tests covering all 17 tools (vitest) · Cross-platform compatibility verified on Windows, macOS, and Linux · Development/Testing section in README.md and README_de.md

04 · Who maintains BACH CodeCommander

BACH CodeCommander is maintained by lukisch. We track 3 MCP servers from lukisch - 3 actively maintained, 9 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from lukisch.

  1. n8n Manager MCP MCP server for n8n workflow management -- view, create, sync and manage workflows via AI. ★ 2

05 · Facts

category
other - ranked #364 of 848 actively-maintained other servers as of 2026-08-25.
release cadence
2 releases in the last 90 days (latest 2026-07-23)
registry
io.github.lukisch/bach-codecommander-mcp (active, first published 2026-02-17 · 2 versions)
packages
npm:bach-codecommander-mcp

06 · BACH CodeCommander FAQ

Is BACH CodeCommander still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-24 and it shipped 2 releases in the last 90 days. We re-verify nightly.

What can BACH CodeCommander do?

With this server connected, an agent can sort & deduplicate Python imports per PEP 8, detect unused imports, duplicates, circular import risks, run isolated Python runtime imports with timeouts, __init__.py analysis, and circular-import hints, and scan files for emojis with codepoint info.

How do I install BACH CodeCommander?

Run `npx -y bach-codecommander-mcp`. You can also paste the ready-made client config above.

Does BACH CodeCommander run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to BACH CodeCommander