index_repository
Index a GitHub repository to analyze its codebase. This must be done before asking questions about the repository.
Ask a repository you have never cloned how it works, and keep asking — the follow-up carries the conversation with it.
LABSCO SUMMARY
index_repository does the work up front and query_repository answers against it, so evaluating a dependency starts with a question rather than a checkout and a grep. Because each question carries conversation_history, the second one builds on the first instead of arriving cold.
Two tools in sequence: index a GitHub repository from its URL, then ask questions about that codebase and get AI answers back.
uv on your PATH, which resolves the Python runtime through UV_PYTHON, and the URL of the repository. Indexing has to run before the first question.
One command — pip install github-chat-mcp
USE CASES
Index the repository from its URL, then ask the questions you would otherwise answer by cloning and grepping — what it depends on, how it handles the case you care about.
Ask the next question against the repository already indexed, passing the conversation history so the follow-up does not have to restate what was just established.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
index_repositoryIndex a GitHub repository to analyze its codebase. This must be done before asking questions about the repository.
query_repositoryAsk questions about a GitHub repository and receive detailed AI responses. The repository must be indexed first.
BEFORE YOU INSTALL
2 tools when we connected.
uvx on PATH
All 3 documented setups run the server on your machine.
CONTEXT COST
Rated by the size of the 2 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
pip install github-chat-mcp{
"mcpServers": {
"github-chat": {
"command": "uvx",
"args": [
"github-chat-mcp"
]
}
}
}{
"mcpServers": {
"github-chat": {
"command": "uvx",
"args": [
"github-chat-mcp"
],
"env": {}
}
}
}{
"mcpServers": {
"github-chat": {
"command": "uv",
"args": [
"--directory",
"<YOUR_PATH_TO_PARENT_FOLDER_GITHUB_CHAT>",
"run",
"github-chat-mcp"
],
"env": {}
}
}
}