octocode

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 c

What is octocode?

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.

Overview of octocode

What it is

Octocode is a structural code intelligence tool for AI agents. It provides semantic search, knowledge graphs, and a built-in MCP server in one Rust binary. It transforms a project into a navigable knowledge graph that Claude, Cursor, and other AI agents can search, understand, and navigate.

Key features

  • Semantic search — Find code by meaning, not keywords
  • Knowledge graph — Navigate imports, calls, and dependencies
  • Code signatures — View structure without reading entire files
  • LSP precision — Go-to-definition, find-references, and hover docs via your language server
  • MCP server — Exposes semantic_search, view_signatures, graphrag, and structural_search to any MCP-compatible client
  • Tree-sitter AST parsing to build a live graph of files, symbols, imports, calls, inheritance, and implementations
  • Optional indexed GraphRAG for semantic file discovery, descriptions, and broader architectural relationships

Use cases

Octocode is designed for AI assistants that need to understand a codebase. Example interactions: “Where is authentication handled?” — the AI searches the codebase and finds the relevant files and dependencies. “What files depend on the payment module?” — the AI queries the knowledge graph. “Find every call site of this function” — the AI uses LSP find-references. It works with Claude Desktop, Cursor, Windsurf, and any MCP-compatible AI.

Getting started

bash# Universal installer (Linux, macOS, Windows)curl -fsSL https://raw.githubusercontent.com/Muvon/octocode/master/install.sh | sh# macOS with Homebrewbrew install muvon/tap/octocode# From crates.iocargo install octocode# Or from source (latest)cargo install --git https://github.com/Muvon/octocodeAfter installation, set up API keys (optional), index your codebase with octocode index, search with octocode search, and connect your AI assistant by adding the MCP server configuration.

License and pricing

Licensed under Apache-2.0. Open source. No pricing information is stated.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/muvonoctocode.svg)](https://yunodb.com/tools/muvonoctocode?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/muvonoctocode?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/muvonoctocode.svg" alt="Featured on YunoDB" height="20"></a>