Local-first memory and guardrails that help coding agents avoid repeated project mistakes.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Memini.
The lumayapartners/memini MCP server adds persistent project memory for AI coding workflows. It records lessons such as failed approaches, fragile files, architecture decisions, deployment rules, client preferences, and session summaries. Memories are stored locally in a repositoryβs .memini/ directory, with a SQLite index and Markdown representations that can be reviewed in pull requests.
The main use is preventing known mistakes from recurring. A memory can be associated with one or more files and assigned warn or block severity. When a supported edit targets a file with a matching guardrail, memini can inject the recorded context before the edit. Warning-level memories allow the agent to continue after a prompt; block-level memories deny the edit until a human archives or otherwise resolves the memory.
At session start, memini prepares a severity-prioritized digest of relevant memories within a token budget. MCP tools allow an agent to save new lessons, request project context, check a path before editing, and submit a session summary. Claude Code hooks can also prompt for durable lessons after sessions that changed files.
The project supports three memory scopes. Project memories live in the current repository, workspace memories apply to repositories below a parent directory, and user memories live under the userβs home directory. Broader-scope guardrails require human verification before they can fire, limiting the ability of an agent to create rules that affect unrelated repositories.
File references are linked to Git information and file hashes. When referenced code changes, the memory becomes stale and stops triggering guardrails until it is verified again. Local review commands can identify duplicates, contradictions, dormant guardrails, and memories that have not provided useful coverage.
Run the lumayapartners/memini MCP server with npx -y memini mcp. In a repository, npx -y memini init creates the .memini/ store and installs the available Claude Code hooks. The CLI can also generate MCP configuration for clients or write client-specific setup for Cursor. Separate setup commands install Copilot hooks and Git pre-commit protection.
The project does not require an account, hosted service, or telemetry connection. Memory remains on the local machine, and secrets are redacted from memory bodies before storage. A diagnostic command is available for checking setup and active scopes.
The MCP interface includes tools for:
The CLI additionally supports listing, showing, archiving, approving, promoting, and inspecting memory statistics. Git pre-commit protection can block commits touching block-severity files, regardless of which editor or agent made the changes.
Memini is marked early-stage at version 0.1 in the provided material. Its edit interception covers supported edit tools rather than arbitrary shell commands. Warning-level guardrails are advisory, and block-level protection is not described as an absolute security boundary. Git pre-commit protection fails open and can be bypassed with git commit --no-verify.
Team-wide synchronized memory and a review workflow are listed as future roadmap items. Broad workspace and user rules also depend on human verification, so they are not immediately propagated from agent-created project memories.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/lumayapartners-memini)<a href="https://allmcps.com/mcp/lumayapartners-memini"><img src="https://allmcps.com/api/badge/lumayapartners-memini?style=directory" alt="Memini on AllMCPs" /></a>