RepoMemory
Click on "Deploy 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.
Related MCP server: booklib
π₯ 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 deployed
Maintenance
Related MCP Connectors
- OneLoreOAuthai.onelore
Shared project context for AI agents and teams: docs, tasks, and messages that stay current.
Research-backed linting + generation for agent context files (CLAUDE.md, AGENTS.md, Cursor rules).
Codebase graphs, caller impact analysis, and recorded project context for AI coding agents.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProject memory and scoping engine for AI coding agents. It gives any agent persistent project state, bounded work packages, and cross-session continuity.6MIT

booklibofficial
AlicenseNot gradedqualityDmaintenanceA context engineering tool for AI coding assistants that detects post-training knowledge gaps, resolves them automatically, and delivers team decisions via MCP to Claude, Cursor, Copilot, and other AI tools.7 npm38MIT- FlicenseNot gradedqualityDmaintenanceTransforms AI coding assistants into context-aware developers by auto-detecting project context, remembering conversations, and executing commands safely with a multi-layer security model.-
- AlicenseNot gradedqualityBmaintenanceAutomatically captures project state on git commits, detects context drift, and delivers structured token-budgeted briefings to AI agents, ensuring project continuity without manual effort.37 npm2MIT