git_diff
Get a diff between two branches or commits
Read any public GitHub repository from the chat — structure, file contents, search hits and diffs between branches.
LABSCO SUMMARY
It gives an assistant the four moves you would make in a browser tab — see the tree, open the file, search the code, compare two branches — without leaving the conversation or waiting on a clone.
An MCP server that exposes GitHub repository contents and metadata to a client, with optional local cloning and caching so repeated reads of the same repo do not re-fetch everything.
npx @trishchuk/github-explorer-mcp for stdio, a separate entry point for HTTP/SSE mode, or the Docker image on port 3000. The published npx and Docker setups take no key or token.
One command — npx -y @trishchuk/github-explorer-mcp
USE CASES
Start with the summary and the directory tree, so the first question about a codebase is answered by its actual layout.
Name the files and get their contents back, instead of pasting them in by hand from the GitHub web view.
Search the repository's contents for a symbol or string and go straight to the file that defines it.
Diff two branches or two commits and read the change set in the conversation where you are discussing it.
Locate the implementation by search, then read that file at the branch you care about.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
git_diffGet a diff between two branches or commits
git_searchSearch for content within a GitHub repository
github_directory_structureGet the tree structure of a GitHub repository with a nice ASCII tree visualization
github_read_important_filesGet the content of specific files from a GitHub repository
github_repository_summaryGet a summary of a GitHub repository
BEFORE YOU INSTALL
5 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 5 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"github-explorer-mcp": {
"command": "npx",
"args": [
"-y",
"@trishchuk/github-explorer-mcp"
]
}
}
}npx -y @trishchuk/github-explorer-mcp