npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

octocode-mcp-vscode

v16.2.0

Published

Management extension for Octocode MCP Server. Enables AI assistants to search, analyze, and understand codebases across GitHub. Supports Cursor, Windsurf, Antigravity, Cline, Roo Code, Trae, and more.

Readme

🔍🐙 Octocode

Use Octocode. Smart Search. Any Code.

Octocode.aiGitHub RepositoryReport Issues


Overview

Transform GitHub into instant AI knowledge.

Octocode is the leading AI-powered GitHub code intelligence platform. This extension simplifies the installation of the Octocode MCP Server and streamlines authentication with the Octocode MCP: Sign in to GitHub command. It configures Octocode as a local agent, enabling your AI assistant (Cursor, Antigravity, Windsurf, VS Code Copilot, Claude) to perform deep research, architectural analysis, and pattern discovery across millions of public and private repositories.

Agenda


Requirements

  • Node.js: v20 or higher
  • GitHub Account: Authorized user

🔐 Authentication & Installation

Choose the method that works best for your setup.

Option 1: VS Code OAuth (Quick Start)

✅ Best for: Users without CLI who want a quick setup. First Priority!

  1. Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P).
  2. Run Octocode MCP: Sign in to GitHub.
  3. A popup will appear with a code. Copy the code.
  4. Click the link to open the GitHub activation page.
  5. Paste the code and authorize Octocode.
  6. You're all set!

Important: After installation, please check your MCP configuration to ensure the token was set correctly.

Option 2: GitHub CLI (Recommended for Mac/Linux & Organizations)

✅ Best for: Private organizations, SSO, and existing gh users.

If you already have the GitHub CLI (gh) installed and authenticated, you are good to go! Octocode will automatically use your existing credentials.

To set this up:

  1. Install gh CLI (if not installed).
  2. Run gh auth login in your terminal.
  3. Follow the instructions to authenticate (select "GitHub.com", "HTTPS", "Yes" to authenticate with web browser).

Configuration (Mac/Linux default):

{
  "octocode": {
    "command": "npx",
    "args": [
      "octocode-mcp@latest"
    ]
  }
}

Option 3: Manual Token (Recommended for Windows)

✅ Best for: Windows users or custom token control.

  1. Generate a GitHub Token (only repo read permission is required):
  2. Add the token to your MCP configuration manually:

Configuration (Windows/Manual):

{
  "mcpServers": {
    "octocode": {
      "command": "npx",
      "args": ["octocode-mcp@latest"],
      "env": {
        "GITHUB_TOKEN": "ghp_your_token_here"
      }
    }
  }
}

Prompts Menu

Start with /help or /init to get started!

/init

Context Gathering Interactive interview to establish user role, goals, and constraints. Creates .octocode/context/context.md.

/research

Code Forensics & Discovery Deep code discovery, pattern analysis, and bug investigation. Uses parallel bulk queries & staged analysis to prove flows.

/plan

Adaptive Research & Implementation Research, Plan & Implement complex tasks. Breaks down tasks, finds patterns, and guides execution (Interactive/Auto).

/generate

App Scaffolding Research-driven stack selection and project setup. "Measure twice, cut once" approach to new projects.

/review_pull_request

PR Review (Args: prUrl) Defects-First PR review. Focuses on bugs, security, complexity, and code quality.

/review_security

Security Audit (Args: repoUrl) Risk assessment and vulnerability surfacing. Maps attack surface and investigates specific risks.


Tools Available

All tools support bulk operations (1–5 queries).

| Tool | Purpose | Key Args | |------|---------|----------| | ghSearchRepos | DISCOVER: Find repos | stars, topicsToSearch | | ghViewRepoStructure | EXPLORE: Map layout | depth, path | | ghSearchCode | SEARCH: Find patterns | keywordsToSearch, match="path"\|"file" | | ghGetFileContent | ANALYZE: Read logic | matchString, startLine | | ghSearchPRs | HISTORY: PR context | prNumber, state, diff | | npmSearch | DEPS: Library meta | query |

Note: Octocode also supports NPM for smart research and dependency analysis.


Supported IDEs & AI Assistants

This extension works with all major AI-powered editors and assistants:

| IDE | Status | Config Location | |-----|--------|-----------------| | Cursor | Native MCP | ~/.cursor/mcp.json | | Windsurf | Native MCP | ~/.codeium/windsurf/mcp_config.json | | Trae | Native MCP | Platform-specific* | | Antigravity | Native MCP | ~/.gemini/antigravity/mcp_config.json | | VS Code | Via Claude Desktop | Platform-specific* |

  • Trae: macOS: ~/Library/Application Support/Trae/mcp.json · Windows: %APPDATA%/Trae/mcp.json · Linux: ~/.config/Trae/mcp.json
  • VS Code: Falls back to Claude Desktop config · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%/Claude/claude_desktop_config.json · Linux: ~/.config/Claude/claude_desktop_config.json

Documentation

Troubleshooting & More Info

For more details on features, prompts, tutorials, and documentation, visit octocode.ai.

For installation help: https://octocode.ai/?auth=cli#installation


Privacy & Telemetry

Octocode collects de-identified telemetry data to improve the tool, including command usage and error rates. We never collect source code, environment variables, or PII.

You can opt-out at any time:

export LOG=false

For full details, please read our Privacy Policy and Terms of Usage.


License

This project is licensed under the MIT License.

Copyright © 2026 Octocode AI.

See LICENSE for details.