Git Context is a lightweight Model Context Protocol (MCP) server designed to enrich Large Language Models (LLMs) with precise, up-to-date documentation and context from Git repositories. It primarily targets GitLab, allowing AI tools to access structured information by searching repositories, retrieving specific documentation with topic filtering, and supporting multiple versions (tags/branches). By indexing repositories and storing data locally in SQLite, it enables fast and relevant responses for LLMs interacting with codebases and internal knowledge, integrating seamlessly with clients like GitHub Copilot and Kiro CLI.
主要功能
01Fast local access to indexed data using SQLite storage
02Search and retrieve documentation from GitLab repositories with topic filtering
03Seamless LLM integration via the Model Context Protocol (MCP)
04Configurable indexing behavior via `git_context.json` within repositories
05Support for multiple repository versions (tags/branches)
060 GitHub stars
使用案例
01Provide current documentation and code context from GitLab repositories to LLMs for enhanced understanding.
02Index entire GitLab groups or specific repositories to create a searchable knowledge base for AI tools.
03Enable AI assistants (e.g., GitHub Copilot, Claude Code) to search, fuzzy search, and retrieve project documentation.