CodeNib MCP Server
Enables building and deploying the repository wiki and context artifact as a static site to GitHub Pages via a provided workflow.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CodeNib MCP ServerFind all symbols that import from the database module"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Quickstart
Requires Python 3.10+, Git, a clean repository, and Claude Code or Codex.
python -m pip install "codenib[graph,mcp]"
codenib codegraph init /path/to/your/repoThen ask your agent: “Use CodeNib's explore_context to find where request
retry behavior is implemented. Cite the files and lines.”
This shipping path builds local search and a typed symbol graph, then connects installed agent clients. It needs no model, API key, or GPU for CodeNib; your agent uses its own model. It is separate from the grep/Jev experiment above. Language toolchain and project prerequisites vary.
Setup and troubleshooting · Source exclusions · All MCP tools · Local Wiki
Related MCP server: scplus-mcp
Why CodeNib
Inspect the evidence. Retrieve bounded code context with file and line references, then follow callers, callees, definitions, and references.
Use the same tools across languages. The registry tracks 14 language entries, including 12 with graph backends. Check capability and setup differences in the language matrix.
Compare methods on the same source. Pinned agent contracts, datasets, and scorer checks make the reproduction surface inspectable.
Share what you found. Export a Wiki with source citations to your own GitHub Pages, or browse the public examples.
How it compares
What an agent can ask each tool, checked against upstream docs on 2026-09-28. This compares capabilities, not benchmark scores.
Tool | Ask in plain language | Callers/callees beyond one hop | Relationships resolved by | Runs |
grep / read | No; literal or regex | No | Text match | Local |
CodeNib CodeGraph | Yes; ranked source anchors ( | Yes; one call, depth ≤ 8 ( | SCIP/LSP indexers (compiler-resolved) | Local |
No; symbol name or regex | One level per call ( | Live language server or IDE | Local | |
Yes; FTS5 full-text ( | Yes; call paths in | Tree-sitter AST extraction | Local; telemetry opt-out | |
Yes; generated answers ( | No structured graph tools | Generated Wiki | Hosted |
None of these repository tools needs its own model or API key; your agent uses its own model. Detailed comparison, sources and boundaries. CodeNib 0.2.4 also includes an optional grep → Jev route using OpenRouter for planning and reranking; selected code goes to remote models. Authorization previews remain opt-in. The historical research result above is separate from the product evaluation and the model-free CodeGraph row.
Languages
Graph backends: Python, Go, Rust, C/C++, C#, Java, Ruby, PHP, Kotlin, Scala, JavaScript, and TypeScript. Swift and Lua support chunking/retrieval. Provider prerequisites and coverage differ by language.
The generated language matrix separates chunking, graph backends, incremental-backend support, and decoder parity. The product currently reuses or rebuilds views; file-level delta repair is not enabled.
Results and reproductions
Start here | What you can inspect |
100-issue retrieval comparison, candidate controls, model use and limitations | |
Revision-pinned LocAgent, Agentless, CoSIL, OrcaLoca and RepoNavigator contracts; compatibility does not imply reproduced paper scores | |
CodeNib Base/Synthesis, SWE-bench variants, Loc-Bench and SWE-Explore support | |
1,020/1,020 real-output metric cells match the pinned official evaluator on a fixed 20-case run | |
Local Wiki, CodeGraph and model serving on GB10; a deployment guide, not a token-saving benchmark |
Documentation and community
Documentation · Architecture · Contributing · CI and testing · Changelog · Discord
CodeNib is in beta; public interfaces may change before a stable release. Historical research artifacts retain their published dataset identifiers.
Citation
If you use CodeNib in your research, please cite our arXiv paper:
@misc{yu2026codenibmultiviewdataserving,
title={CodeNib: A Multi-View Data System for Serving Repository Context to Coding Agents},
author={Zhongming Yu and Hengjia Yu and Boqin Yuan and Shuting Zhao and Yizhao Chen and Aryan Dokania and Mihir Jagtap and Jiayu Chang and Yitong Ma and Yash Jayswal and Wentao Ni and Hejia Zhang and Zhaoling Chen and Gangda Deng and Jishen Zhao},
year={2026},
eprint={2607.25431},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/2607.25431},
}CodeNib is licensed under Apache 2.0.
This server cannot be deployed
Maintenance
Related MCP Connectors
Repository knowledge graph MCP server for codebase understanding and debugging.
An MCP server that gives your AI access to the source code and docs of all public github repos
Search GitHub, npm, PyPI, StackOverflow, ArXiv from one MCP — built for coding agents.
Search indexed code, trace dependencies, assess change impact, and recall repository memory.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAgent-safe code retrieval MCP server that indexes repositories and provides semantic search, file navigation, call graph analysis, and bounded file reading tools for coding agents.4,964,314 npm3AGPL 3.0
- AlicenseBqualityDmaintenanceA local code-intelligence MCP server that provides structural, exact-query, related-search, and research capabilities from a validated repo-local index, enabling agents to perform deterministic lookups, semantic search, and code analysis.21MIT
- AlicenseNot gradedqualityDmaintenanceSemantic + lexical code search as an MCP server. Agents query in natural language and get back ranked file:line ranges to read precisely.8 npm1MIT
- AlicenseNot gradedqualityDmaintenanceIndexes a codebase into a live symbol graph and serves it via MCP to AI coding tools for context-aware code queries.7 npm1MIT