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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install nella - After installation, invoke the skill by name or use
/nella - Provide required inputs per the skill's parameter spec and get structured output
What is Nella?
Provides codebase-aware search and indexing for non-trivial repos, enabling symbol location, call tracing, dependency checks, and persistent session context. It is an AI Agent Skill for Claude Code / OpenClaw, with 84 downloads so far.
How do I install Nella?
Run "/install nella" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Nella free?
Yes, Nella is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Nella support?
Nella is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Nella?
It is built and maintained by Pablo Manjarres Negrette (@pablomanjarres); the current version is v0.2.7.