# jaggernaut007/Nexus-MCP

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/jaggernaut007/Nexus-MCP  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/jaggernaut007-nexus-mcp

## Description
Local hybrid code search (vector, BM25 and code graph) with structural code graph analysis and persistent semantic memory.

## Tools
Capabilities this server exposes over MCP:

- **index** — Build the code index. Call it only when a tool says "No codebase indexed".
Pass an absolute path, or comma-separated paths for a monorepo. A file watcher
then keeps it fresh.
- **search** — Find code by meaning or keyword: "where is...", "how does... work",
"find the code that...". Returns ranked results with file and line range; the
first three carry the whole function or class. Exact names in the query
(`parse_config RetryPolicy`) bring their definitions first. For the full code of
a cut result, call `find_symbol`.
- **find_symbol** — Get the whole code of functions, classes, methods or constants by name ("show
me create_order"), with file, line range, callers and callees. Use it instead of a
file read or grep for a definition. Pass several names in one call. A class over
2,000 characters gives an outline; ask for "Class.method" for one method. For
every use of a name, use `graph`.
- **graph** — Trace the call graph: who calls a function (direction='callers') or what it
calls ('callees'). transitive=true covers everything that depends on it; use it
before you change, rename or delete a shared function ("what breaks if I change
X"). A callers result also has `references`, the whole-word uses of the name,
so no grep is needed. For a method, pass `Class.method`: the result also lists the
`overrides` in subclasses. Edges are static: calls through callbacks, reflection
or dynamic dispatch show only in `references`.
- **map** — Get an overview of the project: "give me an overview", "how is this
structured", "where do I start". 'summary' lists files, languages, top modules
and quality. 'architecture' gives layers, dependencies, entry points and hub
symbols. 'full' gives both. Use it first in an unfamiliar repository.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/jaggernaut007/Nexus-MCP), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Add to your MCP client:

```sh
uvx --python 3.12 nexus-mcp-ci setup
```

2. Start the server:

```sh
docker run -i --rm -v "$PWD:/workspace" -v nexus-data:/data ghcr.io/jaggernaut007/nexus-mcp
```

3. Install:

```sh
pip install nexus-mcp-ci
```

4. Install:

```sh
git clone https://github.com/jaggernaut007/Nexus-MCP.git && cd Nexus-MCP
```

## Documentation

## What jaggernaut007/Nexus-MCP does

jaggernaut007/Nexus-MCP exposes a local code intelligence system through MCP. It combines semantic search for natural-language questions, BM25-style keyword matching, and structural relationships between symbols. Results include file locations and line ranges, with the first matches containing the complete function or class where available.

The server is intended for repository work such as finding implementation details, understanding project structure, inspecting definitions, and checking the effect of a change. It works locally and is described as requiring no API keys or cloud service.

## How it works

Start by indexing a project with an absolute path. Multiple comma-separated paths can be supplied for a monorepo. The index is built once and a file watcher updates it as the code changes. If a tool reports that no codebase is indexed, run `index` before searching.

Use `map` for initial orientation. Its `summary` mode reports files, languages, major modules, and quality information. `architecture` focuses on layers, dependencies, entry points, and highly connected symbols; `full` combines both views.

For a targeted question, `search` accepts either natural-language descriptions or exact names. Queries such as `parse_config RetryPolicy` prioritize matching definitions. When a search result is truncated, `find_symbol` retrieves the full function, method, class, or constant and includes its callers and callees. A class exceeding 2,000 characters is represented by an outline, so individual methods can be requested with names such as `Class.method`.

`graph` follows static call relationships in either direction. Use `callers` to see what invokes a symbol and `callees` to see what it invokes; `transitive=true` expands the dependency chain. Caller results also include whole-word references, while method results can show subclass overrides.

## Setup and configuration

The documented setup command uses `uv` and Python 3.12:

```bash
uvx --python 3.12 nexus-mcp-ci setup
```

The setup process detects MCP clients, displays proposed changes, and asks for confirmation before writing them. Use `--dry-run` to inspect changes without applying them or `--uninstall` to remove setup changes. `uv` must be installed first.

Other supported installation paths include the Claude Code plugin, client-specific installation links for VS Code and Cursor, the `nexus-mcp.mcpb` package from the latest GitHub release for Claude Desktop, and a Gemini CLI extension installed from the repository. Manual installation is also available:

```bash
pip install nexus-mcp-ci
claude mcp add nexus-mcp -- nexus-mcp-ci
```

A Docker invocation mounts the working tree at `/workspace` and a named `nexus-data` volume at `/data`. Use either the setup command or the Claude Code plugin, not both, then start a new agent session.

## Tools and capabilities

- `index`: Builds an index for one path or several monorepo paths.
- `search`: Performs meaning-based and keyword searches with ranked file and line results.
- `find_symbol`: Returns definitions and relationship information for named functions, classes, methods, or constants; accepts multiple names.
- `graph`: Traces callers, callees, transitive dependencies, references, and method overrides.
- `map`: Produces repository summaries and architecture views.

## Limitations and notes

The code graph contains static edges. Calls made through callbacks, reflection, or dynamic dispatch may appear only as references rather than as call-graph edges. The index must be built before the query tools can provide repository results.

For an unfamiliar repository, `map` is the intended starting point, followed by `search` or `find_symbol`. Before renaming, deleting, or changing a shared function, use `graph` to inspect dependent code. A class longer than 2,000 characters produces an outline instead of its entire body, and a method can be requested separately by qualified name.

The project includes an offline `eval` command for testing fit on a local folder, a public repository, or the Nexus-MCP source. It generates questions from the code and reports whether the approach is a strong, likely, or weak fit; the documented guidance notes that small projects may be better served by basic grep and file reading.

_Full upstream README: https://allmcps.com/mcp/jaggernaut007-nexus-mcp/readme_

