# octocode

Source: https://glimind.com/server/npm%2Foctocode
Registry id: `npm/octocode`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "octocode": {
      "command": "npx",
      "args": [
        "-y",
        "octocode"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add octocode -- npx -y octocode
```

## Tools (16)

- `artifactSearch`: Find package versions, dependencies, or upstream release source.
- `astRewrite`: Preview or apply guarded structural code rewrites.
- `astSearch`: Find declarations, syntax trees, or structural code matches.
- `astTopology`: Analyze local dependency and reachability topology.
- `clasify`: Locate a described target, rank an unread list, or judge supplied state.
- `ghCloneRepo`: Cache a shallow checkout for repeated local analysis (CLI only).
- `ghGetFileContent`: Read a known GitHub file or an exact source region.
- `ghGetHistoryItem`: Read a known pull request, issue, commit, or comparison.
- `ghSearchCode`: Find default-branch code or file paths in an owner or repository.
- `ghSearchHistory`: Find pull requests, issues, or commits.
- `ghSearchRepo`: Discover repositories by keywords, owner, or filters.
- `ghStructure`: Browse a known repository's directory tree, branches, and tags.
- `localFetch`: Read a known local file or an exact source region.
- `localSearch`: Find literal or regex matches in local files.
- `lspSearch`: Resolve callers, references, same-name symbols, types, or diagnostics.
- `structureSearch`: Outline local directories or find files by name or metadata.

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
