Recent Major Update
- Legacy version: Available on
legacy/v1-archivebranch - Current version: Main branch (v2.0+)
- Migration guide: See MIGRATION.md
Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
legacy/v1-archive branchProviding tools to AI to explore github codebase like agent
main - Current refactored versionlegacy/v1-archive - Original architecture (frozen)When I first started contributing to an open-source project to gain more experience, the repo was just too big for a first-timer, and I felt completely overwhelmed. I wanted to use an AI assistant to help me navigate, but I had no good way to provide the necessary context.
A self-hosted mcp server that gives an AI client a set of tools to explore and understand GitHub repos on its own.
😎 Latest Documentation on ANY GitHub Project: Grant your AI assistant seamless access to the GitHub project's documentation and code. The built-in retrieval tools help the AI gets tree directory and specific file content without exceeding Context Window Limit!
🧠 No More Hallucinations: With Github Second Brain, your AI assistant can provide accurate and relevant answers to your questions.
✅ Open, Free, and Private: Github Second Brain is open-source and completely free to use. It doesn't collect personal information or store queries. This is completely self-hosted!
Extracting and analyzing data from GitHub repositories.
Before you begin, ensure you have met the following requirements:
docker logout ghcr.io.{
"mcpServers": {
"github-second-brain": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/baonguyen09/github-second-brain:latest"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_PERSONAL_GITHUB_ACCESS_TOKEN"
}
}
}
}
Update your Cursor configuration file at ~/.cursor/mcp.json:
{
"mcpServers": {
"github-second-brain": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/baonguyen09/github-second-brain:latest"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_PERSONAL_GITHUB_ACCESS_TOKEN"
}
}
}
}
Github Second Brain connects your AI assistant to GitHub repositories using the Model Context Protocol (MCP), a standard that lets AI tools request additional information from external sources. What happens when you use Github Second Brain:
We are continuously working to improve GitHub Second Brain. Here are some of our planned features:
For a more detailed view of our upcoming features and to suggest new ones, please see the open issues and our project board.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
[email protected] .If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Please read our Contributing Guidelines for detailed instructions on how to contribute, our coding standards, and the pull request process. Also, please review our Code of Conduct to understand the community standards we uphold.
Github Second Brain provides AI assistants with several valuable tools to help them access, understand, and query GitHub repositories.
get_processed_repo (deprecated)This tool gives AI the entire codebase ingested into one prompt-friendly text file. It works by ingesting the entire codebase with gitingest library and serving it directly. This gives the AI a good comprehensive look of what the project is about. However, this tool isn't recommended and will soon be disabled because it can easily overflow AI with data, exceeding its Context Window Limit.
When it's useful: For small repos, and to ask any types of questions: overview of the repo, how to contribute, etc.
get_tree_directoryThis tool gives AI the full tree directory of the codebase in plaintext with indentation. Instead of loading all the documentation (which could be very large), it can use this to understand the overview of the repo, and then use other tools to retrieve relevant parts only.
When it's useful: For questions about the structure of the repositories.
get_repo_contentsThis tool returns full content of any files/directories existing in the repository.
When it's useful: For specific questions about particular features, functions, concepts within a project, or any technical details not coverted in the documentation.
get_issue_contextThis tool returns detailed context of any github issues including title, body, metadata, and all the comments within that issue.
When it's useful: For questions related to a github issue and the context around it.
get_code_diffThis tool returns detailed diff of any github pull request, different branches, tags, and commits
When it's useful: For questions related to a github pull request or code versions (between branches/tags/releases)
This project is licensed under the Apache License 2.0.
We would like to thank the following individuals and projects for their contributions and inspiration:
Github Second Brain is provided "as is" without warranty of any kind. While we strive to ensure the reliability and security of our service, we are not responsible for any damages or issues that may arise from its use. GitHub projects accessed through Github Second Brain are subject to their respective owners' terms and conditions. Github Second Brain is not affiliated with GitHub or any of the mentioned AI tools.
Providing tools to AI to explore github codebase like agent
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
Github Second Brain ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-10-28 Providing tools to AI to explore github codebase like agent