remcode
Version:
Turn your AI assistant into a codebase expert. Intelligent code analysis, semantic search, and software engineering guidance through MCP integration.
153 lines (115 loc) โข 3.9 kB
Markdown
# Remcode
**Turn Your AI Assistant Into a Codebase Expert**
Remcode gives your AI assistant deep understanding of your code patterns, architecture, and conventions through intelligent vectorization and semantic search.
## โก 30-Second Setup
### **1. Install**
```bash
npx remcode
```
### **2. Add to AI Assistant**
<details>
<summary><strong>๐ฑ Claude Desktop</strong></summary>
**Location**: `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows)
```json
{
"mcpServers": {
"remcode": {
"command": "npx",
"args": ["remcode"],
"env": {
"PINECONE_API_KEY": "your_key_here",
"HUGGINGFACE_TOKEN": "your_token_here",
"GITHUB_TOKEN": "your_github_token"
}
}
}
}
```
</details>
<details>
<summary><strong>๐ฏ Cursor Editor</strong></summary>
```json
{
"remcode": {
"command": "npx remcode",
"env": {
"PINECONE_API_KEY": "your_key_here",
"HUGGINGFACE_TOKEN": "your_token_here",
"GITHUB_TOKEN": "your_github_token"
}
}
}
```
</details>
<details>
<summary><strong>๐ Continue Dev</strong></summary>
**Location**: `~/.continue/config.json`
```json
{
"mcpServers": {
"remcode": {
"command": "npx",
"args": ["remcode"],
"env": {
"PINECONE_API_KEY": "your_key_here",
"HUGGINGFACE_TOKEN": "your_token_here",
"GITHUB_TOKEN": "your_github_token"
}
}
}
}
```
</details>
### **3. Get API Keys**
<details>
<summary><strong>๐ Get Free API Keys (2 minutes)</strong></summary>
**Pinecone** - Vector Database
- Visit: [pinecone.io](https://app.pinecone.io/organizations/-/projects/-/keys)
- Sign up free โ Create project โ Copy API key
**HuggingFace** - AI Models
- Visit: [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens)
- Sign up free โ New token โ Read permission โ Copy
**GitHub** - Repository Access
- Visit: [github.com/settings/tokens/new](https://github.com/settings/tokens/new?scopes=repo,workflow&description=Remcode%20MCP%20Tools)
- Generate token โ Select `repo,workflow` โ Copy
**โฑ๏ธ Total time: ~2 minutes**
</details>
### **4. Start Using**
Ask your AI assistant: *"What authentication patterns are used in this codebase?"*
## ๐ Key Features
- **๐ง Codebase Intelligence**: AI understands your code structure and patterns
- **๐ Semantic Search**: Find code by meaning, not just keywords
- **๐ค SWE Best Practices**: Built-in software engineering guidance
- **๐ MCP Protocol**: Direct integration with AI assistants
- **โก Zero Configuration**: Works out of the box with smart defaults
- **๐ก๏ธ Privacy First**: Your code stays in your environment
## ๐ฏ How It Works
1. **Analyzes Your Code**: Remcode understands your codebase structure and patterns
2. **Creates Embeddings**: Generates semantic representations using CodeBERT
3. **Enables AI Search**: Your assistant can find and understand code contextually
4. **Provides Guidance**: Offers software engineering best practices specific to your code
## ๐งช Testing
**Quick Test**:
```bash
npx remcode inspector
```
Opens MCP Inspector for interactive testing of all tools.
**Full Test Suite**:
```bash
npm test
```
## ๐ Documentation
- **[Contributing Guide](CONTRIBUTING.md)** - How to contribute
- **[License](LICENSE)** - MIT License
## ๐ค Contributing
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
## ๐ฆ Tech Stack
- **TypeScript** - Type-safe development
- **CodeBERT** - Code-specific embeddings
- **Pinecone** - Vector database
- **Model Context Protocol** - AI assistant integration
- **GitHub Actions** - Automated processing
## ๐ License
MIT License - see [LICENSE](LICENSE) for details.
---
**Made with โค๏ธ for developers who want smarter AI assistants**