github-second-brain

github-second-brain

3.3

If you are the rightful owner of github-second-brain 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.

GitHub Second Brain is a developer partner for navigating and understanding GitHub repositories, providing deep insights into codebase, history, and project context.

GitHub Second Brain is an open-source tool designed to enhance the capabilities of AI assistants by providing them with seamless access to GitHub repositories. It allows AI to retrieve documentation, understand code structures, and answer questions accurately without hallucinations. The tool is open, free, and private, ensuring user data is not collected or stored. It is primarily tested on Windows, with potential compatibility on Linux and Mac. Users can self-host the server locally, utilizing FastAPI and MCP server technologies to connect AI assistants to GitHub repositories. The tool aims to improve AI's understanding of codebases, making it a valuable asset for developers seeking to leverage AI in their workflow.

Features

  • Latest Documentation on ANY GitHub Project: Provides AI assistants with access to GitHub project's documentation and code, using built-in retrieval tools to manage context window limits.
  • No More Hallucinations: Ensures AI assistants provide accurate and relevant answers to questions by leveraging GitHub Second Brain's capabilities.
  • Open, Free, and Private: The tool is open-source, free to use, and does not collect personal information or store queries, with options for self-hosting.

Tools

  1. get_processed_repo

    Provides AI with the entire codebase in a single text file, useful for small repos and general questions.

  2. get_tree_directory

    Gives AI the full tree directory of the codebase in plaintext, useful for understanding repo structure.

  3. get_file_content

    Returns full content of any files visible in the tree directory, useful for specific technical questions.