Code Merge is a server implementation based on the Model Context Protocol (MCP), designed to streamline the extraction, merging, and analysis of code files. It provides powerful tools for Large Language Models (LLMs) like GPT and Claude to process and analyze codebases more effectively. The server supports file tree generation, code merging, code analysis with statistics, and intelligent filtering using .gitignore rules and custom blacklists.
主要功能
01Supports filtering based on .gitignore and custom blacklists
02Merges multiple files into a single output for analysis
0316 GitHub stars
04Provides code statistics, including line and function counts
05Built on the Model Context Protocol (MCP) SDK for seamless integration
06Generates a tree view of project file structures
使用案例
01Extracting specific code sections for focused analysis
02Preparing codebases for analysis by Large Language Models
03Automating code analysis tasks with customizable filters