# n3mo MCP server

> Transforms source code into a queryable knowledge graph for impact analysis, call graph mapping, and AI-powered development.

- Repository: https://github.com/RajX-dev/N3MO
- Page: https://hostedmcp.org/servers/rajx-dev/n3mo
- Transport: stdio
- Stars: 27
- Latest version: 2.0.3

## Install

### Claude Code

```sh
claude mcp add n3mo -- uvx n3mo
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "n3mo": {
      "command": "uvx",
      "args": [
        "n3mo"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "n3mo": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "n3mo"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"n3mo","type":"stdio","command":"uvx","args":["n3mo"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "n3mo": {
      "command": "uvx",
      "args": [
        "n3mo"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add n3mo -- uvx n3mo
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.n3mo]
command = "uvx"
args = ["n3mo"]
```

### Gemini CLI

```sh
gemini mcp add -s user n3mo uvx -- n3mo
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "n3mo": {
      "command": "uvx",
      "args": [
        "n3mo"
      ]
    }
  }
}
```

## Tools (5)

- `n3mo_index`
- `n3mo_search_symbol`
- `n3mo_get_dependencies`
- `n3mo_get_file_symbols`
- `n3mo_get_blast_radius`

## FAQ

### What makes N3MO different from text search tools like grep?

N3MO understands code structure by parsing ASTs and mapping call graphs rather than just matching substrings, allowing it to trace transitive dependencies.

### Does N3MO require LLM calls for indexing?

No, N3MO uses deterministic static analysis via Tree-sitter AST parsing into PostgreSQL with zero LLM calls at index time.

### How many programming languages are supported?

N3MO supports 27 Tree-sitter grammars, including Python, JavaScript, TypeScript, Go, Java, and C++.

### Can I use N3MO with AI agents like Claude or Cursor?

Yes, N3MO features a native MCP server designed for first-class integration with Cursor, Claude Desktop, and Windsurf.
