RepoMemory
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., "@RepoMemoryaudit CLAUDE.md in my current repo"
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.
π― The Problem
AI coding agents are only as good as the context they receive. Yet the files that control that context β CLAUDE.md, .claudeignore, AGENTS.md, CURSOR.md β are maintained manually, inconsistently, and with no tooling support. When your code evolves but your context files don't, your AI agent works with outdated information.
RepoMemory solves this. It's the first tool that treats AI context quality as a product β automatically scanning, auditing, generating, and monitoring the intelligence layer of your repositories.
π₯ Demo
β¨ Features
π Multi-Agent Audit
Score your AI context files across 7 quality dimensions (Architecture, Commands, Conventions, Off-limits, Testing, Deployment, Freshness) for 6 AI coding agents:
Agent | File | Score |
| 0β100 | |
| 0β100 | |
| 0β100 | |
| 0β100 | |
| 0β100 | |
| 0β100 |
π§ Core Capabilities
π Integrations
Interface | What it does | Quick Start |
π Web App | Full-featured dashboard with scan, audit, generate, compare |
|
π» CLI | Run scans, generate, and check from terminal |
|
π€ MCP Server | Call RepoMemory tools from any AI agent | 8 tools, stdio transport |
π₯οΈ VS Code | Sidebar panel with project tree + webview audit | Open |
π GitHub Action | Auto-check PRs for context drift |
|
π Quick Start
# Clone
git clone https://github.com/PraveenJayaprakash-JP/repomemory.git
cd repomemory
# Install & configure
npm install
cp .env.example .env.local # Add your AI API key
# Start the web app
npm run dev # β http://localhost:3000
# Live demo: https://repomemory-omega.vercel.app
# Or use the CLI
npm run cli scan /path/to/your/repo
npm run cli generate /path/to/your/repo --applyπ³ One-Click Fix
# Generate + apply all context files in one command
npm run cli generate /path/to/repo --applyπ€ MCP for AI Agents
Add to your opencode.json or claude_desktop_config.json:
{
"mcpServers": {
"repomemory": {
"command": "npx",
"args": ["tsx", "mcp/src/index.ts"],
"cwd": "/path/to/repomemory"
}
}
}Available MCP tools:
Tool | Description |
| Scan + audit a repo folder |
| Generate context files via AI |
| Detect stale context |
| Generate + write to repo |
| Explain repo architecture |
| Get recommendations |
| Overall health score |
| Comprehensive codebase explanation |
πΈ Screenshots
βοΈ Configuration
Variable | Default | Description |
| β | Your AI provider API key |
|
| OpenAI-compatible endpoint |
|
| Model for generation tasks |
ποΈ Architecture
repomemory/
βββ app/ # Next.js 15 β 16 routes across 7 pages
βββ lib/ # 15 core modules
β βββ scanner.ts # File system traversal + detection
β βββ auditor.ts # 7-dimension quality scoring
β βββ generator.ts # AI context pack generation
β βββ drift.ts # Drift detection + risk scoring
β βββ graph.ts # Architecture graph builder
β βββ discovery.ts # Deep architecture discovery
β βββ adr.ts # ADR generation from git history
β βββ brain.ts # Persistent knowledge store
β βββ changelog.ts # Git change summaries
β βββ ai.ts # OpenAI-compatible API wrapper
β βββ prompts.ts # AI prompt templates
β βββ storage.ts # File-based persistence
β βββ export.ts # ZIP export
β βββ types.ts # Shared TypeScript types
βββ cli/ # CLI tool (3 commands)
βββ mcp/ # MCP server (8 tools)
βββ vscode/ # VS Code extension
βββ .github/ # GitHub Action + CI workflow
βββ tests/ # 24 unit testsπ CI Integration
Add to your GitHub Actions workflow:
- name: Check AI Context
uses: PraveenJayaprakash-JP/repomemory/.github/actions/repomemory-check@main
with:
ai-api-key: ${{ secrets.AI_PROVIDER_API_KEY }}
fail-on-drift: true
min-score: 60This checks every PR for:
β AI Readiness score
β Context drift detection
β Risk level assessment
β Automatic PR comments with findings
β CI/CD enforcement (optional min-score gate)
π οΈ Development
npm test # 24 unit tests
npm run build # Production build (2.5s, 16 routes)
npm run cli -- scan . # Scan this repo
npm run cli -- generate . --apply # Generate context for this repoπΊοΈ Roadmap
Multi-agent context generation (6 AI agents)
Advanced drift detection with risk scoring
Architecture discovery engine
ADR generator
Project Brain (persistent knowledge)
explain_codebase MCP tool
Public hosted version
Team dashboard with multi-repo support
VSCode marketplace release
GitHub marketplace action
π€ Contributing
PRs welcome! RepoMemory is built with OpenCode Go β the same AI coding agent it helps configure.
Fork the repo
Create your feature branch:
git checkout -b feat/amazingCommit:
git commit -m 'feat: add amazing feature'Push:
git push origin feat/amazingOpen a PR
π License
MIT Β© PraveenJayaprakash-JP
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.
Latest Blog Posts
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/PraveenJayaprakash-JP/repomemory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server