Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI โ†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
  • Remote MCP โ†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) โ†— (opens in a new tab)
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ป Developer Tools
  3. Ohm Mcp
O
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:08:15 AM

Ohm Mcp

Enrichment pendingWe havenโ€™t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time โ€” check back soon.
View Repository

AST-based Python refactoring MCP server with safe automated refactorings and rollback

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON โ–พ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ohm-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing Alternatives๐Ÿ’ป More in Developer Tools

Documentation Overview

OHM-MCP

OHM-MCP

AI-Powered Python Refactoring & Code Quality Assistant

Works with GitHub Copilot, Cursor IDE, Cline, and any MCP-compatible AI assistant.

MCP Registry Python 3.8+ MCP AST-Based License


โœจ Core Capabilities

๐Ÿ—๏ธ Architecture

  • God Object Detection
  • SOLID Violation Analysis
  • Design Pattern Suggestions
  • Dependency Injection Refactoring

๐Ÿ”ง Code Quality

  • AST Extract Method (100% accurate)
  • Dead Code Elimination
  • Import Refactoring
  • Symbol Renaming (project-wide)
  • Duplication Detection

๐Ÿ“Š Type Safety

  • Type Coverage Analysis
  • Type Stub Generation
  • Auto Test Generation

โšก Performance

  • O(nยฒ) Pattern Detection
  • Hotspot Analysis
  • Coverage-Driven Prioritization

๐Ÿค– Automation

  • Auto-Apply with Rollback
  • Operation History
  • Quality Dashboard

๐Ÿš€ Quick Start

Installation

๐Ÿ“ฆ Recommended: NPM Method (Auto-installs dependencies)

No installation required! Use NPX to run the latest version automatically:

Terminal
npx -y ohm-mcp@latest

This is the easiest way to get started. Just add the configuration to your AI assistant (see IDE Configuration below).

MCP Registry: mcp-name: io.github.Murugarajr/ohm-mcp

๐Ÿ Alternative: PyPI Method (For local development)

Use this method when you need to:

  • Develop locally with the Python package
  • Use a specific Python virtual environment
  • Install from source for customization

Install from PyPI:

Terminal
pip install ohm-mcp

Install from source (for development):

Terminal
pip install -e .

IDE Configuration

๐Ÿ“ฆ Option 1: NPX (Recommended - Auto-installs dependencies)

๐Ÿ”ต GitHub Copilot (VS Code) with NPX

After publishing to npm:

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": ["ohm-mcp@latest"]
    }
  }
}

For local development:

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": ["--package", "/path/to/ohm-mcp-npm", "ohm-mcp"]
    }
  }
}

Usage:

  • Open Copilot Chat
  • Type # and select ohm-mcp tools
  • Ask: "Analyze this file and suggest refactorings"
๐ŸŸฃ Cursor IDE with NPX

Global (After publishing to npm):

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": ["-y", "ohm-mcp@latest"]
    }
  }
}

For local development:

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": ["--package", "/path/to/ohm-mcp-npm", "ohm-mcp"]
    }
  }
}

Usage:

  • Open Cursor Chat (Cmd+L / Ctrl+L)
  • Tools are automatically available
  • Ask: "Use ohm-mcp to detect dead code"
๐ŸŸข Cline (VS Code Extension) with NPX

Global (After publishing to npm):

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": ["-y", "ohm-mcp@latest"]
    }
  }
}

For local development:

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": ["--package", "/path/to/ohm-mcp-npm", "ohm-mcp"]
    }
  }
}

Usage:

  • Open Cline panel
  • Tools are available in agent context
  • Ask: "Analyze type coverage and suggest improvements"
๐ŸŸ  Antigravity with NPX

Global (After publishing to npm):

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": ["-y", "ohm-mcp@latest"],
      "env": {
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}

Usage:

  • Tools are automatically available in Antigravity
  • Ask: "Use ohm-mcp to analyze architecture"
๐Ÿ”ด Roo Code with NPX

Global (After publishing to npm):

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": ["-y", "ohm-mcp@latest"]
    }
  }
}

Usage:

  • Open Roo Code panel
  • Tools are available in agent context
  • Ask: "Use ohm-mcp to detect duplicates"
โšซ Codex VS Code with NPX

Configuration (config.toml):

toml
[mcp_servers.ohm-mcp]
args = ["-y", "ohm-mcp@latest"]
command = "npx"

Usage:

  • Open Codex panel
  • Tools are automatically available
  • Ask: "Use ohm-mcp to suggest design patterns"
๐ŸŸก Kilo Code with NPX (Local/Global)

Local (For local development with virtual environment):

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "/Users/username/project/venv/bin/python",
      "args": ["-m", "ohm_mcp.server"],
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

Global (After publishing to npm):

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "npx",
      "args": ["-y", "ohm-mcp@latest"]
    }
  }
}

Usage:

  • Open Kilo Code panel
  • Tools are available in agent context
  • Ask: "Use ohm-mcp for refactoring"

๐Ÿ Option 2: Direct Python (Manual setup)

๐Ÿ”ต GitHub Copilot (VS Code) with Python

First install: pip install ohm-mcp

Then add to .vscode/mcp.json:

config.json
{
  "servers": {
    "ohm-mcp": {
      "command": "python",
      "args": ["-m", "ohm_mcp.server"]
    }
  },
  "inputs": []
}

Usage:

  • Open Copilot Chat
  • Type # and select ohm-mcp tools
  • Ask: "Analyze this file and suggest refactorings"
๐ŸŸฃ Cursor IDE with Python

First install: pip install ohm-mcp

Then add to Cursor's MCP settings file (.cursorrules or MCP config):

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "python",
      "args": ["-m", "ohm_mcp.server"]
    }
  },
  "inputs": []
}

Example with virtual environment:

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "/Users/username/projects/venv/bin/python",
      "args": ["-m", "ohm_mcp.server"]
    }
  }
}

Usage:

  • Open Cursor Chat (Cmd+L / Ctrl+L)
  • Tools are automatically available
  • Ask: "Use ohm-mcp to detect dead code"
๐ŸŸข Cline (VS Code Extension) with Python

First install: pip install ohm-mcp

Then add to Cline's MCP settings:

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "python",
      "args": ["-m", "ohm_mcp.server"]
    }
  }
}

Example with virtual environment:

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "/Users/username/projects/venv/bin/python",
      "args": ["-m", "ohm_mcp.server"]
    }
  }
}

Note: Cline requires absolute paths for both command and cwd.

Usage:

  • Open Cline panel
  • Tools are available in agent context
  • Ask: "Analyze type coverage and suggest improvements"
๐Ÿ”ง Other MCP-Compatible Clients

Any MCP-compatible client can use this server. General configuration:

config.json
{
  "mcpServers": {
    "ohm-mcp": {
      "command": "<python-interpreter-path>",
      "args": ["<path-to-mcp_server.py>"],
      "cwd": "<project-directory>"
    }
  }
}

Finding your Python path:

bash
# Unix/Mac
which python
# or
which python3

# Windows
where python

๐Ÿ’ก Quick Usage Examples

Once configured, simply reference tools in your AI assistant chat using the format: use #ohm-mcp.tool_name on the current file or @file_name.py

๐Ÿ—‘๏ธ Find Dead Code

Code
Use #ohm-mcp.detect_dead_code on @utils.py

This will detect:

  • โœ… Unused imports (import statements never referenced)
  • โœ… Unused variables (assigned but never read)
  • โœ… Unreachable code (after return/raise/break/continue)
  • โœ… Unused functions (defined but never called)
  • โœ… Shadowed variables (inner scope hides outer scope variable)

๐Ÿ“‹ Code Duplication Detection

Code
Use #ohm-mcp.detect_code_duplicates to find duplicates in /path/to/project

Finds:

  • โœ… Exact duplicates (100% identical code blocks)
  • โœ… Near duplicates (90%+ similarity)
  • โœ… Duplicate functions (same structure, different names)
  • โœ… Provides refactoring suggestions to eliminate duplication

๐Ÿ—๏ธ Architecture Analysis

Code
Analyze architecture of @my_module.py using #ohm-mcp.analyze_architecture

Detects:

  • โœ… God Objects (classes doing too much)
  • โœ… SOLID principle violations
  • โœ… Circular dependencies
  • โœ… High coupling issues

โœ‚๏ธ Extract Method Refactoring

Code
Use #ohm-mcp.extract_method_ast to extract lines 45-60 from @handler.py into a new function called "process_request"

