repobase-mcp
Provides tools to index, search, and manage Git repositories, enabling AI agents to list repos, perform keyword/semantic/hybrid search, list files, glob files, read file contents, and grep file contents.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@repobase-mcpsearch for authentication middleware in all repositories"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Repobase

Index and search your Git repositories with AI. Includes a terminal UI and MCP server for AI tool integration.
Installation
Requires Bun runtime.
# Install globally
npm install -g repobase
# Or with bun
bun install -g repobaseRelated MCP server: code-intel-mcp
Usage
Terminal UI
repobaseKeyboard shortcuts:
a- Add repositoryd- Delete repositorys- Sync selected repositoryS- Sync all repositories/- Searchq- Quit
MCP Server (Cursor, Claude, etc.)
Add to your MCP configuration (~/.cursor/mcp.json or Claude config):
{
"mcpServers": {
"repobase": {
"command": "repobase-mcp"
}
}
}Available tools:
list_repos- List all indexed repositoriessearch- Search across repositories (keyword, semantic, or hybrid mode)list_files- List files in a repositoryglob_files- Find files by glob patternread_file- Read file contentsgrep- Search file contents with regex
Development
# Install dependencies
bun install
# Run TUI in dev mode
bun run dev:tui
# Run MCP server in dev mode
bun run dev:mcp
# Run tests
bun run test
# Build for distribution
bun run buildArchitecture
repobase/
├── packages/
│ ├── engine/ # Core library (indexing, search, git operations)
│ ├── tui/ # Terminal UI
│ └── mcp-server/ # MCP server for AI tools
└── dist/ # Built distribution (after bun run build)Contributing
This project uses Conventional Commits for automated versioning and changelog generation.
Commit Message Format
<type>(<scope>): <description>
[optional body]
[optional footer(s)]Types:
feat:- New features (triggers minor version bump)fix:- Bug fixes (triggers patch version bump)perf:- Performance improvements (triggers patch version bump)refactor:- Code refactoring (triggers patch version bump)docs:- Documentation changes (no release)style:- Code style changes (no release)test:- Test changes (no release)chore:- Maintenance tasks (no release)ci:- CI/CD changes (no release)
Breaking Changes:
Add BREAKING CHANGE: in the commit footer or ! after the type to trigger a major version bump:
feat!: remove deprecated API
BREAKING CHANGE: The old API has been removed.Release Process
Merges to
mainautomatically publish a release candidate to npm with the@nexttagManual trigger of the "Promote to Latest" workflow publishes to
@latestand creates a GitHub release
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that provides semantic search over local git repositories, enabling users to clone repositories, process branches, and search code through vectorized code chunks.Last updated25MIT
- Alicense-qualityCmaintenanceMCP server that gives AI agents deep code understanding across multiple git repositories, combining git lifecycle management, Zoekt-based trigram code search, and cross-repo dependency analysis.Last updatedMIT
- Alicense-qualityDmaintenanceMCP server for semantic code search and dependency graph analysis. Indexes codebases into a knowledge graph with vector embeddings for AI-powered code understanding.Last updated17MIT
- Alicense-qualityFmaintenanceMCP server for semantic code search that indexes your codebase and allows AI editors to search using natural language queries.Last updated5854MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A MCP server built for developers enabling Git based project management with project and personal…
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fernandoabolafio/repobase'
If you have feedback or need assistance with the MCP directory API, please join our Discord server