OHM

Provides AI-powered Python refactoring and code quality automation via MCP-compatible clients.
  • python

0

GitHub Stars

python

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs

Available tools

analyze_codebase

Full codebase analysis with issues and refactoring plan.

propose_function_refactor

Plan function-level refactors with detailed steps.

explain_refactoring

Explain refactoring patterns and their rationale.

create_refactor_patch

Generate unified diff patches for applied refactors.

analyze_architecture

Detect God Objects, SOLID violations, and coupling issues.

suggest_design_patterns

Recommend design patterns with examples.

analyze_tight_coupling

Identify tight coupling and offer DI improvements.

suggest_di_refactor

Generate dependency injection code snippets.

extract_method_ast

Extract code blocks into functions using AST-based analysis.

suggest_extractable_methods

Find extractable code blocks with cohesion scoring.

detect_dead_code

Find unused imports, variables, functions, and other dead code.

refactor_imports

Update imports across the project safely.

refactor_single_file_imports

Refactor imports within a single file.

analyze_wildcard_imports

Identify and replace wildcard imports.

rename_symbol

Rename symbols across the codebase with conflict checks.

detect_code_duplicates

Find exact and near-duplicate code blocks.

extract_function_code

Extract a single function's code for reuse.

apply_function_refactor

Apply function-level refactor changes.

analyze_type_hints

Check type coverage and migration needs.

generate_type_stub

Create .pyi stubs for gradual typing.

generate_characterization_tests

Auto-generate tests to safeguard refactors.

generate_test_for_function

Create targeted tests for a specific function.

suggest_tests

Suggest test strategies and coverage improvements.

analyze_performance

Find bottlenecks like nested loops and caching gaps.

prioritize_by_coverage

Prioritize fixes based on risk and coverage.

apply_refactoring

Auto-apply refactorings with safety checks.

rollback_refactoring

Rollback the most recent refactoring if needed.

show_refactoring_history

View an audit trail of changes.

cleanup_old_backups

Remove outdated backup files.

generate_quality_report

Produce a dashboard of health metrics.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational