mcp-git-explorer

mcp-git-explorer

3.2

If you are the rightful owner of mcp-git-explorer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Git Explorer is a simple Model Context Protocol server designed to fetch and analyze remote Git repository content, providing a structured text file representation.

MCP Git Explorer is a tool that allows users to clone and analyze Git repositories, generating a structured text representation of the repository contents. It supports both public repositories and private GitLab repositories with token authentication. The tool is designed to quickly estimate the size of a codebase and the token count without retrieving all content, making it efficient for large repositories. It respects .gitignore and .repomixignore patterns, skips binary files and empty text files, and integrates with Claude's Model Context Protocol. The tool uses OpenAI's tiktoken library for tokenization counting, providing a seamless experience for developers looking to explore and analyze Git repositories.

Features

  • Clone and analyze Git repositories
  • Generate structured text representation of repository contents
  • Estimate codebase size and token count efficiently
  • Support for public and private GitLab repositories with token authentication
  • Integration with Claude's Model Context Protocol

Tools

  1. get_codebase

    Cloning and analyzing the Git repository to return the complete file content

  2. estimate_codebase

    Quickly analyze warehouses to provide statistical information including file count, structure and token estimation

  3. check_gitlab_token_status

    Check if the GitLab token is configured