Skip to main content
Glama
523,639 tools. Updated 2026-09-06 13:38

"Tool or method for automating code refactoring and finding similar code in a codebase" matching MCP tools:

  • Find semantically similar code patterns in the codebase to detect duplicates, understand patterns, and identify refactoring opportunities.
    MIT
  • Search a codebase for code similar to a given snippet, returning ranked matches. Filter by language or path to locate duplicate or related code.
    Apache 2.0
  • Append new PHP code statements to an existing method while correctly handling nested constructs like arrow functions and computed properties. Specify file, method, and code; optionally provide TypeScript types for variables.
    MIT
  • Discover existing feature flags in your codebase to prevent duplicates and encourage reuse. Provides search instructions using file detection, git history, semantic name matching, and code context.
    MIT
  • Remove a feature flag from the codebase while preserving the correct code path. Provides step-by-step instructions for cleanup.
    MIT
  • Scan your codebase for SDKs, scripts, and patterns that legally require disclosure, then map each finding to policy generation fields. Use before generating policies to base them on actual code.
    MIT

Matching MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables LLMs to apply Martin Fowler's 71+ refactoring patterns to codebases through a pluggable, language-agnostic architecture. Supports previewing and applying refactorings, analyzing code smells, and inspecting code structure with safe-by-default operations.
    5
    5
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Renders source code as beautiful SVG or PNG images with syntax highlighting, line numbers, and diff support. Ideal for AI agents to present code visually to humans or for sharing snippets.
    2
    17
    MIT

Matching MCP Connectors

  • Corporate travel: search and book flights, hotels, rail and transfers, manage orders.

  • Cloudflare Workers MCP server: code-explainer

  • Find code by meaning across your entire codebase using natural language queries or code snippets, returning relevant chunks with file paths and line numbers.
    Apache 2.0
  • Get the current codebase map for a product: module labels, counts, and summary to answer where code lives and guide architecture discussions.
    MIT
  • Create a semantic index of a codebase to unlock intelligent search. Run this first to enable code queries.
    Apache 2.0
  • Ask programming questions and get explanations from Kimi's model without codebase context. Use for algorithms, code reviews, or general coding advice.
    MIT
  • Inspect codebase structure, API boundaries, dependencies, and deletion safety. Detect languages, dead code, contracts, and refactoring opportunities to make informed code changes.
    MIT
  • Search, replace, or count code patterns using syntax-aware AST matching across 20+ programming languages.
    MIT
  • Retrieve the HTTP function file: use overview mode for function names and line ranges, or full mode for complete code and collection schemas, ideal for writing and refactoring. Include the coding guide on first call.
    MIT
  • Identify all code that references, calls, extends, or implements a specific entity to analyze impact before refactoring or detect dead code.
    MIT