MCP Catalogs
Home

octocode

by Muvon·376·Score 52

MCP server that transforms codebases into searchable knowledge graphs with semantic search and structural understanding.

developer-toolsai-llmknowledge-graph
38
Forks
5
Open issues
this month
Last commit
2d ago
Indexed

Overview

Octocode is a structural code intelligence tool that analyzes codebases using tree-sitter AST parsing to build a knowledge graph of relationships between files. It exposes this through an MCP server, providing AI assistants with semantic search capabilities, code signature viewing, and graph-based relationship queries. Unlike standard RAG which treats code as flat text, Octocode understands actual imports, dependencies, and function calls across files.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Help AI assistants navigate and search codebases semantically
you:Analyze code structure and dependencies for refactoring decisions
you:Find code patterns and error handling across entire projects
you:What programming languages does Octocode support?
you:How is Octocode different from standard code search tools?

When to choose this

Choose Octocode when you need your AI assistant to deeply understand codebase structure, dependencies, and relationships rather than just searching text.

When NOT to choose this

Don't choose Octocode if you need minimal external dependencies or can't set up API keys for embedding providers.

Tools this server exposes

4 tools extracted from the README
  • semantic_search

    Find code by meaning using natural language queries

  • view_signatures

    View file structure including function signatures and imports

  • graphrag

    Query relationships between files and code elements

  • structural_search

    Find specific code patterns using AST matching

Comparable tools

swismcpsemantic-symbolscodesearch-mcp

Installation

Installation

# Universal installer (Linux, macOS, Windows)
curl -fsSL https://raw.githubusercontent.com/Muvon/octocode/master/install.sh | sh

# macOS with Homebrew
brew install muvon/tap/octocode

MCP Configuration

Add to your MCP client config (Claude Desktop, Cursor, Windsurf):

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

FAQ

What programming languages does Octocode support?
Octocode supports Rust, Python, TypeScript/JavaScript, Go, PHP, C++, and Ruby with full AST parsing and structural understanding.
How is Octocode different from standard code search tools?
Unlike standard tools that search text, Octocode builds a knowledge graph of actual code relationships (imports, calls, dependencies) and provides semantic search combined with structural understanding.

On Hacker News

Recent discussion from the developer community.

Compare octocode with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.