by bgauryy
Octocode is an AI-powered developer assistant that enables advanced code research, analysis, and discovery across GitHub and NPM.
Octocode is an AI-powered code assistant designed to help developers understand and navigate complex codebases across GitHub and NPM. It provides advanced search capabilities with heuristic discovery and smart fallbacks to uncover connections between repositories and packages, regardless of privilege level.
gh auth login
and to NPM using npm login
. Octocode leverages GitHub CLI's OAuth flow, eliminating the need for personal access tokens.octocode-mcp
in your MCP configuration with the command npx octocode-mcp
.For developers, Octocode is also available as a Desktop Extension (DXT) for easy installation in AI applications like Claude Desktop. You can build the DXT package locally by cloning the repository, installing dependencies, and running yarn dxt:pack
.
Octocode can be used for various code exploration and research tasks, including:
gh auth status
for organization membership.The Perfect AI Code Assistant - Advanced Search & Discovery Across GitHub & NPM
For more details, visit octocode.ai
The perfect code assistant that can help understand anything. Octocode provides AI-powered advanced search with heuristic discovery and smart fallbacks to understand connections between repositories and NPM packages across any privilege level you have.
Instead of manually browsing repositories, ask questions like:
The most advanced AI-powered code assistant for understanding connections across the entire GitHub & NPM ecosystem. While other GitHub MCPs focus on project management or basic operations, Octocode provides unparalleled depth for code discovery and technical research.
Key Differentiators:
# Install Node.js 18.12+
brew install node # macOS
# or download from https://nodejs.org/
# Install GitHub CLI
brew install gh # macOS
# or see: https://github.com/cli/cli#installation
# Login to GitHub (opens browser)
gh auth login
# Login to NPM (for package research)
npm login
🔐 Authentication Benefits:
gh
CLI permissions{
"octocode-mcp": {
"command": "npx",
"args": ["octocode-mcp"]
}
}
That's it! Octocode automatically works with your organization's private repositories.
This project is available as a Desktop Extension (DXT) for easy installation in AI applications like Claude Desktop.
Building the DXT Package:
# Install dependencies
yarn install
# Build the DXT package
yarn dxt:pack
# Validate the manifest
yarn dxt:validate
# View package information
yarn dxt:info
# Sign the package (optional)
yarn dxt:sign
DXT Scripts:
yarn dxt:validate
- Validate the manifest.json fileyarn dxt:pack
- Build and package the extension as a .dxt fileyarn dxt:info
- Show information about the packaged extensionyarn dxt:sign
- Sign the package with a self-signed certificateyarn dxt:verify
- Verify the signature of a signed packageThe DXT package includes:
dist/index.js
)manifest.json
)package.json
)assets/logo.png
)README.md
)Building DXT from Source: To build the DXT package locally from this repository:
# Clone the repository
git clone https://github.com/bgauryy/octocode-mcp.git
cd octocode-mcp
# Install dependencies and build
yarn install
yarn build
yarn dxt:pack
The generated octocode-mcp.dxt
file can then be installed in Claude Desktop (just click on it and it will open claude desktop with the extension)
Smart Discovery Flow:
Query: "Show implementations of langgraph in node js. Make a tutorial for how to implement a simple agent using OpenAI API."
Query: "Show me how to add zustand to react application. Show examples and best practices"
Query: "How did React implement their concurrent rendering flows? How is it different from Vue.js rendering mechanism? Which is better?"
10 specialized tools working together intelligently:
Discovery: Repository Search, Package Search
Analysis: Code Search, Package Analysis, Repository Structure
Activity: Commit Search, Pull Request Search, Issue Search
Content: File Content Fetching, API Status Check
All tools feature automatic cross-referencing and intelligent fallbacks.
Effective Questions:
Pro Tips:
# Check GitHub CLI status
gh auth status
# Re-authenticate if needed
gh auth logout && gh auth login
# Check NPM access
npm whoami
# Clear NPX cache if needed
rm -rf ~/.npm/_npx
Common Solutions:
gh auth status
for organization membershipThis 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.
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by zed-industries
Provides real-time collaborative editing powered by Rust, enabling developers to edit code instantly across machines with a responsive, GPU-accelerated UI.
by cline
Provides autonomous coding assistance directly in the IDE, enabling file creation, editing, terminal command execution, browser interactions, and tool extension with user approval at each step.
by continuedev
Provides continuous AI assistance across IDEs, terminals, and CI pipelines, offering agents, chat, inline editing, and autocomplete to accelerate software development.
by github
Enables AI agents, assistants, and chatbots to interact with GitHub via natural‑language commands, providing read‑write access to repositories, issues, pull requests, workflows, security data and team activity.
by block
Automates engineering tasks by installing, executing, editing, and testing code using any large language model, providing end‑to‑end project building, debugging, workflow orchestration, and external API interaction.
by RooCodeInc
An autonomous coding agent that lives inside VS Code, capable of generating, refactoring, debugging code, managing files, running terminal commands, controlling a browser, and adapting its behavior through custom modes and instructions.
by lastmile-ai
A lightweight, composable framework for building AI agents using Model Context Protocol and simple workflow patterns.
by firebase
Provides a command‑line interface to manage, test, and deploy Firebase projects, covering hosting, databases, authentication, cloud functions, extensions, and CI/CD workflows.
by gptme
Empowers large language models to act as personal AI assistants directly inside the terminal, providing capabilities such as code execution, file manipulation, web browsing, vision, and interactive tool usage.