MCP Git Explorer
MCP Git Explorer is an MCP server tool for retrieving the content of a remote Git repository and converting it into structured text. It supports functions such as cloning and analyzing repositories, generating structured text, and quickly estimating the codebase size and token count.
rating : 2 points
downloads : 14
What is MCP Git Explorer?
MCP Git Explorer is a server tool based on the Model Context Protocol (MCP), specifically designed to clone and analyze the content of Git repositories. It can convert the repository content into a structured text format, helping users quickly understand the codebase structure and content.How to use MCP Git Explorer?
You can run it directly through the command line or integrate it as a tool for Claude. It supports public repositories and private GitLab repositories (an access token is required).Use cases
When you need to quickly analyze the content of a Git repository without manually downloading all the files; when you need to estimate the codebase size to determine if it is suitable for AI model processing; when you need to view the repository content in a structured way.Main features
Git repository analysisClone and analyze a Git repository, generating a structured text representation
Quick estimationEstimate the codebase size and token count without downloading all the content
Secure accessSupports public repositories and private GitLab repositories (an access token is required)
Intelligent filteringAutomatically ignore binary files, empty text files, and follow the.gitignore rules
Token countingUse OpenAI's tiktoken library for accurate token counting
Advantages and limitations
Advantages
Access the complete repository content without manual downloading
The quick estimation function helps determine if it is suitable for AI processing
Supports access to private repositories (a token is required)
Automatically filter unnecessary files to improve efficiency
Accurate token counting helps control AI processing costs
Limitations
Processing very large repositories may be slow
Configuring a token is required for accessing private repositories
Currently mainly supports GitLab and the standard Git protocol
Token counting is based on the OpenAI standard and may not be completely consistent with other models
How to use
Install the tool
Install MCP Git Explorer using pip or uv
Basic usage
Run the command - line tool to start analyzing the repository
Configure the GitLab token (optional)
If you need to access a private GitLab repository, set the environment variable or command - line parameter
Use in Claude
Call the repository analysis function through Claude's tool interface
Usage examples
Quickly evaluate a new projectBefore deciding whether to participate in a new open - source project, quickly understand the scale and structure of its codebase
Analyze a private projectAnalyze the content of a private GitLab project of the team
Compare codebasesCompare the codebase structures and sizes of two similar projects
Frequently Asked Questions
How to obtain a GitLab access token?
Why are some files not included in the analysis results?
Is the token counting accurate?
Which Git services are supported?
What problems may occur when processing large repositories?
Related resources
GitLab Token Creation Guide
How to create a GitLab personal access token
GitHub Repository
Project source code and issue tracking
tiktoken Documentation
Documentation for OpenAI's token counting library
MCP Protocol Description
Official documentation for the Model Context Protocol
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
87
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
567
5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points