repobase-mcp
MCP server for indexing and searching Git repositories with AI. Enables tools like listing repos, semantic search, file globbing, and regex grep.
README
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 repobase
Usage
Terminal UI
repobase
Keyboard 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 build
Architecture
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@nexttag - Manual trigger of the "Promote to Latest" workflow publishes to
@latestand creates a GitHub release
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.