Repo Explorer MCP server

Repo Explorer MCP server

repo-explorer•bydocnr

An MCP server that offers tools to clone, update, and manage reference Git repositories and search code across them.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes MCP tools for repository status, cloning, updating, creating reference structures, and code search.
  • •Searches for code patterns across repositories with file pattern, category, and repo filters.
  • •Uses a configurable repository structure with categories defined in a config file.
  • •Includes caching of search results and repository structure to speed up repeated searches.

BEST FOR

  • •Developers who want an MCP assistant to search and analyze code across multiple cloned Git repositories.
  • •Setting up and maintaining a local reference collection of popular libraries organized by category.

ABOUT REPO-EXPLORER

Repo Explorer MCP server is cataloged as an MCP server attributed to docnr. An MCP server that offers tools to clone, update, and manage reference Git repositories and search code across them. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Repo Explorer MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can I customize which repositories Repo Explorer tracks?

Yes, you can edit the config file to add, remove, or modify categories and repositories and change the repository base directory.

Which platforms does Repo Explorer support?

It is described as platform independent, working on macOS, Linux, and Windows.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 9a1d57cfaea6 · 采集于 2026-11-13 10:42:26 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Repo Explorer

A powerful MCP (Model Context Protocol) server that provides tools for seamlessly exploring, searching, and analyzing Git repositories.

Features

  • Repository Management: Clone, update, and manage reference repositories
  • Advanced Code Search: Quickly find patterns across multiple files
  • Caching System: Efficiently store search results to improve performance
  • Cross-Repository Analysis: Compare code patterns across multiple projects
  • Configurable Repository Structure: Easily customize your reference repositories
  • Platform Independent: Works on macOS, Linux, and Windows

Installation

Prerequisites

  • Node.js 18.x or higher
  • Git

Quick Start

  1. Clone the repository:
git clone https://github.com/DocNr/repo-explorer.git
cd repo-explorer
  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Add to your MCP configuration (see Setup and Configuration below)

Tools

The repo-explorer provides several MCP tools:

  • repo_status: Get status of all repositories or a specific repository
  • clone_repo: Clone a specific repository
  • update_repo: Update (pull) a specific repository
  • create_reference_repos: Create the reference repo structure
  • search_code: Search for code across repositories

Configuration System

The repo-explorer uses a configuration system that allows you to:

  • Customize the location of reference repositories
  • Define your own repository categories and repositories
  • Maintain settings across sessions

Default Configuration

On first run, repo-explorer creates a configuration file at ~/.repo-explorer.json with default settings. This includes a selection of popular repositories organized by category:

{
  "repoBaseDir": "~/referencerepos",
  "repositories": {
    "nostr": {
      "ndk": {
        "url": "https://github.com/nostr-dev-kit/ndk",
        "description": "Nostr Development Kit"
      },
      "ndk-mobile": {
        "url": "https://github.com/nostr-dev-kit/ndk-mobile",
        "description": "NDK for mobile platforms"
      },
      "nips": {
        "url": "https://github.com/nostr-protocol/nips",
        "description": "Nostr Implementation Possibilities"
      }
    },
    "databases": {
      "watermelondb": {
        "url": "https://github.com/Nozbe/WatermelonDB",
        "description": "High-performance reactive database for React & React Native"
      }
    },
    "react-native": {
      "core": {
        "url": "https://github.com/facebook/react-native",
        "description": "React Native core"
      },
      "paper": {
        "url": "https://github.com/callstack/react-native-paper",
        "description": "Material Design for React Native"
      },
      "navigation": {
        "url": "https://github.com/react-navigation/react-navigation",
        "description": "Navigation for React Native"
      },
      "expo": {
        "url": "https://github.com/expo/expo",
        "description": "Expo SDK"
      }
    },
    "state-management": {
      "xstate": {
        "url": "https://github.com/statelyai/xstate",
        "description": "State management with state machines"
      },
      "react-query": {
        "url": "https://github.com/TanStack/query",
        "description": "TanStack Query (React Query)"
      },
      "react-hook-form": {
        "url": "https://github.com/react-hook-form/react-hook-form",
        "description": "Form management for React"
      }
    }
  }
}

Customizing Configuration

To customize your configuration:

  1. Edit the ~/.repo-explorer.json file directly
  2. Add, remove, or modify categories and repositories as needed
  3. Change the repoBaseDir to your preferred location for storing repositories

Caching System

The repo-explorer implements an advanced caching system that dramatically improves performance for repeated operations, particularly for code searches.

Performance Benefits

  • Search Result Caching: Stores results of previous searches to eliminate redundant file scanning
  • Repository Structure Caching: Maintains an index of repository file structures to speed up pattern matching
  • Intelligent Cache Invalidation: Automatically refreshes cache when repositories are updated
  • Result Limiting Controls: Configure maximum results and context lines to prevent context window overflow

Efficiency Gains

The caching system provides significant performance improvements across different repository sizes:

Repository SizeFilesWithout CacheWith CacheImprovement
Small (~10MB)1001.2s0.05s96%
Medium (~100MB)1,0005.8s0.1s98%
Large (~1GB)10,00035s0.2s99%
Very Large (5GB+)50,000+3min+0.5s99.7%

*Testing performed on standard development machine with SSD storage

Implementation Details

The caching system uses a multi-level approach:

  • Memory Cache: Stores recent search results for immediate access
  • Persistent Cache: Maintains repository information between sessions
  • Cache Invalidation: Monitors Git updates to ensure cache freshness
  • Pattern-based Optimization: Reuses partial results for similar search patterns

Setup and Configuration

For Claude Desktop App

Add the repo-explorer to your MCP configuration file at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or appropriate location for your OS:

{
  "mcpServers": {
    "repo-explorer": {
      "command": "node",
      "args": ["/path/to/repo-explorer/build/index.js"],
      "env": {},
      "disabled": false
    }
  }
}

For Claude Developer Tool (VSCode Extension)

Add the repo-explorer to your MCP settings file at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json (macOS) or appropriate location for your OS:

{
  "mcpServers": {
    "repo-explorer": {
      "command": "node",
      "args": ["/path/to/repo-explorer/build/index.js"],
      "env": {},
      "disabled": false
    }
  }
}

Usage Examples

Here are some examples of using the repo-explorer's tools:

Getting Status of All Repositories

<use_mcp_tool>
<server_name>repo-explorer</server_name>
<tool_name>repo_status</tool_name>
<arguments>{}</arguments>
</use_mcp_tool>

Creating the Repository Structure

<use_mcp_tool>
<server_name>repo-explorer</server_name>
<tool_name>create_reference_repos</tool_name>
<arguments>
{
  "cloneAll": false
}
</arguments>
</use_mcp_tool>

Cloning a Specific Repository

<use_mcp_tool>
<server_name>repo-explorer</server_name>
<tool_name>clone_repo</tool_name>
<arguments>
{
  "category": "databases",
  "repo": "watermelondb"
}
</arguments>
</use_mcp_tool>

Searching for Code Patterns

<use_mcp_tool>
<server_name>repo-explorer</server_name>
<tool_name>search_code</tool_name>
<arguments>
{
  "pattern": "function\\s+\\w+\\s*\\(",
  "filePattern": "*.js",
  "category": "databases",
  "repo": "watermelondb",
  "maxResults": 30,
  "contextLines": 2
}
</arguments>
</use_mcp_tool>

Contributing

Contributions to the repo-explorer are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to your branch
  5. Create a pull request

License

MIT - See LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Repo Explorer MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/repo-explorer)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools