Repobase

v1.0.0Version Controlstable

Index and search your Git repositories with AI. Includes a terminal UI and MCP server for AI tool integration.

aicursormcp-server
Share:
13
Stars
0
Downloads
0
Weekly
0/5

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

Index and search Git repositories
AI-powered codebase discovery
LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 11, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx repobase

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 repobase
2

Launch 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.

repobase
3

Index 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.

4

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"
    }
  }
}
5

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.

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.

Quick Config Preview

{ "mcpServers": { "repobase": { "command": "npx", "args": ["-y", "repobase"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides