# Codebase RAG

> Use this tool when you need to efficiently search and retrieve code across multiple projects and languages, solving problems of code discovery and reuse. It indexes local codebases using vector embeddings and supports hybrid search, taking in code files and repositories as input and outputting relevant search results. Ideal for use in multi-project setups where semantic code search and automation are crucial.

Canonical page: https://skillsregistry.net/skills/di5rupt0r-codebase-rag  
JSON: https://api.skillsregistry.net/v1/skills/di5rupt0r-codebase-rag

## Description

A self-hosted code search server that indexes local codebases using vector embeddings stored in ChromaDB. Supports Python AST-based chunking for Python files and character-based chunking for other languages, with hybrid search combining vector similarity and keyword reranking for improved relevance. Provides tools for semantic code search, project reindexing, file listing, and content retrieval across multi-project setups. Includes automation scripts for auto-discovery of Git repositories, file-watching with debounced reindexing, and post-commit Git hooks for incremental updates.

## Trust

- **Trust score (0–1):** 0.92
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/di5rupt0r-codebase-rag)
- **Repository:** <https://github.com/di5rupt0r/codebase-rag>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "di5rupt0r-codebase-rag"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/di5rupt0r-codebase-rag` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/di5rupt0r-codebase-rag/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
