octocode

Из публичных источников

Структурный анализ кода для ИИ-агентов — семантический поиск, графы знаний и встроенный MCP-сервер в одном бинарном файле Rust. Дайте Claude, Cursor и любому MCP-клиенту глубокое понимание вашей кодовой базы.

Машинный перевод · Показать оригинал

Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in one Rust binary. Give Claude, Cursor, and any MCP client a deep understanding of your codebase.

MCP-серверКатегория: MCP-серверы · ИИ и память · Git и разработка · Поиск и знанияOpen sourceданные проверены 15 окт. 2026 г.

Обзор

  • ai
  • ai-agents
  • claude-code
  • cli
  • code-intelligence
  • code-search
  • cursor
  • developer-tools
  • doc-search
  • embeddings

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    octomind.run/product/octocode ↗
  • Файлы официального релизаИз публичных источниковиз последнего официального релиза
    github.com/Muvon/octocode/releases/tag/0.29.0 ↗
  • Реестр пакетов языкаИз публичных источниковиз манифеста пакета — публикация в реестре не проверена
    cargo install octocode

    Не проверено: перед установкой убедитесь, что пакет в реестре принадлежит этому проекту.

    crates.io/crates/octocode ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/Muvon/octocode ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
Claude (web & desktop)Неизвестно———
Claude CodeНеизвестно———
CursorНеизвестно———
VS CodeНеизвестно———
WindsurfНеизвестно———
ChatGPTНеизвестно———
WindowsСовместимоarm64официальная сборка в релизе 0.29.0: octocode-0.29.0-aarch64-pc-windows-msvc.mcpb0.70
Совместимоx86_64официальная сборка в релизе 0.29.0: octocode-0.29.0-x86_64-pc-windows-msvc.mcpb0.70
macOSСовместимоarm64официальная сборка в релизе 0.29.0: octocode-0.29.0-aarch64-apple-darwin.mcpb0.70
Совместимоx86_64официальная сборка в релизе 0.29.0: octocode-0.29.0-x86_64-apple-darwin.mcpb0.70
LinuxСовместимоarm64официальная сборка в релизе 0.29.0: octocode-0.29.0-aarch64-unknown-linux-musl.mcpb0.70
Совместимоx86_64официальная сборка в релизе 0.29.0: octocode-0.29.0-x86_64-unknown-linux-musl.mcpb0.70

Релизы

проверено 29 окт. 2026 г.
v0.29.0Последний28 окт. 2026 г.Официальный источник ↗

Файлы версии 0.29.0

Маркетплейс не хранит эти файлы: загрузка идёт из официального источника. Мы их не сканировали.
ФайлПлатформаРазмерSHA-256Скачать из официального источника
octocode-0.29.0-aarch64-apple-darwin.mcpbmacos · arm64 · mcpb36,9 MB4fd9395cb8c9…Официальный источник ↗
octocode-0.29.0-aarch64-apple-darwin.tar.gzmacos · arm64 · tarball36,9 MBdd4258f2ef39…Официальный источник ↗
octocode-0.29.0-aarch64-pc-windows-msvc.mcpbwindows · arm64 · mcpb20,6 MB732c8a1f569f…Официальный источник ↗
octocode-0.29.0-aarch64-pc-windows-msvc.zipwindows · arm64 · zip35,4 MBf4ff1e8e3464…Официальный источник ↗
octocode-0.29.0-aarch64-unknown-linux-musl.mcpblinux · arm64 · mcpb39,1 MB29a6afee4b2b…Официальный источник ↗
octocode-0.29.0-aarch64-unknown-linux-musl.tar.gzlinux · arm64 · tarball39,1 MB5f352ec38604…Официальный источник ↗
octocode-0.29.0-x86_64-apple-darwin.mcpbmacos · x86_64 · mcpb39,6 MB88b742b28f69…Официальный источник ↗
octocode-0.29.0-x86_64-apple-darwin.tar.gzmacos · x86_64 · tarball39,6 MBbcb4771aec37…Официальный источник ↗
octocode-0.29.0-x86_64-pc-windows-msvc.mcpbwindows · x86_64 · mcpb24,8 MBff4c01a57e52…Официальный источник ↗
octocode-0.29.0-x86_64-pc-windows-msvc.zipwindows · x86_64 · zip37,7 MB3f4cbcd63ed2…Официальный источник ↗
octocode-0.29.0-x86_64-unknown-linux-musl.mcpblinux · x86_64 · mcpb43,2 MB91a7a2475a94…Официальный источник ↗
octocode-0.29.0-x86_64-unknown-linux-musl.tar.gzlinux · x86_64 · tarball43,2 MB92ff20a1c21a…Официальный источник ↗
aarch64-apple-darwin.sha256контрольные суммы65 Be16b2d3309fc…Официальный источник ↗
aarch64-pc-windows-msvc.sha256контрольные суммы65 B24a20a5954a7…Официальный источник ↗
aarch64-unknown-linux-musl.sha256контрольные суммы65 Bb932bf8a32a7…Официальный источник ↗
x86_64-apple-darwin.sha256контрольные суммы65 B75bbb4eab113…Официальный источник ↗
x86_64-pc-windows-msvc.sha256контрольные суммы65 B1a69e24d89f0…Официальный источник ↗
x86_64-unknown-linux-musl.sha256контрольные суммы65 B978d335725ac…Официальный источник ↗
server.jsonдругое2,6 KB7c5093e88904…Официальный источник ↗

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 15 окт. 2026 г.
Оценка качества96
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 1 days ago
Документация · 1515
README 18949 chars, description present
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
10 release(s), latest 4 days ago
Точность категории · 1010
classifier confidence 0.97
Популярность · 107
510 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX Apache-2.0
Сообщество · 55
issues enabled, 59 forks

