Repo Explorer logo

Repo Explorer

by DocNR

Repo Explorer is a powerful MCP server designed for exploring, searching, and analyzing Git repositories. It provides tools for efficient code discovery and management across multiple projects.

View on GitHub

Last updated: N/A

What is Repo Explorer?

Repo Explorer is an MCP server that allows users to manage, search, and analyze code within Git repositories. It provides a suite of tools for cloning, updating, and searching across multiple repositories.

How to use Repo Explorer?

To use Repo Explorer, first clone the repository and install the dependencies using npm. Then, build the project and add it to your MCP configuration for Claude Desktop App or Claude Developer Tool (VSCode Extension). Use the provided XML snippets with the use_mcp_tool tag to interact with the available tools like repo_status, clone_repo, update_repo, create_reference_repos, and search_code.

Key features of Repo Explorer

  • Repository Management

  • Advanced Code Search

  • Caching System

  • Cross-Repository Analysis

  • Configurable Repository Structure

  • Platform Independent

Use cases of Repo Explorer

  • Quickly find specific code patterns across multiple projects

  • Compare code implementations across different repositories

  • Manage and update a collection of reference repositories

  • Automate code analysis tasks using the MCP interface

  • Improve code search performance with the caching system

FAQ from Repo Explorer

How do I configure the location of reference repositories?

Edit the repoBaseDir property in the ~/.repo-explorer.json configuration file.

How do I add a new repository to the configuration?

Add a new entry under the desired category in the repositories section of the ~/.repo-explorer.json file, including the repository URL and description.

How does the caching system improve performance?

The caching system stores search results and repository structure information, reducing the need for redundant file scanning and improving search speed.

How do I invalidate the cache?

The cache is automatically invalidated when repositories are updated. You can also manually clear the cache by deleting the cache files.

What are the prerequisites for running Repo Explorer?

You need Node.js 18.x or higher and Git installed on your system.