Gitingest MCP Server

Gitingest MCP Server

Turn any Git repository into a structured context for AI assistants via the Model Context Protocol.

8
Stars
5
Forks
8
Watchers
0
Issues
Gitingest MCP Server provides a Model Context Protocol (MCP) compliant server that integrates with the gitingest tool to analyze and ingest Git repositories into structured text digests. It offers detailed repository analysis, including code summaries, file structures, and content extraction, tailored for integration with AI assistants. The server features flexible configuration and supports filtering by file size, patterns, and branches. It enables standardized delivery of codebase context to AI models for improved reasoning and comprehension.

Key Features

Model Context Protocol (MCP) server implementation
Git repository analysis and ingestion
Returns repository summaries, file structures, and file content
Supports filtering files by size and patterns
Branch selection for analysis
Integration with gitingest tool
Multiple installation options (PyPI, GitHub, local)
Structured API for AI assistant integration
Flexible configuration for automated systems
Comprehensive documentation and setup guidance

Use Cases

Providing AI assistants with detailed codebase context
Automated code review and analysis workflows
Generating summaries and overviews of repositories
Powering AI reasoning over large codebases
Supporting context-aware software development tools
Assisting in onboarding by offering repository digests
Automated documentation generation from source code
Filtering and extracting relevant information from large repositories
Facilitating AI-driven search and code navigation tools
Enhancing programming copilots with structured repository insights

README

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

Usage

Configuration Options

Add the following configuration to your AI assistant's settings to enable gitingest-mcp as an MCP server:

PyPI Installation

json
{
  "mcpServers": {
    "gitingestmcp": {
      "command": "uvx",
      "args": ["gitingestmcp@latest"]
    }
  }
}

GitHub Installation

json
{
  "mcpServers": {
    "gitingestmcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/narumiruna/gitingest-mcp",
        "gitingestmcp"
      ]
    }
  }
}

Local Installation

json
{
  "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 path
  • max_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 exclude
  • branch (optional): The branch to clone and analyze (default: "main")

Returns:

A string containing:

  1. Repository summary
  2. Tree-like structure of the files
  3. Content of the repository files

Resources

License

See the LICENSE file for details.

Star History

Star History Chart

Repository Owner

narumiruna
narumiruna

User

Repository Details

Language Python
Default Branch main
Size 649 KB
Contributors 4
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

Python
70.4%
Dockerfile
22.52%
Makefile
7.08%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Gitingest-MCP

    Gitingest-MCP

    An MCP server for extracting GitHub repository summaries, structure, and file content.

    Gitingest-MCP serves as a Model Context Protocol (MCP) server compatible with context-aware AI tools. It enables MCP clients such as Claude Desktop, Cline, Cursor, and others to quickly and efficiently extract key information from GitHub repositories, including summaries, the directory tree, and individual file contents. It supports installation via Smithery or manual configuration and is designed for seamless integration into the MCP client ecosystem. Documentation provides guidance on installation, configuration, and debugging.

    • 131
    • MCP
    • puravparab/Gitingest-MCP
  • mcp-git-ingest

    mcp-git-ingest

    MCP server for exploring GitHub repository structures and key files.

    mcp-git-ingest is a Model Context Protocol (MCP) server designed to programmatically read and visualize GitHub repository structures and retrieve important file contents. It leverages fastmcp for server functionality and gitpython for repository operations, ensuring robust error handling and cleanup. The tool offers commands to generate directory trees and fetch specified files, making it suitable for integrating repository context into AI workflows.

    • 286
    • MCP
    • adhikasp/mcp-git-ingest
  • GitHub MCP Server

    GitHub MCP Server

    Connect AI tools directly to GitHub for repository, issue, and workflow management via natural language.

    GitHub MCP Server enables AI tools such as agents, assistants, and chatbots to interact natively with the GitHub platform. It allows these tools to access repositories, analyze code, manage issues and pull requests, and automate workflows using the Model Context Protocol (MCP). The server supports integration with multiple hosts, including VS Code and other popular IDEs, and can operate both remotely and locally. Built for developers seeking to enhance AI-powered development workflows through seamless GitHub context access.

    • 24,418
    • MCP
    • github/github-mcp-server
  • Octocode MCP

    Octocode MCP

    Enterprise-grade AI context server for codebase research and analysis.

    Octocode MCP is a Model Context Protocol (MCP) server designed to enable AI assistants to search, analyze, and extract insights from millions of GitHub repositories with high security and token efficiency. It offers intelligent orchestration for deep code research, planning, and agentic workflows, streamlining the process of building and understanding complex software projects. The platform features robust tools and commands, such as /research for expert code research, designed to support developers and AI systems with context-rich information.

    • 577
    • MCP
    • bgauryy/octocode-mcp
  • AtomGit MCP Server

    AtomGit MCP Server

    AI-powered management and automation of AtomGit repositories via the Model Context Protocol.

    AtomGit MCP Server implements the Model Context Protocol to enable AI-driven management and automation of AtomGit open collaboration platform repositories. It offers methods for managing repositories, issues, pull requests, branches, and labels, allowing seamless AI interaction with AtomGit. The server supports integration with platforms like Claude and VSCode, providing a standardized interface for AI to orchestrate complex collaboration workflows. Built with Node.js and easily deployable via npx or from source, it focuses on expanding collaborative capabilities using AI agents.

    • 7
    • MCP
    • kaiyuanxiaobing/atomgit-mcp-server
  • GitHub Enterprise MCP Server

    GitHub Enterprise MCP Server

    Expose GitHub Enterprise data through a Model Context Protocol server.

    GitHub Enterprise MCP Server provides an MCP (Model Context Protocol) interface to integrate with GitHub Enterprise APIs, enabling standardized access to repository data, issues, pull requests, workflows, and user management. It is compatible with both GitHub Enterprise Server and GitHub.com environments and supports features like repository management, file browsing, and enterprise statistics. The platform is designed for seamless integration with tools such as Cursor, making it simple to interact with GitHub data programmatically or via MCP-compliant clients.

    • 25
    • MCP
    • ddukbg/github-enterprise-mcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results