Get the FREE Ultimate OpenClaw Setup Guide →

Gitingest

mcp server for gitingest

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio puravparab-gitingest-mcp uvx --from git+https://github.com/puravparab/gitingest-mcp gitingest-mcp

How to use

Gitingest-MCP is an MCP server that exposes tooling to quickly extract information about GitHub repositories using the Gitingest framework. It enables MCP clients like Claude Desktop, Cline, Cursor, Windsurf, and others to request repository-level data such as repository summaries, project directory structures, and file contents from a given GitHub repository. The server is implemented in Python and is installed via uv/uvx, then run as a hosted MCP service. Once running, clients can query the server to obtain structured insights about a repository without cloning it locally, making it convenient for quick analysis, documentation, or integration into other workflows. The server focuses on providing concise metadata and navigable file trees, along with access to actual file contents when appropriate.

To use it, install the MCP server as described in the installation steps, then configure your MCP client to point to the gitingest-mcp server. After starting the server, you can request information such as a repository summary, the top-level project structure, and file contents for specific paths. The examples in the README demonstrate how to integrate via Smithery and how to register the server in a client’s MCP config. Each client can tailor its requests to retrieve the exact pieces of information it needs from a GitHub repository through the Gitingest-MCP interface.

How to install

Prerequisites:

Option A: Install via Smithery (recommended for MCP clients)

  1. Install via Smithery:
npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client claude --config "{}"  # Claude
npx -y @smithery/cli@latest run @puravparab/gitingest-mcp --client cursor --config "{}"   # Cursor
npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client windsurf --config "{}" # Windsurf
npx -y @smithery/cli@latest install @puravparab/gitingest-mcp --client cline --config "{}"      # Cline

Option B: Install via GitHub (uvx)

  1. Ensure you have uvx installed and accessible as uvx
  2. Configure the MCP server using the example in the README:
{
  "mcpServers": {
    "gitingest-mcp": {
      "command": "<path to uv>/uvx",
      "args": [
        "--from",
        "git+https://github.com/puravparab/gitingest-mcp",
        "gitingest-mcp"
      ]
    }
  }
}
  1. Run the server via uvx (per your environment):
uvx run gitingest-mcp

Option C: Install Manually (via GitHub repository)

  1. Clone the repository:
git clone https://github.com/puravparab/Gitingest-MCP
cd Gitingest-MCP
  1. Install dependencies as per the repository's guidance (Python/uvx tooling):
uv sync
  1. Add to MCP client configuration (see example in the README) to point to the local path of the server:
{
  "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"
      ]
    }
  }
}

Optional: If you encounter issues, consult the MCP server documentation linked in the README and verify that uv/uvx is correctly installed and accessible in your PATH.

Additional notes

Notes and tips:

  • The server is Python-based and is designed to be consumed by MCP clients through uvx (or similar MCP runners). Ensure your environment can access the gitingest-mcp package from the configured source (GitHub) if you use the --from approach.
  • When configuring the MCP client, make sure any required dependencies or editable installs are permitted in your environment, particularly if the server relies on local code in a development setup.
  • If you use Smithery to install via MCP clients, keep the client version in sync with the server you intend to run to avoid compatibility issues.
  • The configuration examples show how to point clients at the repository for quick integration; you can adjust containerization or environment variables as needed for deployment.
  • Common issues often involve PATH problems for uv/uvx, network-access restrictions when pulling from GitHub, or Python virtual environment mismatches. Validate the runtime environment and re-run installation steps if necessary.

Related MCP Servers

Sponsor this space

Reach thousands of developers