Лицензия

Apache-2.0
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/Muvon/octocodeОсновной★ 510 звёздактивность 14 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

sqzПохожий
Сжатие контекста для ИИ-агентов программирования: сжимает вывод инструментов до того, как он попадает в модель, и заменяет повторы ссылками по 13 токенов. Claude Code, Cursor, Codex, Kiro, Zed и любой MCP-клиент. Rust, без вызовов LLM.Apache-2.0 · MCP-серверы
memtrace-publicПохожий
Структурная память для ИИ-агентов программирования. Битемпоральный граф, нативная поддержка MCP, ноль вызовов LLM. Cursor · Claude Code · Codex · DeepSeek Harness · Hermes · VS Code · Windsurf.MCP-серверы
repobrainПохожий
🧠 RepoBrain (ранее Antigravity) — дайте вашему репозиторию мозг. ChatGPT для вашей кодовой базы: работает в Claude Code, Cursor, Codex, Windsurf и других.MIT · MCP-серверы
reaПохожий
Обратный инжиниринг чего угодно с помощью агентов: от поведения приложений до нативных бинарных файлов.MIT · MCP-серверы
codebase-memory-mcpПохожий
Высокопроизводительный MCP-сервер для анализа кода. Индексирует кодовые базы в постоянный граф знаний — средний репозиторий обрабатывается за миллисекунды. 158 языков, запросы за доли миллисекунды, на 99% меньше токенов. Единый статически скомпонованный бинарный файл, без зависимостей.MIT · MCP-серверы
Unity-MCPПохожий
AI-навыки, инструменты MCP и CLI для Unity Engine. Полный цикл разработки и тестирования с ИИ. Используйте CLI для быстрой настройки. Экономное расходование токенов, продвинутые инструменты. Любой метод C# можно превратить в инструмент одной строкой. Работает с Claude Code, Gemini, Copilot, Cursor и любыми другими, полностью бесплатно.Apache-2.0 · MCP-серверы

README

Из Muvon/octocode · лицензия Apache-2.0 · загружено 29 окт. 2026 г.

Octocode

Code search and dependency graphs for AI assistants.

[CI] [Coverage] [Crates.io] [Release] [Rust] [License]

Quick start · MCP integration · OctoFS · Documentation · Contributing · Website

Octocode is a Rust CLI and MCP 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:

curl -fsSL https://raw.githubusercontent.com/Muvon/octocode/master/install.sh | sh

Alternatively, on macOS:

brew install muvon/tap/octocode

Download a binary from GitHub Releases, or install the published crate:

cargo install octocode

Building from source requires Rust 1.95 or later and protoc. See the installation guide for platform requirements, build features, and manual installation.

Verify the installation:

octocode --version

2. Index and search

Run these commands in your project's Git repository:

cd /path/to/your/project
octocode index
octocode search "authentication middleware"

The default configuration uses local FastEmbed models for embeddings and reranking. No API key is required; model files download on first use. For a directory without Git, use octocode index --no-git.

# Combine related queries
octocode search "auth" "middleware" "session"

# Filter code results by language
octocode search "database connection pool" --language rust

# Search documentation
octocode search "deployment configuration" --mode docs

3. Connect your AI assistant

Choose your client in MCP integration. Structural search, signatures, and the live dependency graph read the current source directly and work without an index. Semantic search uses the index created above.

MCP integration

Install Octocode where your client can find it on PATH, and replace /path/to/your/project with your project's absolute directory path.

Claude Code

claude mcp add --transport stdio octocode -- octocode mcp --path /path/to/your/project
claude mcp list

See the Claude Code MCP documentation for configuration scopes and connection details.

Codex CLI

codex mcp add octocode -- octocode mcp --path /path/to/your/project
codex mcp list

See the Codex MCP documentation for CLI and configuration-file options.

Claude Desktop, Cursor, and Windsurf

Add an Octocode entry to your client's MCP configuration:

{
  "mcpServers": {
    "octocode": {
      "command": "octocode",
      "args": ["mcp", "--path", "/path/to/your/project"]
    }
  }
}

Restart the client after saving. The MCP client setup guide covers configuration locations and other clients.

Octomind

Octomind is a companion AI agent runtime. Its developer:general agent includes Octocode and OctoFS capabilities. After installing Octomind, start it in your project:

