Nella
/install nella
Nella MCP
Nella is a codebase intelligence layer for AI coding agents. It exposes the repository as a set of searchable, structured tools over the Model Context Protocol, so an agent can ground its reasoning in the actual code rather than guessing from filenames or partial snippets.
When to reach for Nella
Use the Nella tools when any of the following is true:
- The repo is non-trivial (more than a handful of files) and a grep would return too many false positives.
- The user asks about behavior, call sites, or relationships rather than literal strings.
- The session involves multiple turns and context should persist (assumptions, prior searches, prior decisions).
- A change is being scoped and dependency drift or impact analysis matters.
If the question is purely lexical (find a literal token in one file), plain grep or view is faster and Nella is overkill.
Setup
The package ships two binaries: nella (CLI) and mcp (stdio MCP entrypoint).
Local stdio config for an MCP client:
{
"mcpServers": {
"nella": {
"command": "npx",
"args": ["-y", "@getnella/mcp", "--workspace", "/absolute/path/to/project"]
}
}
}
Hosted config (recommended for shared or always-on workspaces):
{
"mcpServers": {
"nella": {
"url": "https://mcp.getnella.dev/mcp",
"headers": { "Authorization": "Bearer nella_your_key_here" }
}
}
}
Quick shortcut for Claude Code: nella setup. For other clients: nella connect --client \x3Cclaude|claude-code|vscode|cursor|windsurf|cline|roo-code>.
Available tools
| Tool | When to call it |
|---|---|
nella_index |
First contact with a workspace, or after large refactors. Pass --force to rebuild from scratch. |
nella_search |
Default lookup. Supports hybrid (best general default), semantic (concept-level), and lexical (exact tokens). |
nella_get_context |
Pull the current session memory before answering, so prior assumptions and searches are not lost. |
nella_add_assumption |
Record any non-trivial assumption ("this function is only called from the worker") so it can be verified later. |
nella_check_assumptions |
Review recorded assumptions, especially before committing changes that depend on them. |
nella_check_dependencies |
Detect drift between the index and the working tree, or surface upstream impact of a change. |
nella_heartbeat |
Verify trust-chain continuity between tool calls in long sessions. |
Recommended flow
- Call
nella_get_contextat the start of a non-trivial task to load any prior session state. - If the workspace has not been indexed yet, call
nella_index. Skip this if the index is already current. - Use
nella_search(hybrid by default) to locate the relevant code before reading files. - Record any load-bearing assumption with
nella_add_assumptionso it survives across turns. - Before finalizing changes, run
nella_check_assumptionsandnella_check_dependencies.
Search mode selection
- hybrid: Default. Combines lexical and semantic signals. Use when unsure.
- semantic: Conceptual queries ("where do we handle rate limiting", "auth flow for OAuth"). Tolerates paraphrase.
- lexical: Exact identifiers, error strings, or known token shapes. Faster, no embedding cost.
Notes for the agent
- Always pass an absolute path to
--workspace. Relative paths fail silently in some clients. - Hosted mode requires a valid API key. If
nella_searchreturns an auth error, surface it to the user rather than retrying blindly. - The index can lag behind the working tree on large repos. If results look stale, call
nella_index(without--force) for an incremental refresh. - Treat
nella_get_contextoutput as authoritative for prior decisions in the session. Do not override silently.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install nella - 安装完成后,直接呼叫该 Skill 的名称或使用
/nella触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Nella 是什么?
Provides codebase-aware search and indexing for non-trivial repos, enabling symbol location, call tracing, dependency checks, and persistent session context. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。
如何安装 Nella?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install nella」即可一键安装,无需额外配置。
Nella 是免费的吗?
是的,Nella 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Nella 支持哪些平台?
Nella 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Nella?
由 Pablo Manjarres Negrette(@pablomanjarres)开发并维护,当前版本 v0.2.7。