Gitingest MCP Server
The Gitingest MCP Server integrates with AI assistants via Model Context Protocol (MCP) to analyze and ingest Git repositories into a structured text format.
Repository Analysis: Analyzes repositories from URLs or local paths, providing codebase insights
Flexible Filtering: Supports filtering by file size (
max_file_size), patterns (include_patterns,exclude_patterns), and specific branchesStructured Output: Returns repository summaries, file tree structures, and content in an AI-friendly format
Multiple Installation Options: Available via PyPI, GitHub, or local installation with configurable settings
Analyzes Git repositories and transforms them into structured text digests, supporting filtering by file size, patterns, and branches to help AI assistants understand codebases.
Enables ingestion of GitHub repositories, extracting repository summaries, file structures, and content to provide comprehensive codebase insights.
Supports installation through PyPI, allowing the server to be easily integrated with AI assistants via package management.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gitingest MCP Server analyze the repository at https://github.com/example/project and give me a summary of its structure"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Gitingest MCP Server
A Model Context Protocol (MCP) server implementation that integrates with gitingest for turning any Git repository into a simple text digest of its codebase.
Features
Easy integration with AI assistants through the Model Context Protocol
Git repository analysis and ingestion capabilities
Support for filtering files by size, patterns, and branches
Returns comprehensive repository information including summaries, file structure, and content
Related MCP server: GitHub MCP Server
Usage
Configuration Options
Add the following configuration to your AI assistant's settings to enable gitingest-mcp as an MCP server:
PyPI Installation
{
"mcpServers": {
"gitingestmcp": {
"command": "uvx",
"args": ["gitingestmcp@latest"]
}
}
}GitHub Installation
{
"mcpServers": {
"gitingestmcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/narumiruna/gitingest-mcp",
"gitingestmcp"
]
}
}
}Local Installation
{
"mcpServers": {
"gitingestmcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/home/<user>/workspace/gitingest-mcp",
"gitingestmcp"
]
}
}
}API
The server provides the following tool:
ingest_git
Analyzes a Git repository and returns its content in a structured format.
Parameters:
source: The URL of a Git repository or a local directory pathmax_file_size(optional): Maximum allowed file size in bytes (default: 10MB)include_patterns(optional): Pattern or set of patterns specifying files to include (e.g., "*.md, src/")exclude_patterns(optional): Pattern or set of patterns specifying files to excludebranch(optional): The branch to clone and analyze (default: "main")
Returns:
A string containing:
Repository summary
Tree-like structure of the files
Content of the repository files
Resources
gitingest website: https://gitingest.com/
gitingest repository: https://github.com/cyclotruc/gitingest
License
See the LICENSE file for details.
Available Tools
1 toolingest_gitC
This function analyzes a source (URL or local path), clones the corresponding repository (if applicable), and processes its files according to the specified query parameters. It can return a summary, a tree-like structure of the files, or the content of the files.
Inputs: source (required), branch, exclude_patterns, include_patterns, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'ingest_git' has a clearly defined purpose that is distinct by default.
A single tool inherently has perfect naming consistency. The tool name 'ingest_git' follows a clear verb_noun pattern, and there are no other tools to create inconsistency.
One tool is too few for the apparent scope of a Git ingestion server. The tool description suggests capabilities like cloning, processing files, and returning summaries, structures, or content, which could reasonably be split into multiple specialized tools (e.g., clone_repo, list_files, get_file_content). A single tool feels thin and may force agents to handle complex parameter parsing.
The tool covers basic ingestion and file access, but there are notable gaps for a Git domain. Missing operations include version control actions (e.g., commit, branch, diff), repository management (e.g., create, delete), and more granular file operations. Agents can work around this by using the single tool for all tasks, but it lacks lifecycle coverage.
Maintenance
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for gitingest. It allows MCP clients like Claude Desktop, Cursor, Cline etc to quickly extract information about Github repositories including repository summaries, project directory structure, file contents, etc3138MIT
- MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for managing your repositories on Forgejo/Gitea server.70Mozilla Public 2.0
- MIT