Skip to main content

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.

Gitingest Server MCP server

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

{
  "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 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.

Metadata

Release files for iflow-mcp_narumiruna_gitingestmcp 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_narumiruna_gitingestmcp 0.1.6
File Size Uploaded
iflow_mcp_narumiruna_gitingestmcp-0.1.6.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_narumiruna_gitingestmcp 0.1.6
File Interpreter ABI Platform
iflow_mcp_narumiruna_gitingestmcp-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / iflow_mcp_narumiruna_gitingestmcp-0.1.6.tar.gz

Download URL iflow_mcp_narumiruna_gitingestmcp-0.1.6.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
12caa1c6992ba93e00ceb53f1469bb4296a7fd337b2e0a33b0284f50e7bfd47f
BLAKE2b-256 checksum
How to use checksums
20e771366b788fcc34143764e08aac962ba647d82fe0d4a5803dd4c26dd53f74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_narumiruna_gitingestmcp-0.1.6-py3-none-any.whl

Download URL iflow_mcp_narumiruna_gitingestmcp-0.1.6-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ddcfca2a38a2baf6e3072cc116300c0bd602656d83fd73c4f5244e4747d3dd2
BLAKE2b-256 checksum
How to use checksums
6cfb3970bfc83f94b898d9ee7d3b021c82e6b3353dd525648144fcea47ab3dd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page