Gitingest-MCP
# Gitingest-MCP 
An MCP server for [gitingest](https://github.com/cyclotruc/gitingest). This allows MCP clients like Claude Desktop, Cline, Cursor, etc to quickly extract information about Github repositories including
- Repository summaries
- Project directory structure
- File content
<a href="https://glama.ai/mcp/servers/g0dylqhn3h">
<img width="380" height="200" src="https://glama.ai/mcp/servers/g0dylqhn3h/badge" alt="Gitingest-MCP MCP server" />
</a>
https://github.com/user-attachments/assets/c1fa596b-a70b-4d37-91d9-ea5e80284793
## Table of Contents
- [Installation](#installation)
- [Installing via Smithery](#installing-via-smithery)
- [Install via Github](#install-via-github)
- [Installing Repo Manually](#installing-repo-manually)
- [Updating the MCP client configuration](#updating-the-mcp-client-configuration)
- [Debug](#debug)
## Installation
### Installing via Smithery
- To install gitingest-mcp via [Smithery](https://smithery.ai/server/@puravparab/gitingest-mcp):
```bash
npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client claude --config "{}" # Claude
```
```bash
npx -y @smithery/cli@latest run @puravparab/gitingest-mcp --client cursor --config "{}" # Cursor
```
```bash
npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client windsurf --config "{}" # Windsurf
```
```bash
npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client cline --config "{}" # Cline
```
### Install via Github
1. Add this to the MCP client config file
```json
{
"mcpServers": {
"gitingest-mcp": {
"command": "<path to uv>/uvx",
"args": [
"--from",
"git+https://github.com/puravparab/gitingest-mcp",
"gitingest-mcp"
]
}
}
}
```
### Installing Repo Manually
1. Clone the repo
```bash
git clone https://https://github.com/puravparab/Gitingest-MCP
cd Gitingest-MCP
```
2. Install dependencies
```bash
uv sync
```
3. Add this to the MCP client config file
```json
{
"mcpServers": {
"gitingest": {
"command": "<path to uv>/uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with-editable",
"<path to gitingest-mcp project>/gitingest_mcp",
"mcp",
"run",
"<path to gitingest-mcp project>/gitingest-mcp/src/gitingest_mcp/server.py"
]
}
}
}
```
5. If you have issues, follow this [MCP server documentation](https://modelcontextprotocol.io/quickstart/server)
### Updating the MCP client configuration
1. Add to Claude Desktop
Open config file in your IDE
```bash
cursor ~/Library/Application\ Support/Claude/claude_desktop_config.json
```
```bash
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
```
## Debug
1. Using mcp inspector
```
uv run mcp dev src/gitingest_mcp/server.py
```
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: git_files retrieves specific file contents, git_summary provides a high-level repository overview with metrics, and git_tree returns the repository's file/directory structure. There is no overlap in functionality - an agent can easily distinguish between getting file contents, getting structural information, or getting a summary.
All three tools follow a perfect 'git_' prefix pattern with descriptive suffixes (files, summary, tree). The naming is completely consistent in style, format, and verb usage, making the tool set immediately understandable and predictable.
With only 3 tools, this feels somewhat thin for a GitHub ingestion server. While the tools cover basic repository inspection (files, structure, summary), there are likely additional ingestion operations that would be useful, such as commit history retrieval, branch listing, or contributor information. The count is borderline minimal for the apparent scope.
The tool set covers fundamental repository inspection operations but has notable gaps for a comprehensive ingestion system. Missing are tools for retrieving commit history, branch information, contributor data, or issue tracking. While the existing tools provide a foundation, agents will encounter dead ends when needing more complete repository metadata beyond file content and structure.