Server data from the Official MCP Registry
Local-first project memory and mistake-prevention guardrails for AI coding agents.
Local-first project memory and mistake-prevention guardrails for AI coding agents.
memini is a well-designed local-first project memory system with appropriate security controls for its purpose. The codebase demonstrates good practices around input validation, path traversal prevention, and secret redaction. Minor code quality issues and incomplete hook implementation do not significantly impact the security posture. Permissions align well with the stated purpose of managing project-scoped memories and enforcing guardrails. Supply chain analysis found 4 known vulnerabilities in dependencies (1 critical, 3 high severity). Package verification found 1 issue.
6 files analyzed · 10 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-lumayapartners-memini": {
"args": [
"-y",
"memini"
],
"command": "npx"
}
}
}From the project's GitHub README.
Never the same mistake twice. Mistake-prevention guardrails and persistent project memory for AI coding agents.
AI coding agents are stateless: every session starts with amnesia. The agent that broke your build editing vercel.json on Monday will happily try the exact same edit on Thursday. memini gives each repo a persistent memory of failed attempts, fragile files, decisions, and deployment rules — and force-feeds the relevant warning to the agent at the moment it's about to repeat history.
Not a notebook the agent may choose to read. A guardrail it can't skip.
.memini/ folder with a local SQLite index and human-readable, PR-reviewable markdown views. Local-first: nothing leaves your machine.
[WARNING] Editing vercel.json broke the build (recorded 2026-07-03)— Tried changing buildCommand; deploy failed. Actual fix: move checkout server-side and setVITE_STRIPE_USE_SERVER=true.
warn severity: the agent is warned once per session, then may proceed.block severity: the edit is always denied until a human archives the memory.remember_failed_attempt, remember_fragile_file, remember_decision, end_session_summary, plus recall_project_context and check_before_editing.pm stale flags memories whose evidence has changed, and stale memories stop firing guardrails until re-verified.cd your-repo
npx -y memini init # creates .memini/ + installs Claude Code hooks
# record your first guardrail
npx -y memini remember failed_attempt \
"Editing vercel.json broke the build" \
-b "Tried changing buildCommand; deploy failed. Fix: move checkout server-side." \
--file vercel.json --severity warn
That's it. Next time any Claude Code session in this repo tries to edit vercel.json, it gets the warning first.
Other agents (Cursor, Windsurf, any MCP client):
claude mcp add memini -- npx -y memini mcp # Claude Code MCP
npx -y memini install-mcp --write cursor # Cursor
npx -y memini install-mcp # print generic config
| Command | What it does |
|---|---|
pm init | Set up .memini/, gitignore, and hooks |
pm remember <type> <title> [-b body] [--file f...] [--severity warn|block] | Record a memory |
pm recall [query] [--file f] [--digest] | Search memories / preview the agent digest |
pm check <path> | Guardrail check (exit 1 if risks recorded) — usable in CI |
pm list / show / archive / approve <id> | Manage memories |
pm stale / pm verify <id> | Detect and re-verify outdated memories |
pm mcp | Run the MCP server (stdio) |
pm doctor | Diagnose setup |
Memory types: decision, failed_attempt, fragile_file, architecture, deployment, client_preference, session_summary.
Some lessons are project-specific; some apply to every repo on your machine that belongs to the same org or client. memini has three scopes:
| Scope | Where it lives | Use it for |
|---|---|---|
project (default) | <repo>/.memini/ | this repo's failed fixes, fragile files, decisions |
workspace | .memini/ in a parent folder of your repos | org/client conventions shared by every repo under that folder |
user | ~/.memini/ | personal rules that follow you everywhere |
cd ~/work/acme && pm init --workspace # one-time: workspace store covering ~/work/acme/*
# from inside any repo under ~/work/acme:
pm remember deployment "DB connections must use org OAuth, never PATs" \
--file "databricks.yml" --severity warn --scope workspace
pm promote <id> --workspace # lift a project lesson that turned out to be org-wide
Every repo under the workspace folder — including ones you create later — gets those guardrails automatically. Resolution walks up the directory tree, like .gitconfig or ESLint configs. Workspace/user file guardrails match by glob (vercel.json matches any repo's vercel.json; config/**/*.yml works too), and wider-scope memories only fire when human-verified — agents can propose memories to project scope only, so a prompt-injected agent can't plant rules that spread across repos. pm doctor shows which scopes are active.
.memini/ that your team reviews like any other change.Local-first by design: no server, no account, no telemetry. Secrets are auto-redacted before storage, file references are contained to the repo, and injected memory text is size-capped and framed as data. See SECURITY.md for the full threat model — including the honest limitations (guardrails intercept edit tools, not arbitrary shell; warn is advisory, block is not).
Early (v0.1). Team sync — shared memory across your whole team, with a review workflow — is on the roadmap. Feedback and issues welcome.
MIT
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.