Automatically:

  • โœ… Detects required parameters
  • โœ… Identifies return values
  • โœ… Generates refactored code
  • โœ… Creates unified diff patch

๐Ÿ”„ Safe Symbol Renaming

Code
Use #ohm-mcp.rename_symbol to rename "old_function_name" to "new_function_name" in /path/to/project

Features:

  • โœ… AST-based (100% accurate)
  • โœ… Detects naming conflicts
  • โœ… Shows all occurrences before applying
  • โœ… Updates docstrings and comments

๐Ÿ“Š Type Coverage Analysis

Code
Analyze type hints in @module.py using #ohm-mcp.analyze_type_hints

Provides:

  • โœ… Coverage percentage and grade
  • โœ… Functions missing type hints
  • โœ… Suggested type annotations
  • โœ… Migration plan with priorities

โšก Performance Optimization

Code
Use #ohm-mcp.analyze_performance on @slow_module.py

Detects:

  • โœ… Nested loops (O(nยฒ) complexity)
  • โœ… Quadratic list operations
  • โœ… Repeated function calls (missing caching)
  • โœ… Mutable default arguments
  • โœ… Inefficient string concatenation

๐Ÿงช Auto-Generate Tests

Code
Generate tests for @calculator.py using #ohm-mcp.generate_characterization_tests

Creates:

  • โœ… Happy path test cases
  • โœ… Edge cases (None, zero, negative, empty)
  • โœ… Ready-to-run pytest code
  • โœ… Preserves current behavior before refactoring

๐ŸŽจ Design Pattern Suggestions

Code
Suggest design patterns for @legacy_code.py using #ohm-mcp.suggest_design_patterns

Recommends:

  • โœ… Strategy pattern for long if/elif chains
  • โœ… Factory pattern for repetitive object creation
  • โœ… Observer pattern for callback hell
  • โœ… Decorator pattern for cross-cutting concerns

๐Ÿ”ง Import Refactoring

Code
Use #ohm-mcp.refactor_imports to update all files in /path/to/project from "old.module" to "new.module"

Handles:

  • โœ… Direct imports (import old.module)
  • โœ… From imports (from old.module import X)
  • โœ… Submodule imports
  • โœ… Import aliases

๐ŸŽฏ Key Tools (30 Total)

๐Ÿ“‹ General Analysis & Planning (4 tools)
ToolPurposeOutput
analyze_codebaseComprehensive code analysisIssues + refactoring plan
propose_function_refactorFunction-level refactor planningDetailed refactor proposal
explain_refactoringExplain refactoring patternsEducational guidance
create_refactor_patchGenerate unified diff patchesPatch file
๐Ÿ—๏ธ Architecture & Design (4 tools)
ToolPurposeOutput
analyze_architectureDetect God Objects, SOLID violationsDetailed issue report
suggest_design_patternsRecommend patterns (Strategy, Factory, Observer)Pattern suggestions + examples
analyze_tight_couplingFind coupling issuesDI recommendations
suggest_di_refactorGenerate DI codeBefore/after refactor
๐Ÿ”ง Code Quality & Refactoring (10 tools)
ToolPurposeKey Feature
extract_method_astExtract code into function100% AST-based accuracy
suggest_extractable_methodsFind extractable blocksCohesion scoring
detect_dead_codeFind unused code5 types of dead code
refactor_importsUpdate imports project-wideSafe module renaming
refactor_single_file_importsRefactor imports in one fileSingle file focus
analyze_wildcard_importsFind wildcard importsExplicit replacements
rename_symbolRename across codebaseConflict detection
detect_code_duplicatesFind DRY violationsExact + near duplicates
extract_function_codeExtract single function codeCode extraction utility
apply_function_refactorApply function-level refactorDirect code modification

Example - Extract Method:

python
# Input: Lines 45-60
result = extract_method_ast(code, 45, 60, "calculate_total")

