AI coding memory as plain Markdown. Follows your repo, lives in git, opens in Obsidian. No account, no cloud.
pip install mneva==0.3.0 Copy PIP instructions
Every AI memory tool keeps your memory in its own database. mneva keeps it in your files.
Records are plain Markdown with YAML frontmatter under ~/.mneva/store/. You can read them, grep them, edit them in any editor, commit them to git, and open them in Obsidian. The SQLite index is disposable — delete it and it rebuilds from the Markdown. No account to create, no cloud to sync to, no telemetry on by default.
The problem it solves: every AI assistant forgets. Open a new chat and you re-explain your project from scratch. Switch from Claude Code to Cursor and the context doesn't follow. Capture a decision once; every MCP-capable tool can read it.
Why that matters more than the storage engine: a memory you can't read is a memory you can't audit, correct, or trust. When your assistant records something wrong about your architecture, you want to open the file and fix the line — not query an opaque store and hope.
v0.2 — mneva now speaks MCP. Wire mneva-mcp into any Model Context Protocol client (Claude Desktop, Claude Code, Cursor, Windsurf, Cline, Continue, ChatGPT Desktop in Developer Mode) in 30 seconds. The AI client supplies the intelligence; mneva supplies the memory. No API key required for the memory layer.
Without mneva, every new session starts the same way:
"Quick context: we're on SQLite not Postgres, auth lives in auth.ts, and we already ruled out websockets…"
With mneva, you said it once. Any AI client you wire up just knows — across chats, across tools, across days.
uvx mneva setup It registers mneva with every agent CLI it finds on your PATH (claude, codex), writes a profile template to ~/.mneva/profile-template.md, and prints the next steps. It is safe to re-run, and --dry-run shows the commands without running them.
For any other client, pick the one you use most. Paste the snippet into its MCP config and restart the client. The first time mneva-mcp launches it creates ~/.mneva/ automatically — no mneva init required.
First launch is slow, then instant. The first run downloads mneva and its dependencies (a few seconds) and caches them. If your client flags the server as slow or failed on the very first try, restart the client once — it connects from cache immediately. To pre-warm, run uvx --from mneva mneva-mcp once in a terminal and press Ctrl-C after it starts.
Claude Desktop — edit claude_desktop_config.json:
{ "mcpServers": { "mneva": { "command": "uvx", "args": ["--from", "mneva", "mneva-mcp"], "env": { "MNEVA_MCP_CLIENT": "claude-desktop" } } } } Claude Code — edit ~/.claude.json (or run claude mcp add):
ChatGPT Desktop — MCP support is currently behind Developer Mode (beta) in the in-app settings; enable it and add the same config block ("MNEVA_MCP_CLIENT": "chatgpt-desktop").
Cline / Continue — both honor the same Manifest, scoped to your VS Code workspace.
After restart, ask the AI client "remember that we decided X" and watch mneva append a record. Search it next session.
The CLI is the lower-level surface — useful for scripting and for use cases where you don't have an MCP client.
uvx mneva init uvx mneva capture --scope my-project --lifespan permanent \ "decision: use SQLite over Postgres for v0 because zero-ops" uvx mneva search "SQLite" uvx mneva replay --tool=claude-code --scope=my-project Because the Markdown is the source of truth, you can edit ~/.mneva/store/*.md in any editor and then bring the index back in line:
uvx mneva reindex # rebuild the search index from the Markdown files The index is disposable — delete ~/.mneva/mneva.sqlite, run reindex, and nothing is lost.
Capture inside a git repository and the memory records where it came from — repo, branch, and commit — right in the note's frontmatter:
scope: my-project lifespan: permanent repo: github.com/mneva-ai/mneva branch: main commit_sha: cd6d7af1c3a2982810799d2f023a028fc361c6dc mneva search then scopes to the repo you're standing in:
uvx mneva search "SQLite" # this repo (plus memories tied to none) uvx mneva search "SQLite" --all-repos # everything uvx mneva capture --scope p --no-git "…" # don't record provenance at all repo comes from the remote URL, normalized — so it keeps matching after you clone the project to another machine or a different directory. Memories captured outside a repo are never hidden; only memories belonging to a different repo are filtered out.
Nothing here is required: no git, no repo, no remote. Each one just degrades to "no provenance" and capture works exactly as before.
The MCP path covers desktop AI clients. Browser-only AI chat UIs (claude.ai web, chatgpt.com, gemini.google.com, chat.deepseek.com) cannot speak MCP because browsers do not allow web pages to spawn local processes. The workaround is:
Your profile in one paste: save who you are and how you work as records with --scope profile --lifespan permanent, then run uvx mneva brief --copy and paste into any chat. For ChatGPT's custom instructions box, add --max-chars 1500.
mneva upgrade mneva upgrade detects how mneva was installed (pipx / uv tool / uvx / pip) and runs the matching update command, so you don't have to remember which one you used. Pass --dry-run to print the command without running it. If you run the MCP server via uvx --from mneva mneva-mcp, uvx already fetches the latest published version on each run, so there is nothing to upgrade.
mneva synthesize, mneva digest, and mneva distill use an external LLM provider for summarization and record extraction. They require a key in your environment (Anthropic / OpenAI / Google / OpenRouter — pick one). These are power-user features, not part of the headline MCP path.
See docs/providers.md for per-provider setup.
mneva diagnose [--share] prints a sanitized status report (platform, Python version, record counts by lifespan, configured backends, per-MCP-client attribution counts, last activity timestamp). The output goes to stdout only — mneva never sends it anywhere. Run it and paste the result into a bug report when something looks off.
Tests use pytest with pytest-asyncio and pytest-cov. From a source checkout with dev extras installed:
pytest CI runs the full matrix (ubuntu / macos / windows × Python 3.11 / 3.12 / 3.13 / 3.14) on every PR via .github/workflows/ci.yml.
mneva is in alpha. v0.2 ships the MCP layer plus uvx-first install. Milestones:
git clone https://github.com/mneva-ai/mneva.git Create a New Branch: Always work on a new branch, giving it a descriptive name. git checkout -b new-feature-x Make Your Changes: Develop and test your changes locally. Commit Your Changes: Commit with a clear message describing your updates. git commit -m 'Implemented new feature x.' Push to GitHub: Push the changes to your forked repository. git push origin new-feature-x Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations. Review: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution! Contributor Graph
Mneva is licensed under the Apache License 2.0.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




