Ranked codebase search and static symbol navigation for coding agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Point it at any repo, get a searchable Wiki and an MCP server for your coding agent.
Quickstart Β Β·Β Website Β Β·Β Discord Β Β·Β Documentation Β Β·Β News Β Β·Β CodeGraph Β Β·Β MCP Β Β·Β Agent Integrations Β Β·Β Languages
That one command detects the repository languages, installs the pinned package-level graph providers it can manage, builds BM25 plus a source-linked symbol graph, and registers the resulting MCP server with installed Codex and Claude Code clients. It is local, open source, requires no model or cloud, and does not write configuration or indexes into the target repository.
| Layer | Responsibility |
|---|---|
| View compiler | Chunk source and materialize BM25, dense, graph, and navigation views; reuse current artifacts and atomically rebuild affected views |
| View manifest | Record repository identity, source fingerprint, builder profile, capabilities, status, and artifact location independently for each view |
| Context serving | Execute lexical, semantic, hybrid, reranked, and structural query plans while preserving repository-relative source locations |
| Agent runtime | Expose capability-aware MCP and LSP-shaped tools, assemble bounded evidence, and return citations that agents and humans can inspect |
On a later commit, CodeNib reuses views whose source and builder identities are still current. A requested view affected by source or policy changes currently rebuilds in an isolated generation; file- and symbol-level delta repair remains disabled until it can use the same pinned source authority.
Requires Python 3.10+ and Git. For an agent-ready CodeGraph with no model or API key, install the graph and MCP extras and run one command:
codegraph init detects Codex and Claude Code, installs only the detected
languages' package-managed providers, builds reusable bm25 and
symbol_graph views, and asks each native client CLI to own its configuration.
Run codenib codegraph status /path/to/repository to diagnose the complete
path or codenib codegraph uninstall /path/to/repository to remove only the
managed client registrations. The index remains reusable.
Repositories can persist exact root-relative subtree exclusions when generated or vendored content should not be indexed:
Paths use repository-relative POSIX spelling (/) and name exact subtrees,
not globs. Repeat --exclude-dir to replace the complete custom exclusion set. Later
init and index runs reuse that policy from the manifest; use
--clear-exclude-dirs to return to the default source surface. CodeNib does not
implicitly treat .gitignore as an indexing policy, because tracked and local
ignored source can still be intentional input.
Zoekt supports the default source policy only when its fixed commit tree
exactly matches the authenticated checkout and contains no tracked path that
the default policy excludes. It does not currently support a non-empty custom
exclusion set. A command that explicitly requests the zoekt view, including
--preset full, fails closed when either condition is unmet; use the
CodeGraph, fast, or semantic paths instead. Authenticated MCP serving for
Zoekt currently requires Linux /proc; see the
source-surface boundaries.
For a browser Wiki with hybrid BM25+dense retrieval, install the semantic extra:
Both paths keep reusable state under ~/.codenib/repositories and leave the
target checkout unchanged. Set CODENIB_HOME to relocate state.
Preview the CodeGraph operations without installing, indexing, or configuring an agent:
For a structural view, CodeNib detects the repository languages and manages only their package-level providers; operating-system and project prerequisites remain explicit:
Export that indexed commit as a serverless Wiki when a live Ask backend is not needed:
The export contains a versioned provenance manifest, precomputed Wiki pages, source citations, and available page-level dependency data. It contains no provider credential; interactive Ask and runtime graph exploration remain on the local or MCP serving path.
For a repository-hosted Wiki, CodeNib also ships a reusable GitHub workflow
that builds or reuses the same manifest, deploys the static site to Pages,
and uploads the matching commit-addressed context artifact. Its default
semantic route builds BM25 and vector views with a cached local Hugging Face
model and needs no API key. An explicit fast route avoids the model download;
a BYO OpenAI-compatible endpoint can replace local embedding. Query-time search
remains in the local or MCP runtime. See
GitHub Pages.
The published BM25/vector artifact can then be verified against an exact local
checkout and served through MCP without rebuilding the repository views.
See the Quickstart for ports, advanced indexing, and troubleshooting.
The recommended path configures installed Codex and Claude Code clients through their native CLIs:
Ask the agent to start with explore_context for bounded, source-verified
repository context and use dependency_subgraph for caller impact or callee
dependencies. The MCP server also exposes ranked BM25, regex, definition,
reference, route, and bounded source-read tools. See the
CodeGraph guide for client scopes,
diagnostics, uninstall behavior, and language prerequisites, and the
MCP Server for the complete tool contract.
The same planner is available directly to Python agents:
Each result includes source-validated evidence plus the selected plan, capabilities, loaded views, fusion, graph, and reranking trace.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/codenib)<a href="https://allmcps.com/mcp/codenib"><img src="https://allmcps.com/api/badge/codenib?style=directory" alt="CodeNib on AllMCPs" /></a>