Code and path search across GitHub by owner, repo, path, filename, extension, and match filters. Accepts 1 to 5 parallel queries.
Read a GitHub file or region: full file, line range, match slice, or paginated chars.
Browse a repository's directory tree, plus opt-in repo enrichments.
Discover repositories by keywords, owner, topic, language, stars, updated, license, visibility.
Search pull requests, or deep-read one PR: files, patches, comments, reviews, commits.
Search issues, or read one issue's body and comments.
Walk a repo's commit history, or compare two refs (`base`+`head`).
List releases + latest, with opt-in assets. **Opt-in** (`ENABLE_RELEASES=true`).
Search a repo's Discussions (Q&A, RFCs, announcements) via GraphQL. **Opt-in** (`ENABLE_DISCUSSIONS=true`).
Clone a repo or sparse subtree into the local cache for local/LSP analysis. **Opt-in** on MCP (`ENABLE_CLONE=true`; CLI on by default).
Local code/text search returning file and line anchors. `mode:"structural"` runs Octocode AST shape queries (`pattern` or `rule`).
Browse a local directory tree: depth, filters, pagination, metadata.
+5 more tools listed on main page