Repobase
Index and search your Git repositories with AI. Includes a terminal UI and MCP server for AI tool integration.
What is Repobase?
Repobase is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to index and search your git repositories with ai. includes a terminal ui and mcp server for ai tool integration.
Index and search your Git repositories with AI. Includes a terminal UI and MCP server for AI tool integration.
This server falls under the Version Control category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Index and search your Git repositories with AI. Includes a t
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx repobaseConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Repobase
Repobase is a TypeScript tool that indexes Git repositories and makes them searchable by AI assistants via an MCP server. It provides keyword, semantic, and hybrid search across all indexed repositories, along with file listing, glob matching, file reading, and regex grep capabilities. Developers managing multiple codebases — monorepos, microservices, or collections of client projects — can point their AI assistant at their entire code portfolio and ask questions across all of it at once.
Prerequisites
- Bun runtime installed (required — Repobase is built with Bun)
- Node.js 18 or later (for npx-based usage)
- One or more local Git repositories to index
- An MCP-compatible client such as Claude Desktop or Cursor
Install Repobase globally
Install the Repobase CLI globally using npm or Bun. The Bun runtime must be available on your PATH.
npm install -g repobase
# or with Bun:
bun install -g repobaseLaunch the terminal UI and index repositories
Start the Repobase terminal interface. Use the 'a' key to add repositories for indexing. The tool will index your Git repos and make them searchable.
repobaseIndex your repositories
In the terminal UI, press 'a' to add a repository by path, then 's' to sync it. Press 'S' to sync all indexed repositories at once. Use '/' to search interactively.
Configure the MCP server for your AI client
Add the repobase-mcp command to your MCP client configuration. No additional arguments are needed — it reads from the same index used by the terminal UI.
{
"mcpServers": {
"repobase": {
"command": "repobase-mcp"
}
}
}Restart your MCP client
Restart Claude Desktop or Cursor to pick up the new server configuration. The AI assistant can now search and browse all indexed repositories.
Repobase Examples
Client configuration
Claude Desktop or Cursor configuration for the Repobase MCP server.
{
"mcpServers": {
"repobase": {
"command": "repobase-mcp"
}
}
}Prompts to try
Example prompts for searching and exploring indexed Git repositories.
- "List all indexed repositories"
- "Search for files that handle authentication across all my repos"
- "Find all TypeScript files in the backend repo that match src/**/*.service.ts"
- "Read the contents of src/api/users.ts from the auth-service repo"
- "Search for usages of the 'createUser' function across all repositories"
- "Which repos contain a Dockerfile?"Troubleshooting Repobase
repobase-mcp command not found after global install
Ensure the global npm or Bun bin directory is on your PATH. Run npm bin -g or bun pm bin to find the directory, then add it to your PATH in ~/.zshrc or ~/.bashrc. Restart your terminal after updating PATH.
Search returns no results for code that exists in indexed repos
Re-sync the repository in the terminal UI by pressing 's' on the selected repo or 'S' for all repos. Indexing must be run after making changes to the codebase. Check that the repo was successfully added (visible in the repo list).
Bun runtime not found when starting repobase
Install Bun from https://bun.sh by running curl -fsSL https://bun.sh/install | bash. After installation, restart your terminal and verify with bun --version before running repobase again.
Frequently Asked Questions about Repobase
What is Repobase?
Repobase is a Model Context Protocol (MCP) server that index and search your git repositories with ai. includes a terminal ui and mcp server for ai tool integration. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Repobase?
Follow the installation instructions on the Repobase GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Repobase?
Repobase works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Repobase free to use?
Yes, Repobase is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Repobase Alternatives — Similar Version Control Servers
Looking for alternatives to Repobase? Here are other popular version control servers you can use with Claude, Cursor, and VS Code.
Ruiyu MA
★ 30.1kConnect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
GitMCP
★ 8.1kTransforms any GitHub repository or GitHub Pages site into a documentation hub for AI assistants using the Model Context Protocol. It allows AI tools to access real-time code and documentation to prevent hallucinations and provide accurate API usage
GitHub Codemunch
★ 1.8kA token-efficient MCP server for exploring GitHub repositories using tree-sitter AST parsing to extract symbol signatures and summaries. It enables users to search and retrieve specific code components while significantly reducing token consumption c
Azure DevOps MCP Server
★ 1.7kThis server provides a convenient API for interacting with Azure DevOps services, enabling AI assistants and other tools to manage work items, code repositories, boards, sprints, and more. Built with the Model Context Protocol, it provides a standard
GitHub Official
★ 1.2kOfficial GitHub integration with comprehensive API coverage
Azure DevOps
★ 367Enables interaction with Azure DevOps through Cursor chat, providing tools to manage builds, pipelines, work items, sprints, and board operations. Supports secure authentication via Personal Access Tokens and allows natural language-driven DevOps tas
Browse More Version Control MCP Servers
Explore all version control servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Repobase in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Repobase?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.