# codeweb MCP server

> Provides structural analysis tools for AI agents to understand code impact, call graphs, and symbol relationships without using LLM tokens.

- Repository: https://github.com/GhostlyGawd/codeweb
- Page: https://hostedmcp.org/servers/ghostlygawd/codeweb
- Transport: stdio
- Stars: 0
- License: MIT
- Latest version: 0.15.0

## Install

### Claude Code

```sh
claude mcp add codeweb -- npx -y @ghostlygawd/codeweb
```

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

```json
{
  "mcpServers": {
    "codeweb": {
      "command": "npx",
      "args": [
        "-y",
        "@ghostlygawd/codeweb"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "codeweb": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ghostlygawd/codeweb"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"codeweb","type":"stdio","command":"npx","args":["-y","@ghostlygawd/codeweb"]}'
```

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

```json
{
  "mcpServers": {
    "codeweb": {
      "command": "npx",
      "args": [
        "-y",
        "@ghostlygawd/codeweb"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add codeweb -- npx -y @ghostlygawd/codeweb
```

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

```toml
[mcp_servers.codeweb]
command = "npx"
args = ["-y", "@ghostlygawd/codeweb"]
```

### Gemini CLI

```sh
gemini mcp add -s user codeweb npx -- -y @ghostlygawd/codeweb
```

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

```json
{
  "mcpServers": {
    "codeweb": {
      "command": "npx",
      "args": [
        "-y",
        "@ghostlygawd/codeweb"
      ]
    }
  }
}
```

## FAQ

### Does codeweb use an LLM for its analysis?

No, the tool uses static analysis and does not use any LLM tokens for its mapping or structural checks.

### How does codeweb compare to using grep for finding callers?

In measured tests, agents using codeweb found 74% of real callers compared to only 44% using grep at the same context spend.

### Is my code sent to a server or used for telemetry?

No, the tool runs entirely on your local machine with no account, no server, and no telemetry.

### What kind of structural regressions does the gate detect?

The gate identifies new dependency cycles, new body-confirmed duplications, or existing non-exported symbols that become orphans.
