ghcontext

MarcoMuellner/ghcontext

3.2

If you are the rightful owner of ghcontext and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

ghcontext is a Model Context Protocol server that provides real-time GitHub repository information to Large Language Models.

ghcontext (GitHub Context Provider) is a tool designed to bridge the gap between GitHub and Large Language Models (LLMs) by providing real-time access to repository information through the standardized Model Context Protocol (MCP). It ensures that AI assistants have the most up-to-date information about repositories, including private ones, by extracting API documentation, analyzing repository structures, and retrieving README contents. ghcontext is compatible with any MCP-enabled models, such as Claude and GPT, and is highly efficient due to its intelligent caching system. This tool is particularly useful for developers who need their AI assistants to have a deeper understanding of their project's architecture, design principles, and API usage patterns.

Features

  • API Documentation Extraction: Automatically identifies and extracts API documentation from READMEs and dedicated documentation files.
  • Repository Structure Analysis: Provides a map of your codebase's organization.
  • README Content Retrieval: Gets the latest documentation directly from GitHub.
  • File Content Search: Find and extract specific files or code snippets.
  • Repository Search: Discover repositories matching specific criteria.

Tools

  1. get-repository-info

    Get detailed information about a repository.

  2. get-repository-readme

    Retrieve the current README content.

  3. get-repository-api-docs

    Extract API documentation.

  4. search-repository-files

    Find files in a repository.

  5. get-file-content

    Retrieve specific file contents.