
# Octocode
**Code search and dependency graphs for AI assistants.**
[](https://github.com/Muvon/octocode/actions/workflows/ci.yml)
[](https://github.com/Muvon/octocode/actions/workflows/ci.yml)
[](https://crates.io/crates/octocode)
[](https://github.com/Muvon/octocode/releases)
[](https://www.rust-lang.org)
[](LICENSE)
[Quick start](#quick-start) · [MCP integration](#mcp-integration) · [OctoFS](#use-octocode-with-octofs) · [Documentation](#documentation) · [Contributing](#contributing) · [Website](https://octomind.run/product/octocode)
Octocode is a Rust CLI and [MCP](https://modelcontextprotocol.io) server for exploring codebases. It combines semantic search, structural search, and a live graph of symbols and dependencies. Connect it to Claude Code, Codex, Cursor, Windsurf, or another MCP client, or search directly from your terminal.
- **Find code by intent** with hybrid vector and keyword search, plus configurable reranking.
- **Locate definitions and usages** with structural search over the current source.
- **Trace relationships** between files and symbols: imports, calls, inheritance, and implementations.
- **Read signatures** without loading entire files; add a language server for definitions, references, and hover information.
- **Run locally** with the default embedding and reranking models, or configure remote providers.
## Quick start
### 1. Install
Use the installer on Linux or macOS, or in a Unix-compatible shell on Windows:
```bash
curl -fsSL https://raw.githubusercontent.com/Muvon/octocode/master/install.sh | sh
```
Alternatively, on macOS:
```bash
brew install muvon/tap/octocode
```