Codeindex — Development skill for Claude Code
Structural code-intelligence engine in Zig — tree-sitter across 40+ languages, trigram and inverted indexes, dependency graph, exposed as an MCP server.
How to install Codeindex
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open munhq/codeindex and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Codeindex does
Structural code-intelligence engine in Zig — tree-sitter across 40+ languages, trigram and inverted indexes, dependency graph, exposed as an MCP server.
Alternatives in Development
- Supported Languages — 22.1k ★
- API — All methods are exposed as MCP tools 1.7k ★
- Agent Skill — A Claude Code plugin marketplace containing the ast-grep skill for powerful structural code search using Abstr 851 ★
README
[](https://www.npmjs.com/package/@munhq/codeindex) [](https://registry.modelcontextprotocol.io/v0/servers?search=codeindex) [](https://smithery.ai/server/munhq/codeindex) [](LICENSE)
[](cursor://anysphere.cursor-deeplink/mcp/install?name=codeindex&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBtdW5ocS9jb2RlaW5kZXgiXX0=) [](vscode:mcp/install?%7B%22name%22%3A%22codeindex%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40munhq%2Fcodeindex%22%5D%7D)
A structural code intelligence engine that runs as an **MCP server** for AI coding agents.
It indexes your codebase with tree-sitter (40+ languages), builds a trigram full-text index, an inverted word index, and a dependency graph — then exposes them through **16 MCP tools**.
┌─────────────┐ MCP (stdio) ┌──────────────┐
│ AI Agent │ ◄─────────────────────► │ codeindex │
│ (Claude, │ 16 tools, JSON-RPC │ (Zig binary) │
│ Cursor…) │ │ │
└─────────────┘ └──────┬───────┘
│
tree-sitter parse (40+ langs)
trigram + word index
dependency graph
snapshot persistence
Why
AI coding agents spend tokens reading entire files. codeindex answers structural question
Related Skills
Code Graph MCP
AST knowledge graph MCP server for Claude Code — semantic search, call graph traversal, HTTP route tracing, im
Benzi
Benzi is compiler-backed code intelligence (Agent+MCP). Claude Code greps; Cursor embeds; Aider maps signature
Codebase Graph
Code intelligence MCP server — 42-language tree-sitter AST parsing, FalkorDB knowledge graphs, 0.944 MRR searc
Contributing To MCP Tree-sitter Server
Thank you for your interest in contributing to MCP Tree-sitter Server! This guide will help you understand our
Laya Codex
Ranked code retrieval for Claude Code: tree-sitter + BM25 + the Laya re-ranker, delivered through hooks and MC
Pickcheck
PickCheck: a complexity gate for coding agents. One tree-sitter binary that measures the functions an agent ch
Related Agents
Coder Systems
Implements features for systems programming languages (C, C++, Rust, Go, Zig) to make tests pass. Expert in lo
Hosting Security Auditor
Security review for cPanel-hosted sites - exposed secrets and .git directories, file permissions, .htaccess ha
Cozo Perf Architect
Use this agent when work touches CozoDB schema design, graph data modeling, indexes, query patterns, ingestion