Gitingest Mcp
Description
# gitingest-mcp [](https://www.npmjs.com/package/gitingest-mcp) > MCP server that converts Git repositories into compact, prompt-ready digests for Large-Language-Models (LLMs). `gitingest-mcp` exposes…
About
# gitingest-mcp [](https://www.npmjs.com/package/gitingest-mcp) > MCP server that converts Git repositories into compact, prompt-ready digests for Large-Language-Models (LLMs). `gitingest-mcp` exposes the **Model Context Protocol (MCP)** over…
Details
- Author
- deadraid
- Downloads
- 283
- Categories
- Other
Jump to
- Works with GitHub, GitLab, Bitbucket, generic git, or a local path.
- Supports shallow cloning, sparse checkout, and submodule recursion.
- Honors both .gitignore and custom .gitingestignore files.
- Powerful include/exclude glob patterns for filtering files.
- Hard limits for file size, file count, total size, and token budget.
- Built‑in retry and timeout logic for flaky networks.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Gitingest McpCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install the server via npx -y gitingest-mcp-server and add a configuration snippet to your MCP client’s mcpServers object. Then call the ingest_repository tool with a repository URL, local path, or shorthand (e.g., user/repo), plus optional parameters like branch, exclude patterns, or size limits.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"gitingest mcp": {
"gitingest-mcp": {
"command": "npx",
"args": [
"-y",
"gitingest-mcp-server"
]
}
}
}
}
McpServers
{
"gitingest-mcp": {
"command": "npx",
"args": [
"-y",
"gitingest-mcp-server"
]
}
}
gitingest-mcp
> MCP server that converts Git repositories into compact, prompt-ready digests for Large-Language-Models (LLMs).
gitingest-mcp exposes the Model Context Protocol (MCP) over stdio so any LLM-aware editor or tool can request an up-to-date representation of a Git repository—local _or_ remote. The server clones (or analyses a local checkout), applies flexible filters (e.g. .gitignore, size limits, glob patterns), and streams back a single text document containing:
1. A summary (branch, commit, size, token count…)
2. A human-readable directory tree
3. The concatenated contents of every included file
The result is optimised for conversational code understanding, code-review, and RAG style retrieval.
---
✨ Features
• Works with GitHub, GitLab, Bitbucket, generic git, or a local path
• Optional shallow clone, sparse checkout, or submodule support
• Honor .gitignore _and_ custom .gitingestignore files
• Powerful include/exclude glob patterns
• Hard limits for _file size_, _file count_, _total size_, or _token budget_
• Built-in retry & timeout logic to survive flaky networks
---
🚀 Quick Start
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



