# Octocode MCP server

> Search your codebase by meaning and navigate its structure through an AST knowledge graph and LSP lookups.

- Listing: https://mcp.tc/i/octocode
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: no API key needed
- Category: [Developer Tools](https://mcp.tc/c/developer-tools)
- Vendor: Muvon
- Homepage: <https://octocode.muvon.io>
- Repository: <https://github.com/muvon/octocode>
- Package: npm `@muvon/octocode`

## About

Octocode indexes a local codebase with tree-sitter and exposes semantic search, code signatures, a symbol and dependency graph (imports, calls, extends, implements) and structural search to MCP clients. It also offers LSP-based navigation such as go-to-definition and find-references.

It runs locally over stdio as a Rust binary, installed via npm (@muvon/octocode with npx), the MCP bundles, Homebrew or cargo. No API key is needed by default because embeddings run locally with fastembed. Cloud embedding providers such as Voyage AI, OpenAI, Jina or Google are optional and need their own API keys.

## What it can do

- Find code by meaning with hybrid semantic and keyword search
- View code signatures without reading whole files
- Query a live AST graph of files, symbols, imports and calls
- Run structural searches across the source tree
- Use LSP go-to-definition, find-references and hover docs
- Index locally with no API key; optional cloud embedding providers

## Example prompts

- "Where is authentication handled in this codebase?"
- "What files depend on the payment module?"
- "Find every call site of process\_payment."
- "Show the signatures in src/api without opening the files."

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio octocode -- npx -y @muvon/octocode mcp
```

2. Start Claude Code and type `/mcp`. **octocode** should show as connected.

Add `--scope user` to make it available in every project.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

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

2. Save the file and restart Claude Desktop.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=octocode&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBtdXZvbi9vY3RvY29kZSIsIm1jcCJdfQ%3D%3D>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

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

Needs Node.js on your computer.

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=octocode&config=%7B%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40muvon%2Foctocode%22%2C%22mcp%22%5D%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"octocode","type":"stdio","command":"npx","args":["-y","@muvon/octocode","mcp"]}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "octocode": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@muvon/octocode",
        "mcp"
      ]
    }
  }
}
```

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

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

2. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add octocode -- npx -y @muvon/octocode mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.octocode]
command = "npx"
args = ["-y", "@muvon/octocode", "mcp"]
```

Needs Node.js on your computer.

### Gemini CLI

```bash
gemini mcp add octocode npx -- -y @muvon/octocode mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

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

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer.

## Recent changes

- 2026-11-08 08:25 UTC: New version 0.29.2 (was 0.29.1), read from npm. Source: automatic check.
- 2026-11-03 11:26 UTC: New version 0.29.1 (was 0.29.0), read from npm. Source: automatic check.
- 2026-10-28 11:32 UTC: New version 0.29.0 (was 0.28.1), read from npm. Source: automatic check.
- 2026-10-24 13:30 UTC: New version 0.28.0 (was 0.27.0), read from npm. Source: automatic check.
- 2026-10-21 04:23 UTC: New version 0.27.0 (was 0.26.7), read from npm. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/octocode#history (Atom feed: https://mcp.tc/i/octocode/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 0.29.2
- Last checked: 2026-10-18
- Listed: 2026-10-18
- Updated: 2026-10-26

---
Source: https://mcp.tc/i/octocode (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
