- Home
- MCP servers
- Git Helper
Git Helper
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"letscodethebrain-git-helper-mcp": {
"command": "/Users/prateek/Code/claude/git-helper-mcp/venv/bin/python",
"args": [
"/Users/prateek/Code/claude/git-helper-mcp/server.py"
]
}
}
}Git Helper MCP is a Python-based MCP server that exposes git repository tools to Claude. It provides real-time repository insights such as status, branches, commit history, and diffs, so you can interact with your local Git projects through Claude conversations and workflows.
How to use
You interact with the Git Helper MCP through Claude by asking natural-language questions about your git repository. Claude sends requests to the MCP server to fetch up-to-date information and then presents the results in a clean, readable format. You can check the status of your staging area, see recent commits with messages and authors, list all branches with the current branch highlighted, inspect details about a specific branch, or view changes that are staged or unstaged.
How to install
Prerequisites you need before installing: Python 3.10 or newer and Git installed on your system.
Set up a virtual environment and install dependencies.
How to install
Step-by-step commands to install and run the server exactly as shown.
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Available tools
get_status
Returns the current repository status, including staged, unstaged, and untracked files.
list_branches
Lists all branches in the repository with the current branch highlighted.
get_commit_history
Shows recent commits with messages and authors.
get_branch_info
Provides detailed information about the current or a specified branch.
get_diff
Displays changes that are staged or unstaged.