(by Guy Bary) AI-powered developer assistant that enables advanced code research, analysis and discovery across GitHub and NPM realms in realtime
The Perfect AI Code Assistant - Advanced Search & Discovery Across GitHub
The perfect code assistant that can help understand anything. Transform your AI assistant into an expert code researcher with instant access to millions of repositories and packages across GitHub and npm ecosystems.
Instead of manually browsing repositories, ask questions like:
Navigate complex multi-repo architectures, understand organizational issues at scale, and generate custom documentation on-demand from real code examples. Create contextual documentation directly in your IDE, or ask OctoCode to learn from any repository and implement similar patterns in your current project.
Gain unprecedented visibility into application behavior through semantic code search, track development progress across teams, and understand the real implementation behind product features.
Discover security patterns, vulnerabilities, and compliance issues across both public and private repositories with advanced pattern matching and cross-codebase analysis.
Dramatically increase development velocity by enabling teams to instantly learn from existing codebases, understand cross-team implementations, and replicate proven patternsβtransforming institutional knowledge into actionable development acceleration.
Zero-Configuration Setup - Works with existing GitHub CLI authentication, no personal access tokens needed
Enterprise-Ready Security - Respects organizational permissions with content sanitization
AI Token Optimization - Reduces AI costs by through intelligent content processing
Cross-Platform Excellence - Native Windows PowerShell support with automatic path detection
Universal Access - Works seamlessly with public, private, and organization repositories
macOS/Linux:
# Install Node.js 18.12+
brew install node
# Install GitHub CLI
brew install gh
Windows:
# Install using WinGet (recommended)
winget install Microsoft.PowerShell # PowerShell 7+ for better security
winget install GitHub.cli
winget install OpenJS.NodeJS
# Or using Chocolatey
choco install powershell-core nodejs github-cli
# Or using Scoop
scoop install gh nodejs
# Login to GitHub (opens browser)
gh auth login
# Login to NPM (for package research)
npm login
# For Claude Desktop users
claude mcp add octocode npx 'octocode-mcp@latest'
{
"octocode-mcp": {
"command": "npx",
"args": ["octocode-mcp"]
}
}
That's it! Octocode automatically works with your organization's private repositories.
Run Octocode MCP in a Docker container while maintaining full GitHub CLI authentication. Perfect for consistent environments and deployment.
π For detailed technical architecture, tool specifications, and implementation details, see Technical Summary
This project is available as a Desktop Extension (DXT) for easy installation in AI applications like Claude Desktop.
# Install dependencies
yarn install
# Build the DXT package
yarn dxt:pack
The generated octocode-mcp.dxt
file can be installed in Claude Desktop by simply clicking on it.
DXT Scripts:
yarn dxt:validate
- Validate the manifest.json fileyarn dxt:pack
- Build and package the extensionyarn dxt:release
- Full release pipeline (build β pack β sign β verify)Ask Natural Questions:
Let AI Guide Discovery:
Cross-Platform Commands:
# Check GitHub CLI status
gh auth status
# Re-authenticate if needed
gh auth logout && gh auth login
# Check NPM access
npm whoami
Windows-Specific:
# Check PowerShell version (7+ recommended)
$PSVersionTable.PSVersion
# Test executable detection
where.exe gh
where.exe npm
Common Solutions:
gh auth status
for organization membershipπ For comprehensive security architecture details, see Technical Summary
This project started as a personal tool while working at Wix, born from the challenge of navigating large codebases and keeping up with rapidly evolving technology landscapes. What began as a side project evolved into the perfect code assistant that can help understand anything.
The goal: make code exploration as intelligent as having a senior developer guide you through any codebase.
MIT License - See LICENSE for details.