muninn
Persistent memory for AI coding agents. MCP server that gives Claude, Cursor, and Windsurf institutional knowledge across sessions
Install / Use
claude mcp add ravnltd -- npx -y github:ravnltd/muninnIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Data & AnalyticsSupported Platforms
Our assessment of muninn
muninn scores 78/100 on our quality scale, 542nd of 604 Data & Analytics skills we index.
Its MCP Server is 3.5 KB long, well organised into 11 sections with 4 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 17 days ago, so muninn is actively maintained.
- Our last check on 2026-09-23 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-10-03. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
muninn compared with similar skills
All 4 of these similar skills score higher than muninn; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| muninn (this skill)by ravnltd | 78 | 3 | 17d ago | MCP Server |
| claude-memby thedotmack | 100 | 117.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 112.3k | 8d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 81.9k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install muninn?
- Run
claude mcp add ravnltd -- npx -y github:ravnltd/muninn. The install tabs above show the steps for each supported agent. - Which AI agents does muninn work with?
- It is written for Claude Code, Claude Desktop, Cursor and Windsurf, as a MCP Server file. Other agents that read the same format can often use it too.
- Is muninn safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is muninn still maintained?
- The repository was last updated 17 days ago, so muninn is actively maintained.
Skill content
View source on GitHubMuninn
Your AI coding agent forgets everything between sessions. Muninn fixes that.
npx muninn-ai
Muninn gives AI coding agents persistent memory via MCP. Before every edit, the agent knows what's fragile, what decisions were made, and what broke last time. After every session, it writes back what it learned. Knowledge compounds automatically.
Works with: Claude Code, Cursor, Windsurf, Continue.dev, and any MCP-compatible tool.
The Problem
AI coding agents are stateless. Every session starts from zero:
- They break things — editing a critical file with no idea it's fragile
- They contradict themselves — picking a different pattern than 3 sessions ago
- They repeat mistakes — re-introducing bugs that were already fixed
- They lose context — forgetting why something was done a certain way
4 Tools
Muninn exposes 4 tools to your AI agent:
| Tool | Purpose |
|------|---------|
| recall | Pre-edit context — fragility, co-changers, related decisions, open issues, blast radius |
| remember | Record decisions and learnings — auto-categorized, searchable across sessions |
| track | Bug lifecycle — add when found, resolve when fixed, surface when relevant |
| muninn | Everything else — status, reindex, fragile files, decision outcomes |
What Compounds
Muninn gets smarter with every session:
- Fragility scoring — weighted composite of dependents, test coverage, change velocity, error history, complexity, and export surface
- File correlations — tracks which files change together to predict co-changes and warn about missed updates
- Learning graduation — patterns that prove true get promoted; contradicted ones get archived
- Decision grounding — architectural choices link to outcomes so the agent knows what worked and what didn't
Quick Start
Option 1: npx (Recommended)
npx muninn-ai
Installs Bun (if needed), clones the repo, registers the MCP server, and sets up hooks. One command.
Option 2: Manual Install
git clone https://github.com/ravnltd/muninn.git ~/.local/share/muninn
cd ~/.local/share/muninn && ./install.sh
First Run
On first session, Muninn auto-indexes your git history (last 100 commits) so recall returns useful context immediately. No setup needed.
Multi-Editor Support
After install, Muninn auto-detects and configures:
- Claude Code — MCP server + session hooks
- Cursor —
.cursor/mcp.json - Windsurf —
.windsurf/mcp.json - Continue.dev —
.continue/config.json
Or register manually:
muninn setup --list # See what's detected
muninn setup --all # Configure all detected editors
Architecture
Bun + TypeScript + SQLite (via libsql/sqld). Runs as an MCP server over stdio. Local mode stores everything in .muninn/ per-project. HTTP mode connects to a shared sqld instance for multi-machine setups.
License
AGPL-3.0-only — free to use, modify, and share. If you run a modified version as a network service, you must release your source.
Built in collaboration with Claude Code.
Related Skills
claude-mem
117.6kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
112.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
81.9k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
79.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
