#146146th of 155 in MCP servers for developers
octocode
Code research toolset for agents, as an MCP server and CLI
- Stars
- 966
- License
- MIT
- Last commit
- Aug 2026
- Last release
- Dec 2025
- Language
- TypeScript
792 on 29 Apr 2026966 on 18 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Octocode gives coding agents one set of tools for searching and reading code, both local files and external sources (GitHub repos, PRs, commits, issues, npm). It combines ripgrep, AST search, directory trees, minified reads and LSP navigation, backed by a prebuilt Rust engine. It runs over stdio as an MCP server or as a CLI that returns YAML, and redacts secrets before output reaches the model.
Who it is for: Developers giving coding agents code search across local repos and GitHub
Strengths
- Same tools via MCP and CLI; 8 to 17 tools depending on flags
- Minifies or skeletonizes code across 70+ languages to save tokens
- Local AST search, LSP navigation and dead-code detection beside GitHub search
- Scans output and redacts secrets before it reaches the model
Weaknesses
- GitHub tools need auth (OAuth, gh CLI or token) for private repos and rate limits
- Local tools and clone are off by default on MCP; need env flags
- Two tools need both ENABLE_* and ENABLE_TOOLS settings to register on MCP
- LSP navigation depends on separately installed language servers
What it needs
- no GPU
- Needs Node.js 20.12+, GitHub token (optional), Language servers for LSP tools
What changed
- 9.1.0 ↗ (opens in a new tab)Breaking
“GitHubReposSearch Validation - Now requires at least one of keywordsToSearch or topicsToSearch”
- 8.0.0 ↗ (opens in a new tab)Breaking
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- lspSearch callers: an implementing method's own declaration is reported as a caller of the interface method ↗ (opens in a new tab)1 reactions
- lspSearch documentSymbols waits ~400 ms per file it doesn't need to ↗ (opens in a new tab)1 reactions
- Graph: calls to private methods (`this.#x()`) are not recorded ↗ (opens in a new tab)1 reactions
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in MCP servers for developers
See all 155| Rank | Project | Score |
|---|---|---|
| 1 | codegraphLocal code knowledge graph that coding agents query over MCP | 97 out of 100 |
| 2 | gitnexusCode knowledge graph exposed to coding agents through MCP tools | 97 out of 100 |
| 3 | playwright-mcpMCP server that lets LLMs drive a browser through Playwright accessibility snapshots | 93 out of 100 |
| #4 | code-review-graphLocal Tree-sitter code graph that gives coding assistants review context over MCP | 92 out of 100 |
| #5 | serenaMCP server giving coding agents symbol-level code search, editing and refactoring | 92 out of 100 |