A server for semantic code search and context generation across public and private repositories using LLMs.
Most developer tooling work still happens through a UI a human drives. Octocode MCP MCP server moves it into the conversation instead. A server for semantic code search and context generation across public and private repositories using LLMs.
Evidence from your local workspace and external sources (GitHub repos, PRs, npm). One toolset: ripgrep + AST search, trees, precise reads, and LSP - as a CLI or MCP server, backed by a Rust engine for fast, token-efficient results across single files or mega-repos.
The server publishes 14 tools. What each one is for:
Skills — npx octocode skill list|install|check|info|remove for bundled Octocode skillsghSearchCode — Code and path search across GitHub by owner, repo, path, filename, extension, and match filters. Accepts 1 to 5 parallel queriesghGetFileContent — Read a GitHub file or region: full file, line range, match slice, or paginated charsghViewRepoStructure — Browse a repository's directory tree, plus opt-in repo enrichmentsghSearchRepos — Discover repositories by keywords, owner, topic, language, stars, updated, license, visibilityghSearchPullRequests — Search pull requests, or deep-read one PR: files, patches, comments, reviews, commitsghSearchIssues — Search issues, or read one issue's body and commentsghSearchCommits — Walk a repo's commit history, or compare two refs (base+head)ghListReleases — List releases + latest, with opt-in assets. Opt-in (ENABLE_RELEASES=true)ghSearchDiscussions — Search a repo's Discussions (Q&A, RFCs, announcements) via GraphQL. Opt-in (ENABLE_DISCUSSIONS=true)ghCloneRepo — 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)localSearchCode — Local code/text search returning file and line anchors. mode:"structural" runs Octocode AST shape queries (pattern or rule)octocode on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Octocode MCP's toolset — Skills, ghSearchCode, ghGetFileContent and 11 more — is a fair guide to whether it matches your workflow.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Skills | npx octocode skill list|install|check|info|remove for bundled Octocode skills |
| ghSearchCode | Code and path search across GitHub by owner, repo, path, filename, extension, and match filters. Accepts 1 to 5 parallel queries. |
| ghGetFileContent | Read a GitHub file or region: full file, line range, match slice, or paginated chars. |
| ghViewRepoStructure | Browse a repository's directory tree, plus opt-in repo enrichments. |
| ghSearchRepos | Discover repositories by keywords, owner, topic, language, stars, updated, license, visibility. |
| ghSearchPullRequests | Search pull requests, or deep-read one PR: files, patches, comments, reviews, commits. |
| ghSearchIssues | Search issues, or read one issue's body and comments. |
| ghSearchCommits | Walk a repo's commit history, or compare two refs (base+head). |
| ghListReleases | List releases + latest, with opt-in assets. **Opt-in** (ENABLE_RELEASES=true). |
| ghSearchDiscussions | Search a repo's Discussions (Q&A, RFCs, announcements) via GraphQL. **Opt-in** (ENABLE_DISCUSSIONS=true). |
| ghCloneRepo | 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). |
| localSearchCode | Local code/text search returning file and line anchors. mode:"structural" runs Octocode AST shape queries (pattern or rule). |
| localViewStructure | Browse a local directory tree: depth, filters, pagination, metadata. |
| localFindFiles | Find local files and directories by name, path, regex, extension, size, time, permissions, type. |
{
"mcpServers": {
"github-com-bgauryy-octocode": {
"command": "npx",
"args": ["-y", "octocode"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.