Skip to content
appsgit

GitHits

GitHits is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples. It has 114 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y githits.

github.com/githits-com/githits-cli (opens in a new tab)

Install GitHits

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "githits": {
      "command": "npx",
      "args": [
        "-y",
        "githits"
      ]
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --transport stdio githits -- npx -y githits

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "githits": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "githits"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "githits": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "githits"
      ]
    }
  }
}

Claude Code (remote)

claude mcp add --transport http githits "https://mcp.githits.com"

The same server is also hosted as a remote MCP endpoint, so nothing runs on your machine.

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

About GitHits

The code context layer for AI coding agents. GitHits connects AI coding agents to public open-source evidence across the full software development lifecycle: discovery, planning, research, implementation, debugging, and maintenance.

  • ai-coding-tools
  • ai-tools
  • cli
  • context-api
  • context-engineering
  • context-layer-for-ai
  • index
  • mcp
  • mcp-server
  • remote-mcp

FAQ

GitHits FAQ

Still curious? Email info@appsgit.com.

What is GitHits?

GitHits is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples. It has 114 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y githits. The source code is at github.com/githits-com/githits-cli.

How do I install the GitHits MCP server?

Add the command npx -y githits to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is GitHits free?

The server is open source under the Apache-2.0 license, so running it is free. It does not declare any required API key.

Is GitHits actively maintained?

The most recent commit was on Oct 6, 2026. The latest release is mcp-v0.27.0, published Oct 6, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.