cd /path/to/your/project
octomind run developer:general

The first run may install required tools and ask for model credentials. See the Octomind quick start for installation and model access.

Available tools

ToolUse it forRequires an index
semantic_searchFind code, documentation, and indexed history by meaningYes
structural_searchFind definitions, usages, and AST patterns in current sourceNo
view_signaturesRead function signatures, declarations, and importsNo
graphragExplore live file and symbol relationships and dependency pathsNo
lsp_*Definitions, references, hover information, symbols, and completionNo; requires a language server

To enable LSP tools, install a language server and add --with-lsp to the server command, for example:

octocode mcp --path /path/to/your/project --with-lsp rust-analyzer

By default, the MCP server uses the existing semantic index without updating it. Rerun octocode index after changes, or run octocode watch separately in the project directory. In-process indexing is available through index.mcp_index = true.

See the MCP integration guide for tool parameters, HTTP transport, and serving multiple repositories, and the LSP guide for language server setup.

Use Octocode with OctoFS

OctoFS adds file reading and atomic editing tools to your assistant. Run both MCP servers against the same project directory.

Octocode's structural_search returns source lines as N:hh|content, with the same line IDs used by OctoFS view. An agent can use these IDs directly in OctoFS batch_edit, without reading the same lines again to obtain edit targets. Exact-name lookups include complete definitions up to 32 lines; larger results identify omitted ranges for a targeted read.

Each ID hashes the original line, including indentation. OctoFS checks IDs before applying edits and reports stale targets when the content no longer matches. Group known edits to a file into one atomic batch, then use the fresh IDs returned by the edit for follow-up changes. The N:hh| prefix is metadata, not part of the source code.

After installing OctoFS, add it alongside the Octocode server configured above. Choose your client:

Claude Code:

claude mcp add --transport stdio octofs -- octofs mcp --path /path/to/your/project

Codex CLI:

codex mcp add octofs -- octofs mcp --path /path/to/your/project

Use the same absolute project path for both servers. OctoFS is optional; Octocode's search and navigation tools work independently.

How it works

Current source → Language parsers → Live file and symbol graph → MCP tools
Indexed code   → Embeddings + BM25 → Hybrid search + reranking → CLI / MCP

The live graph uses Tree-sitter to extract symbols and relationships from current source, without embeddings or an LLM. It remains available through MCP when [graphrag].enabled = false.

Enabling indexed GraphRAG adds persisted file-level enrichment, including semantic file discovery and optional LLM descriptions and architectural relationships. The octocode graphrag CLI uses this persisted layer:

octocode config --graphrag-enabled true
octocode index
octocode graphrag overview

See the architecture guide for module boundaries and storage details.

Supported languages

LanguageExtensions
Rust.rs
Python.py
TypeScript / JavaScript.ts, .tsx, .js, .jsx
Go.go
PHP.php
C / C++.c, .cpp, .cc, .cxx, .c++, .h, .hpp, .hxx, .cppm, .ixx, .mxx, .ccm, .cxxm
Ruby.rb
Elixir.ex, .exs
Java.java
Swift.swift
Svelte.svelte
Lua.lua
CSS.css, .scss, .sass
JSON.json
Bash.sh, .bash
Markdown.md, .markdown

Retrieval benchmark

The repository includes ground truth, scoring scripts, and reproduction instructions. The published local matrix used 127 code-search queries, corpus commit b1771ba, Octocode 0.17.1, and fastembed:jinaai/jina-embeddings-v2-base-code, with reranking disabled for the variants below.

ConfigurationHit@5Hit@10MRRNDCG@10Recall@10
Dense vector only0.5980.7170.4850.5280.671
Hybrid, vector/keyword weights 0.7/0.30.5980.7170.4850.5280.671
Hybrid, vector/keyword weights 0.3/0.70.7320.8350.5720.6200.807

These are historical results from June 21, 2026; they do not measure the current release or its default configuration. See the full variant matrix for settings and reranker comparisons.

Privacy and configuration

  • Local models by default. Embedding and reranking run locally after model downloads. Remote embedding, reranking, and LLM providers are optional; when enabled, they receive the queries and source content needed for those features.
  • Local storage. Indexes live outside your repository in Octocode's per-project data directory.
  • File exclusions. Indexing respects .gitignore and .noindex. Configure exclusions for files you do not want indexed.
  • Client access. The default MCP transport is stdio. The model used by your AI client may receive source content returned by tools, even when Octocode uses local models.
  • Provider credentials. API keys can be supplied through environment variables. See the API key guide before enabling remote providers.

The configuration guide explains model selection and indexing options. The embedded default template contains the current defaults.

Documentation

Contributing

Bug reports, documentation improvements, and code contributions are welcome. Read the contributing guide for development setup and the engineering standards before changing code.

Use GitHub Issues for bugs and feature requests, Discussions for questions, or contact opensource@muvon.io.

License

Apache License 2.0. Maintained by Muvon.

Открыть репозиторий ↗