Skip to content

Octocode vs XERJ

Octocode is an open-source MCP server for developer tools. XERJ is an open-source MCP server for knowledge and memory.

  • Octocode is best for onboard to an unfamiliar codebase by tracing a flow across files.
  • XERJ is best for search local code and docs from an agent.
What it is
Octocode is an open-source MCP server for developer tools.
XERJ is an open-source MCP server for knowledge and memory.
Best for
Onboard to an unfamiliar codebase by tracing a flow across files
Search local code and docs from an agent
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows
CLI, Linux, macOS, self-hosted, API
Runs
Locally
Locally
GitHub stars
19.2K
Last commit
Nov 2026
License
Apache-2.0
Open source
Good for
Onboard to an unfamiliar codebase by tracing a flow across files; List every caller and importer before refactoring a function; Find all instances of a syntax pattern across a repo
Search local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions

What Octocode does

  • Live symbol graph

    Tree-sitter extracts files, symbols and relationships directly from current source.

  • Structural search

    Finds code by AST pattern regardless of formatting or names.

  • Semantic and hybrid search

    Combines vector and keyword search with configurable reranking.

  • LSP navigation

    With --with-lsp, adds go-to-definition, references and hover from a language server.

  • Commit search

    Searches Git history by meaning to find the change that introduced a pattern.

  • Local by default

    Uses local embedding and reranking models with no API key.

What XERJ does

  • Single binary

    Search, vectors, facts and memory in one Rust program.

  • Evidence-backed answers

    Answers come with the program and evidence used.

  • Runs locally

    Works offline on a CPU, on a laptop or server.

  • Elasticsearch-compatible API

    Exposes an API compatible with Elasticsearch.

  • Reference coding

    Index open-source repos so agents consult real definitions.

  • MCP integration

    Stdio MCP server connects to a running node.

Octocode vs XERJ: questions

Is Octocode or XERJ cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Octocode and XERJ?

Octocode is an open-source MCP server for developer tools. XERJ is an open-source MCP server for knowledge and memory.