octocode

octocode

MCP.Pizza Chef: Muvon

Octocode builds a map of a project β€” which files exist, what they contain, and how they connect β€” then hands that map to assistants like Claude Desktop, Cursor, VS Code, Cline, or Windsurf. Instead of pasting files into a chat, you ask where something is handled and get the actual location, plus whatever depends on it. Everything is indexed on your own computer, and setup is one install command followed by a short block of settings.

Coding

Use This MCP server To

Find where login is handled in a project I inherited See which files break if I change one module Get a quick tour of an unfamiliar codebase Ask which parts of my project use a given function Answer questions about my code without pasting files into chat

README

Octocode

Structural Code Intelligence for AI Agents β€” MCP Server + Knowledge Graph + Semantic Search

GitHub stars License Rust Release

Give your AI assistant a brain for your codebase. Octocode transforms your project into a navigable knowledge graph that Claude, Cursor, and other AI agents can search, understand, and navigate.

πŸš€ Quick Start β€’ πŸ€– MCP Integration β€’ πŸ“– Documentation β€’ 🌐 Website

Octocode MCP server

πŸ€– Built for AI Agents

The Problem: AI assistants are blind to your codebase. They can't search your files, understand dependencies, or remember context across sessions.

The Solution: Octocode's MCP server gives AI agents:

  • πŸ” 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

Works with: Claude Desktop β€’ Cursor β€’ Windsurf β€’ Any MCP-compatible AI

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

Now your AI assistant can:

octocode FAQ

Which apps does this work with?
Claude Desktop, Cursor, VS Code, Cline, and Windsurf, plus anything else that speaks MCP.
Do I need a paid key?
Not necessarily β€” it can run with local search models and no key at all, and you can add a paid one later for sharper results.
Does my code get uploaded anywhere?
The project is built to be local-first, so the index lives on your own computer.
Can I use this to find the file that handles payments?
Yes β€” ask in plain words and you get the file back, along with what imports or calls it.
How hard is setup?
One install command through Homebrew or a script, then paste a short block into your assistant's settings.
What does it do that ordinary search doesn't?
It matches on meaning as well as exact words, and it follows how files depend on each other.