Your code, indexed locally
ready for AI

Give your AI agents instant access to the repositories that matter. Semantic search, local indexing, and seamless MCP integration. No more copy-pasting docs or hoping the agent finds what it needs.

npm install -g repobase
repobase demo

Built for AI Workflows

Give your AI agents the context they need. Works with Cursor, Opencode, Claude Code and more.

🔍

Semantic Search

Ask "Where is the OAuth flow defined?" instead of grepping for strings. Find code by meaning, not keywords.

🔌

Seamless MCP Integration

Agents simply call list_repos and search. No manual file paths or messy grep commands.

📖

Code as Documentation

The source itself is the ultimate source of truth. Latest patterns, real implementations, always current.

🔒

Local & Private

Everything stays on your machine. Fast indexing with a local model. Works offline. Perfect for private repos.

AI agents need good context. Current methods are broken. Learn why Repobase

Quick Start

Get up and running in under a minute. Works with any Git repository.

  • 1 Install Repobase globally with npm or bun
  • 2 Run repobase to open the TUI
  • 3 Add your repositories and start searching
Read the docs
~/.cursor/mcp.json
{
  "mcpServers": {
    "repobase": {
      "command": "repobase-mcp"
    }
  }
}