RepoAnalyzer is an AI-powered codebase analysis tool designed specifically for Cursor and VS Code. it indexes your repository and provides deep semantic understanding, enabling advanced AI features through the Model Context Protocol (MCP).
Features
🚀 Instant Codebase Indexing: Quickly scan and analyze your repository to create a semantic map of your code.
🔌 MCP Support: Seamlessly integrates with Cursor using the Model Context Protocol, giving your AI assistant direct access to your codebase's structure and logic.
🔍 Semantic Search: Ask questions about your code in natural language and get precise answers based on the entire repository context.
🔄 Auto-Sync: Automatically keeps your indexed codebase up-to-date as you make changes.
📋 .cursorrules Generation: Automatically generates and saves .cursorrules to help Cursor understand your project's architecture and patterns.
📊 Project Insights: View project statistics, tech stack, and architectural patterns directly from the sidebar.
Getting Started
1. Prerequisites
An API key (generated via the backend).
2. Configuration
Install the extension.
Open the RepoAnalyzer sidebar from the Activity Bar.
Enter your API Key (starts with ra_).
If you are using a custom backend, update the RepoAnalyzer: Backend Url in VS Code settings.
3. Analyzing a Project
Open a workspace folder in VS Code.
Click + Add Current Workspace in the RepoAnalyzer sidebar.
The extension will scan your files and upload them to the backend for analysis.
Once analysis is complete, the project status will change to READY.
4. Integrating with Cursor MCP
After analysis is complete, click 📋 Copy Config in the sidebar.
Open Cursor Settings -> MCP.
Add a new MCP server and paste the copied configuration.
Your Cursor AI assistant now has enhanced knowledge of your repository!
Commands
RepoAnalyzer: Open Sidebar: Focuses the RepoAnalyzer view.
RepoAnalyzer: Analyze Repository: Manually triggers a full analysis of the current workspace.
RepoAnalyzer: Ask Question: Ask a quick question about your indexed projects.
RepoAnalyzer: Show MCP Configuration: Quickly get the MCP setup string for Cursor.