Skip to main content
Glama

Git Repo Browser MCP

git_commit_history

View and filter commit history for a specific branch in a Git repository. Retrieve up to a specified number of commits, filter by author, date range, or message content to analyze code changes.

Instructions

Get commit history for a branch with optional filtering.

Input Schema

NameRequiredDescriptionDefault
authorNoFilter by author (optional)
branchNoThe branch to get history frommain
grepNoFilter commits by message content (optional)
max_countNoMaximum number of commits to retrieve
repo_urlYesThe URL of the Git repository
sinceNoGet commits after this date (e.g., "1 week ago", "2023-01-01")
untilNoGet commits before this date (e.g., "yesterday", "2023-12-31")

Input Schema (JSON Schema)

{ "properties": { "author": { "description": "Filter by author (optional)", "type": "string" }, "branch": { "default": "main", "description": "The branch to get history from", "type": "string" }, "grep": { "description": "Filter commits by message content (optional)", "type": "string" }, "max_count": { "default": 10, "description": "Maximum number of commits to retrieve", "type": "integer" }, "repo_url": { "description": "The URL of the Git repository", "type": "string" }, "since": { "description": "Get commits after this date (e.g., \"1 week ago\", \"2023-01-01\")", "type": "string" }, "until": { "description": "Get commits before this date (e.g., \"yesterday\", \"2023-12-31\")", "type": "string" } }, "required": [ "repo_url" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bsreeram08/git-commands-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server