gitingestLABSCO SUMMARY
A repository becomes one queryable document.
The workflow it wants is summary first, then narrow: take the overview, and pull the tree or the full content only once you know which part of the repository the question is about. Include and exclude patterns are how a big repository stays inside a context window.
What it is
One tool over the gitingest library. Point it at a repository URL or a local path and it ingests on demand, returning a summary, a file tree, the content, or all three.
What you get
- A repository ingested from a URL or a local path, with no separate ingestion step
- A summary, a tree, the content, or all of them, chosen per call
- Include and exclude patterns, so a large repository is narrowed before it is read
- A maximum file size, and a token ceiling that truncates the response
- A specific branch analysed, and the output written to a file path
- The tree and content also reachable as resources after a call
Requirements
uvx to run the package. Public repositories need nothing else; a GitHub token is read from the environment for private ones, which depend on a gitingest release the author notes had not reached PyPI at the time of writing.
Setup effort
One command — uvx trelis-gitingest-mcp
USE CASES
Understanding a repository you did not write
The summary arrives without a clone, a build, or a decision about which file to open first.
Bringing only the relevant part of a codebase in
Include and exclude patterns cut the ingestion down to the paths the question actually touches.
Reading a branch rather than the default
Point it at the branch under review, so the answer describes the change and not main.
Keeping a large repository inside your context
The token ceiling and the file-size cap bound the response, so a big project does not blow the session on the first call.
1 tool
Listed in project docs. Your client may show a different list.
BEFORE YOU INSTALL
What to know first
Tools you get
1 tool named in the project's documentation.
Requires
uvx on PATH
INSTALLATION
Connect your client
Add the block to your client, or run the command directly.
Server setup
Configuration file
{
"mcpServers": {
"trelis-gitingest-mcp": {
"command": "uvx",
"args": [
"trelis-gitingest-mcp"
]
}
}
}uvx
uvx trelis-gitingest-mcp