Project Brain MCP
Allows scanning and querying code from GitHub repositories, providing tools like scan_repo_structure, identify_key_files, explain_auth_flow, and ask_codebase to analyze and understand codebases.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Project Brain MCPScan repo structure of https://github.com/org/project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🧠 Project Brain MCP
An MCP server that reads any codebase and explains it using AI. Point it at any github repo url / local project folder and ask questions in plain language.
🔧 Tools
Tool | What it does |
| Scans the folder tree + explains the project architecture |
| Finds the most important files for a new developer to read |
| Reads auth-related files and explains login, tokens, and permissions |
| Answer any question grounded in the actual code |
Related MCP server: reference-mcp
🛠️ Setup
1. Install dependencies
npm install2. Set your API key
cp .env.example .env
# Edit .env and add your ANTHROPIC_API_KEY3. Build
npm run build4. Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"project-brain": {
"command": "node",
"args": ["/absolute/path/to/project-brain-mcp/build/index.js"],
"env": {
"GEMINI_API_KEY": "sk-ant-your-key-here"
}
}
}
}Restart Claude Desktop. The 4 tools will appear automatically.
📝 Example prompts
Scan the structure of https://github.com/username/repo-name
What are the key files I should read in this repo?
Explain the auth flow in /Users/me/projects/my-api
How does payment processing work in /Users/me/projects/my-shop?🖥️ Development
npm run dev # watch mode (recompiles on save)
npm run build # production buildThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP server that analyzes local or remote GitHub repositories, providing intelligent code context and structure to AI coding assistants.Last updated1013MIT
- AlicenseAqualityBmaintenanceAn MCP server that helps AI agents comprehend a codebase by providing tools for navigating, searching, and understanding code structure and history.Last updated10MIT
- Alicense-qualityDmaintenanceA self-hosted MCP server that indexes your codebase and provides AI assistants with deep context including file tree, full-text search, git history, dependencies, and stack detection, all without sending your code to third parties.Last updated71MIT
- Alicense-qualityDmaintenanceAn MCP server that gives LLMs structured, read-only insight into local code repositories — directory tree, languages, dependencies, scripts, and config files.Last updatedMIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/avilashsaha035/project-brain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server