Skip to main content
Glama

Git MCP

by Andre-Buzeli

git-analytics

Analyze Git repository statistics, commit history, and contributor activity to gain insights into project development patterns and team contributions.

Instructions

Git analytics and statistics tool for repository analysis. Supports stats, commits, and contributors operations. Provides comprehensive analytics for Git repositories.

Input Schema

NameRequiredDescriptionDefault
actionYesThe analytics operation to perform
authorNoFilter commits by author (for commits operation)
branchNoSpecific branch to analyze (default: current branch)
committerNoFilter commits by committer (for commits operation)
excludePathsNoPaths to exclude from analysis
formatNoOutput format for results
grepNoSearch in commit messages (for commits operation)
groupByNoGroup statistics by time period (for stats operation)
includeFileTypesNoInclude file type analysis (for stats operation)
includeMergesNoInclude merge commits in analysis
includePathsNoSpecific paths to include in analysis
includeStatsNoInclude file change statistics (for commits operation)
limitNoMaximum number of results to return
minCommitsNoMinimum commits threshold (for contributors operation)
ownerNoRepository owner (for remote operations)
projectPathYesAbsolute path to the project directory
providerNoProvider for enhanced remote analytics (optional)
refNoSpecific ref to analyze (commit, tag, etc.)
repoNoRepository name (for remote operations)
sinceNoStart date for analysis (ISO date or relative like "1 week ago")
sortByNoSort contributors by field (for contributors operation)
untilNoEnd date for analysis (ISO date or relative like "yesterday")

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "The analytics operation to perform", "enum": [ "stats", "commits", "contributors" ], "type": "string" }, "author": { "description": "Filter commits by author (for commits operation)", "type": "string" }, "branch": { "description": "Specific branch to analyze (default: current branch)", "type": "string" }, "committer": { "description": "Filter commits by committer (for commits operation)", "type": "string" }, "excludePaths": { "description": "Paths to exclude from analysis", "items": { "type": "string" }, "type": "array" }, "format": { "description": "Output format for results", "enum": [ "json", "csv", "summary" ], "type": "string" }, "grep": { "description": "Search in commit messages (for commits operation)", "type": "string" }, "groupBy": { "description": "Group statistics by time period (for stats operation)", "enum": [ "day", "week", "month", "year" ], "type": "string" }, "includeFileTypes": { "description": "Include file type analysis (for stats operation)", "type": "boolean" }, "includeMerges": { "description": "Include merge commits in analysis", "type": "boolean" }, "includePaths": { "description": "Specific paths to include in analysis", "items": { "type": "string" }, "type": "array" }, "includeStats": { "description": "Include file change statistics (for commits operation)", "type": "boolean" }, "limit": { "description": "Maximum number of results to return", "type": "number" }, "minCommits": { "description": "Minimum commits threshold (for contributors operation)", "type": "number" }, "owner": { "description": "Repository owner (for remote operations)", "type": "string" }, "projectPath": { "description": "Absolute path to the project directory", "type": "string" }, "provider": { "description": "Provider for enhanced remote analytics (optional)", "enum": [ "github", "gitea", "both" ], "type": "string" }, "ref": { "description": "Specific ref to analyze (commit, tag, etc.)", "type": "string" }, "repo": { "description": "Repository name (for remote operations)", "type": "string" }, "since": { "description": "Start date for analysis (ISO date or relative like \"1 week ago\")", "type": "string" }, "sortBy": { "description": "Sort contributors by field (for contributors operation)", "enum": [ "commits", "additions", "deletions", "name" ], "type": "string" }, "until": { "description": "End date for analysis (ISO date or relative like \"yesterday\")", "type": "string" } }, "required": [ "action", "projectPath" ], "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/Andre-Buzeli/git-mcp'

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