← Back to directory
O

Open Codebase Index

Community
Index a codebase locally, search by meaning, and trace code relationships.
Category
Dev Tools #89 of 751
Stars
★ 236 Popular
Runtime
Node.js 22.22+
Credentials
Optional API key
License
MIT
Last commit
60FMRS · C

The README describes code indexing, hybrid search, definition and call-graph navigation, several host integrations, and local storage. The server manifest is not provided, so the canonical MCP tool names, MCP transport, and client support levels cannot be confirmed from the supplied material. The repository states that it uses the MIT license.

Strongest · Documentation 15/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
13/20
Maintenance
10/20
Documentation
15/20
Setup experience
13/20
Why each score
Reliability 9/20
The README describes search, indexing, and call-graph tools, as well as structured redacted errors, phase diagnostics, and status checks, which indicate attention to diagnosability. However, no server manifest, tool definitions, CI workflows, or key-path tests are provided, so the MCP initialization and tool-list handshake and the match between declared and actual behavior cannot be verified statically. This warrants a substantial deduction.
Security and permissions 13/20
The material says indexes are stored locally, supports external embedding and reranking providers, and points to privacy considerations. GitHub history sync is described as an explicit read-only operation using existing gh authentication, with host isolation and cache handling when access is lost. These boundaries are reasonably clear. Without the manifest, implementation, or permission configuration, actual tool access and data flows cannot be verified, so the score is limited. The supplied material does not show a red-line behavior.
Maintenance 10/20
The supplied metadata says the project is not archived, uses the MIT license, and has 11 open issues. The README also links to release, development, and security documentation. No commit history, release cadence, issue response record, or details of the security response channel are supplied, so sustained maintenance cannot be established and points are deducted.
Documentation 15/20
The README gives host integration overviews, configuration examples, the Node.js requirement, tool purposes, provider options, troubleshooting guidance, and privacy limitations, with links to more focused documentation. Points are deducted because the linked material is not supplied, so tool parameters, costs, and detailed limits cannot be fully reviewed; the README also cannot establish implementation behavior.
Setup experience 13/20
The OpenCode path includes npm installation, a configuration example, and startup steps, and specifies Node.js 22.22 or newer. Recommended integration methods are also listed for other hosts. Points are deducted because complete connection instructions for several hosts are only linked, and no evidence of a successful local run or connection is provided. The static-review score is capped at 15.

Static review · not runReviewed 2026-12-04

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkConnects to a database

Best for

  • Developers who need semantic and keyword-based retrieval over a local codebase.
  • Users who want to follow search results through definitions and call-graph evidence.
  • Users of OpenCode, Jcode, Pi, Codex, Claude Code, or other MCP clients listed in the README.

Not for

  • Users who need a cloud-hosted index or cloud semantic history search; the README describes GitHub history as local lexical history.
  • Users seeking MCP tools for tasks unrelated to codebase search.
  • Users expecting a complete semantic index without configuring an embedding provider; the README says the first indexing run creates embeddings.

Required permissions

  • Access to the codebase files being indexed is needed for discovery, parsing, and indexing.
  • Embedding providers require the relevant service to be available; the README lists Ollama, OpenAI, Google, and custom OpenAI-compatible endpoints.
  • Optional GitHub history sync uses existing gh authentication; the README says it requires REST/GraphQL access on the selected GitHub server.

Risks and side effects

  • Search results depend on indexed content, parser coverage, embedding-provider latency, cache reuse, and indexing limits.
  • The README says ordinary status checks do not scan source files; use a freshness check when source or HEAD freshness matters.
  • External reranking submits candidates after local filtering and evidence classification; consider the provider's data handling when configuring an external service.
  • GitHub discussions are treated as untrusted evidence, not instructions; current code remains authoritative.

Setup

Before you start

Runtime:Node.js 22.22+

The README shows an OpenCode plugin configuration: install open-codebase-index, then add plugins: ["open-codebase-index"] to opencode.json for OpenCode 2.x. OpenCode 1.x (version 1.3.4 or newer) uses plugin: ["open-codebase-index"]. Node.js 22.22 or newer is required. After configuration, run /status, then /index. The README also says Codex and Claude Code can use marketplace plugins with MCP and skill guidance, but provides no configuration example for them.

Check that it works

Confirm the open-codebase-index tools are available in your client, then run index_status or codebase_context and check for the current project's index status or codebase overview.

Troubleshooting

  1. Start with /status or index_status, then run index_health_check.
  2. Retry with a normal /index; force a rebuild only if status reports incompatibility or corruption.
  3. For provider, native module, stale index, branch, or performance issues, consult the troubleshooting documentation referenced by the README.
  4. If the supervisor terminates and the client loses stdio, the README recommends starting a fresh client session before retrying.

Things to try

Once connected, you can ask your AI assistant things like:

  • Where is authentication state validated before an API request?
  • Find the code related to retry recovery.
  • Show the direct callers and callees of this function.

Use cases

Find relevant files and symbols by meaning in an unfamiliar codebase.
Look up definitions, direct callers and callees, and call paths between symbols.
Search code with incremental, branch-aware indexing that reuses unchanged content.

Overview

Open Codebase Index is a local semantic code index for OpenCode, Jcode, Pi, Codex, Claude Code, and other MCP clients. It combines embeddings, BM25 keyword search, branch filtering, symbol lookup, and a call graph to support code discovery and navigation. Its index uses SQLite, usearch vectors, and a BM25 inverted index. TypeScript handles host integration and indexing orchestration; the Rust NAPI module handles parsing, vector storage, SQLite operations, BM25 indexing, hashing, and call extraction.

Similar servers

Source revision 8664807b2edc Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/open-codebase-index.svg)](https://followmcp.com/en/servers/open-codebase-index)