AltHub

bgauryy/octocode Alternatives

code intelligence / context retrieval for AI agents

An MCP server and CLI that gives AI coding agents evidence-backed research over local code and GitHub (ripgrep + AST + LSP, Rust engine) with token-efficient results.

942TypeScriptMITactive · last push 18d agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

bartolli/codannaGitHub

Closest drop-in peer: same CLI+MCP code-intelligence surface, Rust-native and actively maintained.

Local code intelligence MCP server and CLI for AI coding agents

742
Rust
Apache-2.0
active1mo ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

Graphify-Labs/graphifyGitHub

Pick it when you want docs, SQL and PDFs folded into one knowledge graph, not just source symbols.

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

119.7k
Python
Apache-2.0
active18d ago
colbymchenry/codegraphGitHub

Choose it if you prefer a pre-indexed graph that auto-syncs on change over on-demand ripgrep/LSP queries.

Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, CoPilot, and Hermes Agent — fewer tokens, fewer tool calls, 100% local

71.5k
C
MIT
active20d ago
vitali87/code-graph-ragGitHub

Use it for monorepo-wide graph RAG in Python if you need editable multi-language querying rather than a token-lean CLI.

The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

5.2k
Python
MIT
active16d ago
trailhq/GraftGitHub

Same agent-context job; pick it if you want a drop-in accelerator for existing Claude Code/Cursor setups instead of a separate toolset.

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

5.0k
TypeScript
MIT
active1mo ago
giancarloerra/SocratiCodeGitHub

Take it for very large polyglot repos with impact analysis, but note the AGPL-3.0 terms.

Enterprise-grade (40m+ LOC) codebase intelligence, zero-setup, local & private Plugin/Skill/Extension or MCP: hybrid semantic search, polyglot dependency graphs, symbol-level impact analysis & call-flow, interactive HTML viewer, cross-project & branch-aware search, DB/API/infra knowledge. 61% less tokens, 84% fewer calls, 37x faster. Cloud in beta.

3.3k
TypeScript
AGPL-3.0
active16d ago
zzet/gortexGitHub

Choose it when 257-language graph coverage and a Go single binary with HTTP API matter more than octocode's TS/Rust stack.

High-performance code-intelligence engine for AI agents and IDE, supports 257 languages, multi repositories, based on graph, with access via CLI, MCP Server, and API. AI coding agents teammate - expose only needed information, cutting token usage up to 50x. 100% local. Discord: https://discord.gg/39MFHu3J5d

1.6k
Go
Apache-2.0
active16d ago
harshkedia177/axonGitHub

A Python graph+MCP option if you want to extend the indexer yourself; last release cadence is slower.

Graph-powered code intelligence engine — indexes codebases into a knowledge graph, exposed via MCP tools for AI agents and a CLI for developers.

814
Python
none
active2mo ago
DeusData/codebase-memory-mcpGitHub

Pick it when sub-millisecond persistent-graph queries on a single static binary beat octocode's flexible search.

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39.8k
C
MIT
active2mo ago
oraios/serenaGitHub

Choose it if you also need agent-driven semantic editing, not just read-only research.

A powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent

29.6k
Python
NOASSERTION
active17d ago
Jakedismo/codegraph-rustGitHub

Rust graphRAG with SurrealDB if you want a self-hostable graph store; release cadence has slowed.

100% Rust implementation of code graphRAG with blazing fast AST+FastML parsing, surrealDB backend and advanced agentic code analysis tools through MCP for efficient code agent context management

884
Rust
none
slowing10mo ago
tirth8205/code-review-graphGitHub

Use it when review-time context trimming with published benchmarks is the primary goal.

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

30.7k
Python
MIT
active2mo ago
zilliztech/claude-contextGitHub

Pick it for pure vector-embedding code search, at the cost of running Milvus and an embedding provider.

Code search MCP for Claude Code. Make entire codebase the context for any coding agent.

12.5k
TypeScript
MIT
active3mo ago
yoanbernabeu/grepaiGitHub

A small C semantic-search plus call-graph option when you want zero cloud and minimal footprint.

Semantic Search & Call Graphs for AI Agents (100% Local)

1.9k
C
MIT
active22d ago
kunal12203/GrapeRootGitHub

Choose it for accumulating cross-session context graphs, though the PowerShell runtime is unusual.

Compounding Context for AI Coding Assistants — MCP graph engine for Claude Code, Cursor, Copilot, Gemini, OpenCode

1.0k
PowerShell
Apache-2.0
active1mo ago
Cranot/roam-codeGitHub

Go here for SQLite-backed graphs plus change-safety gates and audit output beyond plain search.

Local codebase intelligence CLI + MCP server for AI coding agents: SQLite code graph, 28 languages, 287 commands, 246 MCP tools, change-safety gates, audit evidence, zero API keys.

518
Python
Apache-2.0
active16d ago
cocoindex-io/cocoindex-codeGitHub

Take it as a lightweight embedded AST search engine rather than a full research platform.

A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent 🌟 Star if you like it!

2.7k
Python
Apache-2.0
active18d ago
chunkhound/chunkhoundGitHub

Pick it when you want broad engineering-context indexing in Python over a fixed toolset.

Your entire engineering context, deeply understood

1.4k
Python
MIT
active19d ago
Muvon/octocodeGitHub

Unrelated same-named project; choose it for a Rust-only binary with built-in knowledge graph if you don't need the TS layer.

Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in one Rust binary. Give Claude, Cursor, and any MCP client a deep understanding of your codebase.

476
Rust
Apache-2.0
active17d ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

jgravelle/jcodemunch-mcpGitHub

Narrower: only symbol-level GitHub retrieval over tree-sitter, so no local-repo or LSP coverage.

Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Works with Claude Code, Cursor & any MCP client. 313B+ tokens saved.

2.7k
Python
NOASSERTION
active16d ago

Listed as an alternative to

These projects were analysed and named octocode among their alternatives. The relationship is not symmetric — how octocode rates them is a separate judgement, made when octocode is analysed in its own right.

DeusData/codebase-memory-mcpGitHub

calls octocode “if you need to search both local code and GitHub in one MCP/CLI tool”

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39.8kCactive
tirth8205/code-review-graphGitHub

calls octocode “Use when you also need to search and prove context across all of GitHub, not only local repos.”

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

30.7kPythonactive
oraios/serenaGitHub

calls octocode “MCP/CLI code research tool spanning a repo and GitHub; choose it when evidence gathering across repos is the task.”

A powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent

29.6kPythonactive
zilliztech/claude-contextGitHub

calls octocode “choose it for a code research platform that spans local and GitHub, but with a different retrieval architecture.”

Code search MCP for Claude Code. Make entire codebase the context for any coding agent.

12.5kTypeScriptactive
chunkhound/chunkhoundGitHub

calls octocode “Choose when you need code research across both your code and all of GitHub via MCP or CLI.”

Your entire engineering context, deeply understood

1.4kPythonactive