CODEBOT
Claude, meet your codebase.
CodeBot is an MCP server that indexes all your repositories and gives Claude instant, intelligent access. 98% token reduction. Sub-second retrieval. Self-hosted.
CodeBot — Repository Index View with semantic search results and code citations
token reduction
Before CodeBot: Claude reads 15–40 full files per task, exhausting 50k–200k tokens on orientation. After CodeBot: Claude calls CodeBot once, gets exactly the right code snippet, uses < 1k tokens.
BEFORE
~50,000 tokens per context load
AFTER CODEBOT
~500 tokens with CodeBot
HOW IT WORKS
From repo to retrieval in minutes.
01 / Index your repos
Point CodeBot at your GitHub org. It indexes every repository, every branch, every file. Semantic + keyword indexing. Updates automatically on push.
Repository Indexing
02 / MCP integration
{ "mcpServers": { "codebot": { "url": "http://localhost:8080" } } }Add CodeBot to your .claude/mcp.json. One config line. Claude gets access to 9 powerful retrieval tools.
MCP Config
03 / Claude retrieves automatically
Claude calls CodeBot on every task — no prompting required. It finds exactly what it needs in under 500ms.
Automatic Retrieval
FEATURES
Retrieval that actually works.
Semantic + Keyword Search
Hybrid retrieval finds the right code even when terms don't exactly match. Works for vague natural-language queries.
Natural Language Q&A
Ask questions about your codebase in plain English. CodeBot returns answers with inline code citations.
Branch-Aware Indexing
Index any branch, not just main. Switch contexts instantly. Perfect for feature branch work.
98% Token Reduction
Replace grep+read loops with a single CodeBot call. Your team's Claude bill will notice.
Sub-Second Retrieval
Average query time under 500ms. Incremental indexing means updates apply in real time.
Self-Hosted
Deploy in your infrastructure. Code never leaves your network. Works air-gapped.
SETUP
Two lines to connect.
Add this to .claude/mcp.json. CodeBot is now available in every Claude session.
{
"mcpServers": {
"codebot": {
"url": "http://your-codebot-server:8080",
"transport": "streamable-http"
}
}
}Add this to .claude/mcp.json. CodeBot is now available in every Claude session.
Cut your token usage by 98%.
Index your codebase today. CodeBot integrates with Claude Code in minutes and starts saving tokens immediately.