octocode-mcp and codebase-memory-mcp
These are **complements** — one provides real-time semantic search across repositories while the other builds a persistent knowledge graph for sub-millisecond local queries, so they address different query patterns (ad-hoc vs. repeated analysis) and can be combined for comprehensive codebase understanding.
About octocode-mcp
bgauryy/octocode-mcp
MCP server for semantic code research and context generation on real-time using LLM patterns | Search naturally across public & private repos based on your permissions | Transform any accessible codebase/s into AI-optimized knowledge on simple and complex flows | Find real implementations and live docs from anywhere
Implements MCP (Model Context Protocol) with LSP-powered code intelligence (Go to Definition, Find References, Call Hierarchy) across GitHub, GitLab, and local codebases, enabling compiler-level understanding without parsing. Provides modular Agent Skills—including multi-phase research with session persistence, AST-driven code analysis, dependency graphing, and PR review across seven domains—composable via CLI or direct integration into Claude/Cursor.
About codebase-memory-mcp
DeusData/codebase-memory-mcp
MCP server that indexes your codebase into a persistent knowledge graph. 64 languages, sub-ms queries, 99% fewer tokens than grep. Single Go binary, no Docker, no API keys.
Builds an AST-based knowledge graph using tree-sitter parsers with optional LSP-style type resolution for Go, C, and C++, persisting the graph to in-memory SQLite for sub-millisecond structural queries. Indexes codebases at extreme speed through RAM-first pipeline with LZ4 compression and fused Aho-Corasick pattern matching, completing the Linux kernel in 3 minutes. Implements the Model Context Protocol with 14 tools including architecture analysis, call graph tracing, impact mapping from git diffs, and Cypher-like graph queries—integrating with 10 coding agents (Claude Code, Zed, Gemini CLI, and others) through automatic MCP configuration on install.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work