lukisch avatar

BACH CodeCommander

lukisch/bach-codecommander-mcp

This is a code utility belt that gives Claude 17 specialized tools for working with source files. You get AST-based Python analysis that extracts classes and methods with complexity metrics, automatic JSON repair that fixes trailing commas and BOMs, import organization per PEP 8, and encoding fixes for Mojibake across 27 patterns. It also handles format conversion between JSON, CSV, YAML, TOML, XML, and INI, runs unified diffs between files, tests regex patterns with match previews, and exports Markdown to HTML or PDF. Seven tools overlap with the author's FileCommander server for convenience, so you can use either depending on whether you need filesystem operations or code intelligence. All destructive operations support dry run mode and automatic backups.

GitHub stars
2
tools
23
transport
STDIO
last updated
Feb 17, 2026

Tools

23 tools

Public tool metadata for what this MCP can expose to an agent.

cc_analyze_codeRead-only Python or regex-based JavaScript/TypeScript analysis: classes, functions, imports, LOC, complexity

Read-only Python or regex-based JavaScript/TypeScript analysis: classes, functions, imports, LOC, complexity

No parameter schema in public metadata yet.

cc_analyze_methodsRead-only Python or regex-based JavaScript/TypeScript method analysis; Python retains its BACH guardrails

Read-only Python or regex-based JavaScript/TypeScript method analysis; Python retains its BACH guardrails

No parameter schema in public metadata yet.

cc_extract_classesExtract Python classes/functions as separate text blocks, optionally including pycutter-style inline content

Extract Python classes/functions as separate text blocks, optionally including pycutter-style inline content

No parameter schema in public metadata yet.

cc_organize_importsSort & deduplicate Python imports per PEP 8

Sort & deduplicate Python imports per PEP 8

No parameter schema in public metadata yet.

cc_diagnose_importsRead-only Python or regex-based JavaScript/TypeScript import diagnostics

Read-only Python or regex-based JavaScript/TypeScript import diagnostics

No parameter schema in public metadata yet.

cc_runtime_import_diagnoseRun isolated Python runtime imports with timeouts, `__init__.py` analysis, and circular-import hints

Run isolated Python runtime imports with timeouts, `__init__.py` analysis, and circular-import hints

No parameter schema in public metadata yet.

cc_fix_jsonRepair broken JSON (BOM, trailing commas, comments, single quotes)

Repair broken JSON (BOM, trailing commas, comments, single quotes)

No parameter schema in public metadata yet.

cc_validate_jsonValidate JSON with detailed error position and context

Validate JSON with detailed error position and context

No parameter schema in public metadata yet.

cc_fix_encodingFix Mojibake / double-encoded UTF-8 (27+ patterns)

Fix Mojibake / double-encoded UTF-8 (27+ patterns)

No parameter schema in public metadata yet.

cc_cleanup_fileRemove BOM, NUL bytes, trailing whitespace, normalize line endings

Remove BOM, NUL bytes, trailing whitespace, normalize line endings

No parameter schema in public metadata yet.

cc_fix_umlautsRepair broken German umlauts (70+ patterns, HTML entities, escapes)

Repair broken German umlauts (70+ patterns, HTML entities, escapes)

No parameter schema in public metadata yet.

cc_scan_emojiScan files for emojis with codepoint info

Scan files for emojis with codepoint info

No parameter schema in public metadata yet.

cc_convert_formatConvert between JSON, CSV, INI, YAML, TOML, XML, and TOON formats

Convert between JSON, CSV, INI, YAML, TOML, XML, and TOON formats

No parameter schema in public metadata yet.

cc_generate_licensesGenerate third-party license file (npm/pip)

Generate third-party license file (npm/pip)

No parameter schema in public metadata yet.

cc_diff_filesCompare two files with unified diff output (configurable context lines)

Compare two files with unified diff output (configurable context lines)

No parameter schema in public metadata yet.

cc_regex_testTest regex patterns against text/files with match details, groups, and replace preview

Test regex patterns against text/files with match details, groups, and replace preview

No parameter schema in public metadata yet.

cc_check_indentationDetect missing colons, unindented return/yield statements, and mixed tab/space indentation

Detect missing colons, unindented return/yield statements, and mixed tab/space indentation

No parameter schema in public metadata yet.

cc_generate_python_codeGenerate Python functions, classes, dataclasses, CLI stubs, tests, exceptions, and modules from templates

Generate Python functions, classes, dataclasses, CLI stubs, tests, exceptions, and modules from templates

No parameter schema in public metadata yet.

cc_python_structural_editInspect and apply structural Python edits with preview, test-file, syntax-check and backup modes

Inspect and apply structural Python edits with preview, test-file, syntax-check and backup modes

No parameter schema in public metadata yet.

cc_md_to_htmlMarkdown to standalone HTML with CSS styling (headers, code blocks, tables, nested lists, blockquotes, images, checkboxes)

Markdown to standalone HTML with CSS styling (headers, code blocks, tables, nested lists, blockquotes, images, checkboxes)

No parameter schema in public metadata yet.

cc_md_to_pdfMarkdown to PDF via headless browser (Edge/Chrome). Falls back to HTML if no browser is available

Markdown to PDF via headless browser (Edge/Chrome). Falls back to HTML if no browser is available

No parameter schema in public metadata yet.

cc_set_languageSet the language used for runtime tool output and diagnostic messages (`de`, `en`, `es`, `zh`, `ja`, `ru`, `fr`, `hi`, `ar`, `bn`, `pt`).

Set the language used for runtime tool output and diagnostic messages (`de`, `en`, `es`, `zh`, `ja`, `ru`, `fr`, `hi`, `ar`, `bn`, `pt`).

No parameter schema in public metadata yet.

cc_get_languageQuery currently active language and supported locale codes

Query currently active language and supported locale codes

No parameter schema in public metadata yet.

Sponsors

Readme

ellmos CodeCommander MCP emblem

ellmos CodeCommander MCP Server

English | Deutsch | Español | 简体中文 | 日本語 | Русский | Français | हिन्दी | العربية | বাংলা | Português

The README navigation lists the available documentation languages. Section 11 separately describes the runtime languages used for tool output messages and diagnostics. This does not claim that MCP discovery or schema descriptions, the GUI, CLI, or API are translated.

Part of the ellmos-ai family.


View the full README on GitHub

Details

Repository
github.com/lukisch/bach-codecommander-mcp
Website
github.com/lukisch/bach-codecommander-mcp
Category
Data & Analytics
Package
bach-codecommander-mcp
Transport
STDIO
Registry
MCP registry, active

More from lukisch

Related Data & Analytics MCP servers

View all
1malkreide avatarSbb Opendata Mcpmalkreide/sbb-opendata-mcpSBB Open Data via OpenDataSoft2stars
2matiasbattocchia avatarGoogle Mcpmatiasbattocchia/google-mcpStreamable HTTP MCP server for Google Calendar and Sheets with OAuth login.2stars
3tushariitr-19 avatarPatents Mcptushariitr-19/patents-mcpPatent search and prior art discovery via Google Patents on BigQuery2stars
4acabala avatarApidog Tests Mcpacabala/apidog-tests-mcpMCP server for managing Apidog test cases, scenarios, suites, and test data1stars
5trendsmcp-ai avatarReddit Trends MCPtrendsmcp-ai/reddit-trends-mcpReddit trend data over time, with growth for any topic or brand. Free key at trendsmcp.ai1stars
6anarkitty1 avatarSemantic Frameanarkitty1/semantic-frameToken-efficient semantic compression for numerical data. 95%+ token reduction.1stars