
octocode-mcp
by bgauryy·★ 832·Score 52
MCP server for semantic code research across GitHub/GitLab and local repositories with advanced LSP integration.
Overview
Octocode MCP Server connects AI assistants to codebases through GitHub, GitLab, and local tools. It provides semantic code research, context generation, and AI-optimized knowledge transformation. The server supports LSP intelligence for compiler-level understanding, including go-to-definition, find references, and call hierarchy features. It offers multiple specialized skills for code exploration, engineering, planning, documentation, and review workflows.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this if you're already using GitHub/GitLab and need AI-powered code search and analysis with context-aware development assistance.
When NOT to choose this
Don't choose this if you need to work with code outside GitHub/GitLab or if you require a standalone code analysis solution without cloud dependencies.
Tools this server exposes
12 tools extracted from the READMEsearch_repositoriesSearch repositories across GitHub & GitLab
find_usage_patternsFind usage patterns of code across repositories
read_implementationsRead implementations of specific code patterns
explore_pull_requestsExplore pull requests in repositories
search_local_codeSearch code in local codebase
browse_directoriesBrowse directories in local codebase
find_filesFind files in local codebase
go_to_definitionNavigate to definition of code using LSP
find_referencesFind references to code using LSP
call_hierarchyExplore call hierarchy using LSP
code_researchPerform multi-phase research with sessions and checkpoints
code_analysisAnalyze code using AST and dependency graph
Note: Tool names inferred from skill descriptions and MCP server functionality documented in the README. The exact MCP tool names and signatures are not explicitly listed in the provided documentation.
Comparable tools
Installation
Installation
Recommended: Octocode CLI
npx octocode-cli installManual MCP Configuration
Add to your MCP configuration file:
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": ["octocode-mcp@latest"]
}
}
}FAQ
- What authentication is required?
- GitHub authentication is required. See the Authentication Setup documentation for OAuth configuration.
- What IDEs are supported?
- The CLI supports non-interactive installation for IDEs like Cursor. Manual configuration works with any MCP-compatible client.
On Hacker News
Recent discussion from the developer community.
- Story by bgauryy · 2025-11-03
Compare octocode-mcp with
Last updated · Auto-generated from public README + GitHub signals.