Exposes Python Rope refactoring library capabilities to Claude Code and command-line users.
Rope provides both a Model Context Protocol (MCP) server and a command-line interface (CLI) that empowers users with Python Rope refactoring library functionality. It enables safe code refactoring with features like symbol renaming and method extraction, backed by safety checks. The tool also supports code analysis capabilities such as symbol definition finding, reference tracking, and object information. With an automatic file backup system and identical functionality across both interfaces, Rope aims to be a robust tool for enhancing Python code quality within Claude Code and command-line environments.
Key Features
010 GitHub stars
02Dual interface: MCP server and CLI
03Code analysis: Symbol definition finding and reference tracking
04Automatic file backups
05Shared functionality across MCP and CLI
06Safe refactoring with safety checks
Use Cases
01Refactoring Python code within Claude Code.
02Analyzing Python code structure and dependencies.
03Automating code refactoring tasks via the command line.