octocode
by Muvon·★ 376·Score 52
MCP server that transforms codebases into searchable knowledge graphs with semantic search and structural understanding.
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:
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 READMEsemantic_searchFind code by meaning using natural language queries
view_signaturesView file structure including function signatures and imports
graphragQuery relationships between files and code elements
structural_searchFind specific code patterns using AST matching
Comparable tools
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/octocodeMCP 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.
- Story by donhardman · 2025-06-09
Compare octocode with
Last updated · Auto-generated from public README + GitHub signals.