# Output: Refactored code + patch + auto-detected params/returns
๐Ÿ“Š Type Safety & Testing (5 tools)
ToolPurposeBenefit
analyze_type_hintsCheck type coverageMigration plan
generate_type_stubCreate .pyi filesGradual typing
generate_characterization_testsAuto-generate testsSafe refactoring
generate_test_for_functionSingle function testsTargeted testing
suggest_testsSuggest test strategiesTest planning
โšก Performance & Prioritization (2 tools)
ToolPurposeDetects
analyze_performanceFind bottlenecksNested loops, mutable defaults, O(nยฒ)
prioritize_by_coverageRisk-based prioritizationHigh-risk uncovered code
๐Ÿค– Automated Execution & History (4 tools)
mermaid
graph LR
    A[apply_refactoring] --> B{Dry Run?}
    B -->|Yes| C[Show Preview]
    B -->|No| D[Create Backup]
    D --> E[Apply Changes]
    E --> F{Run Tests}
    F -->|Pass| G[Success]
    F -->|Fail| H[Auto Rollback]
    H --> I[rollback_refactoring]
ToolPurpose
apply_refactoringAuto-apply refactoring with safety checks
rollback_refactoringRollback previous refactoring
show_refactoring_historyView refactoring audit trail
cleanup_old_backupsClean up old backup files

Features:

  • โœ… Automatic backup before changes
  • โœ… Test execution validation
  • โœ… Auto-rollback on failure
  • โœ… Full audit trail with history
  • โœ… Automatic backup cleanup
๐Ÿ“ˆ Metrics & Reporting (1 tool)

generate_quality_report - Comprehensive dashboard in HTML/Markdown/JSON

Output Preview:

Code
๐Ÿ“Š Health Score: 85/100 (Good)
๐Ÿ“ Files: 47 | Lines: 12,450 | Tech Debt: 23 pts

๐Ÿ“Š Type Coverage: 67%
๐Ÿ—‘๏ธ Dead Code: 8 imports, 12 variables, 3 functions
โšก Performance: 4 nested loops, 2 mutable defaults
๐Ÿ“‹ Duplication: 3 exact, 5 near-duplicates

Visual Dashboard:

  • ๐ŸŽจ Circular health gauge
  • ๐Ÿ“Š Color-coded metrics (๐ŸŸข๐ŸŸก๐Ÿ”ด)
  • ๐Ÿ“ˆ Trend tracking ready
  • ๐Ÿ”— CI/CD integration (JSON export)

๐Ÿ’ก Common Workflows

1๏ธโƒฃ Safe Refactoring

bash
generate_characterization_tests โ†’ pytest โ†’ extract_method_ast โ†’ pytest

2๏ธโƒฃ Eliminate Duplication

bash
detect_code_duplicates โ†’ review suggestions โ†’ extract_method_ast

3๏ธโƒฃ Type Migration

bash
analyze_type_hints โ†’ follow migration plan โ†’ generate_type_stub

4๏ธโƒฃ Performance Optimization

bash
analyze_performance โ†’ prioritize_by_coverage โ†’ apply fixes

5๏ธโƒฃ Module Refactoring

bash
refactor_imports(old="myapp.old", new="myapp.new") โ†’ review patches

6๏ธโƒฃ Symbol Renaming

bash
rename_symbol(old="calc", new="calculate", preview_only=True) โ†’ apply

7๏ธโƒฃ Quality Tracking

bash
generate_quality_report(format="html") โ†’ open dashboard โ†’ track trends

๐ŸŽจ Visual Examples

Quality Dashboard Preview

Code
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  ๐Ÿ” Code Quality Dashboard                  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                             โ”‚
โ”‚       โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ     ๐Ÿ“ Overview           โ”‚
โ”‚       โ”‚   85    โ”‚     Files: 47             โ”‚
โ”‚       โ”‚  /100   โ”‚     Lines: 12,450         โ”‚
โ”‚       โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ     Tech Debt: 23         โ”‚
โ”‚     Health Score                            โ”‚
โ”‚                                             โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  ๐Ÿ“Š Type Coverage       โšก Performance       โ”‚
โ”‚  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘ 67%         ๐Ÿ”ด 4 nested loops   โ”‚
โ”‚  120/180 typed          ๐ŸŸก 2 mutable args   โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  ๐Ÿ—‘๏ธ Dead Code           ๐Ÿ“‹ Duplication      โ”‚
โ”‚  8 imports              3 exact             โ”‚
โ”‚  12 variables           5 near              โ”‚
โ”‚  3 functions                                โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Symbol Rename Preview

diff
# Before
- def calc(x, y):
-     return x + y
- result = calc(5, 3)

# After
+ def calculate_sum(x, y):
+     return x + y
+ result = calculate_sum(5, 3)

โœ… 1 function renamed
โœ… 3 call sites updated
โœ… 0 conflicts detected

