Researches local code, GitHub repositories, pull requests, issues, commits, and npm packages through MCP.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Octocode MCP.
ghSearchCodeCode and path search across GitHub by owner, repository, path, filename, extension, and match filters. Accepts 1 to 5 parallel queries.
ghGetFileContentRead a GitHub file or region: full file, line range, match slice, or paginated chars.
ghViewRepoStructureBrowse a repository's directory tree, plus opt-in repository enrichments.
ghSearchReposDiscover repositories by keywords, owner, topic, language, stars, updated, license, visibility.
ghSearchPullRequestsSearch pull requests, or deep-read one PR: files, patches, comments, reviews, commits.
ghSearchIssuesSearch issues, or read one issue's body and comments.
The bgauryy/octocode-mcp MCP server exposes one research-oriented toolset for local code, GitHub, and npm. It is intended for questions that require inspecting source, tracing changes, or comparing implementation patterns across repositories. Results are designed to provide compact context with file and line anchors rather than returning an entire codebase at once.
The server supports both external and local research. GitHub tools can search code, repositories, pull requests, issues, commits, releases, and Discussions. npm search returns package metadata and the related source repository, allowing an agent to move from package discovery to GitHub inspection. Local tools work against files and directories available to the process.
The MCP process uses the same toolset and Rust-backed engine as the projectβs CLI. A client starts the server over stdio with Node.js and sends tool calls using MCP. The tool catalog includes broad search operations followed by narrower reads, such as retrieving only a matched file region, line range, or character page.
Local code search can use ordinary text matching or structural AST queries. LSP operations provide semantic navigation such as definitions, references, callers, callees, call hierarchies, symbols, hover information, type relationships, implementations, and diagnostics. A repository can also be cloned into the local cache for local and LSP analysis; cloning is enabled by default in the CLI but must be enabled for MCP.
The README describes minification and skeletonization for reducing boilerplate in results, support for more than 70 languages, smart pagination, and secret redaction before data is returned to the model. These behaviors are part of the shared engine described by the project.
The documented prerequisite is Node.js 20.12 or newer. The MCP configuration runs the package with npx:
The bgauryy/octocode-mcp MCP server can be added through client-specific installation links for Cursor and Windsurf, or through the projectβs general installation flow. The README also shows a Claude Code command. For direct execution, the projectβs own CLI is started with npx octocode; its tools can be invoked as CLI commands as well as through MCP.
GitHub authentication is optional. Logging in with the CLI can unlock private repositories and higher GitHub API rate limits. The README says to place a GitHub token and other options in the MCP clientβs environment configuration, but the supplied material does not specify the environment variable names.
ENABLE_CLONE=true is set for MCP.Release and Discussion tools are opt-in. Repository cloning is also opt-in for MCP and requires ENABLE_CLONE=true; the CLI enables cloning by default. GitHub authentication is not required for basic operation, but unauthenticated access may not provide private-repository access or the higher rate limits available after login.
The provided material does not document a hosted endpoint, Claude Desktop compatibility, exact token environment variable names, or a license. The package configuration shown in the README uses octocode-mcp@latest; the repository name and package name should not be assumed to identify a different distribution.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/bgauryy-octocode-mcp)<a href="https://allmcps.com/mcp/bgauryy-octocode-mcp"><img src="https://allmcps.com/api/badge/bgauryy-octocode-mcp?style=directory" alt="Octocode MCP on AllMCPs" /></a>