mcp-git-explorer

mcp-git-explorer

0

MCP Git Explorer is a Model Context Protocol server designed to fetch and analyze the contents of remote Git repositories, generating structured text files. It supports token authentication for private repositories and integrates with Claude to facilitate efficient repository exploration without downloading full contents.

MCP Git Explorer

Simple MCP (Model Context Protocol) server for fetching the remote git repository content as a structured text file.

Features

  • Clone and analyze Git repositories
  • Generate a structured text representation of repository contents
  • Quickly estimate codebase size and token count without retrieving all content
  • Support for public repositories and private GitLab repositories with token authentication
  • Tokenization counting using OpenAI's tiktoken library
  • Respect for .gitignore and .repomixignore patterns
  • Skip binary files and empty text files
  • Integration with Claude's Model Context Protocol

Usage

  • Explore Git repositories without downloading all files
  • Assess repository size with token counting
  • Automatically respects ignore patterns
  • Command-line options for using with SSE transport and GitLab tokens