๐Ÿง  Design Principles

PrincipleImplementation
๐Ÿงช Test-FirstAuto-generate characterization tests before refactoring
โ†ฉ๏ธ ReversibleEvery change = backup + rollback capability
๐ŸŽฏ AST-Driven100% accurate (no regex)
๐Ÿ“Š Risk-AwareCoverage + complexity = prioritization
๐Ÿ›๏ธ SOLIDDetect violations + concrete fixes
๐Ÿšซ No BlindnessAnalyze โ†’ Plan โ†’ Validate

๐Ÿ”Œ IDE Compatibility

๐Ÿค– Any MCP Client
โœ… Standard Protocol
โœ… Easy Setup
โœ… Works with all MCP-compatible AI assistants

๐Ÿ“Š Comparison

FeatureOHM MCPTraditional Tools
Accuracy100% AST~70% Regex
SafetyAuto backup/rollbackManual
TestingAuto-generatesManual
AutomationFullSuggestions only
DashboardHTML/JSON/MDText logs
IDE SupportCopilot/Cursor/ClineLimited

๐ŸŽฏ Use Cases

๐Ÿ‘จโ€๐Ÿ’ป Developers
โ€ข Refactor legacy code safely
โ€ข Find dead code
โ€ข Optimize performance
๐Ÿ‘ฅ Teams
โ€ข Track tech debt
โ€ข Enforce standards
โ€ข Design patterns
๐Ÿš€ CI/CD
โ€ข Quality gates
โ€ข Trend tracking
โ€ข Block bad PRs

๐Ÿ“ˆ Metrics

Code
โœ… 30 MCP Tools
โœ… 40+ Static Checks
โœ… 100% AST Accuracy
โœ… Zero Regex Patterns
โœ… Automated Execution with Rollback
โœ… Beautiful Dashboards (HTML/JSON/MD)
โœ… Universal MCP Compatibility
โœ… Safe Refactoring with Auto-Backup

๐Ÿ› ๏ธ Troubleshooting

MCP Connection Issues
  1. Verify Python path:

    bash
    which python  # Unix/Mac
    where python  # Windows
    
  2. Test MCP server directly:

    bash
    python -m ohm_mcp.server
    
  3. Check logs:

    • VS Code: Check Output panel
    • Cursor: Check Cursor logs
    • Cline: Check Cline settings panel
  4. Common issues:

    • โŒ Relative paths in command โ†’ Use absolute paths
    • โŒ Missing virtual environment โ†’ Activate venv first
    • โŒ Wrong cwd for Cline โ†’ Must be absolute path

๐Ÿค Contributing

Run before submitting:

bash
./static_analyser.sh  # Runs ruff, mypy, pylint, flake8
pytest                 # All tests must pass

๐Ÿ™ Credits

Built with Model Context Protocol โ€ข Python AST โ€ข Compatible with GitHub Copilot, Cursor IDE, Cline


Made with โค๏ธ for better code quality

โญ Star this repo if it helps you write cleaner code!

Documentation

Related MCP Servers

View all in Developer Tools View all alternatives
  • A
    Adeu

    Automated DOCX Redlining Engine

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Adeu โ†’
  • A
    Ai Netcafe

    Compare LLM cost & latency on one prompt, translate PDF keeping layout, cited research, make PPTX

    ๐Ÿ’ป Developer Tools0 views
    Compare vs Ai Netcafe โ†’
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    ๐Ÿ’ป Developer Tools7 views
    Compare vs Claude Task Master โ†’
  • W
    Windows MCP

    An MCP Server for computer-use in Windows OS

    ๐Ÿ’ป Developer Tools1 views
    Compare vs Windows MCP โ†’

Frequently Asked Questions about Ohm Mcp

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "ohm-mcp": { "command": "npx", "args": ["-y", "ohm-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOhm Mcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ohm-mcp?style=directory)](https://allmcps.com/mcp/ohm-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/ohm-mcp"><img src="https://allmcps.com/api/badge/ohm-mcp?style=directory" alt="Ohm Mcp on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ปDeveloper Tools
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
0/4 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging ยท 27/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge โ€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ป Developer Tools โ†’Best MCP servers for Developers โ†’Alternatives to Ohm Mcp โ†’Install in Claude DesktopInstall in CursorInstall in VS Code