Memory Quality MCP

Memory Quality MCP

memory-quality-mcp•byladyiceberg

A Claude Code MCP plugin that audits the AI memory store with a four-dimension quality score and provides cleanup recommendations with a visual dashboard.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Scores every memory on four dimensions and detects conflicts and rule violations, caching results so cleanup and the dashboard can reuse them without new LLM calls.
  • •Provides a quick health check returning total memories across all projects, stale counts, index usage, and estimated LLM calls, without LLM cost.
  • •Offers a visual dashboard with a health score ring, summary stats, and a collapsible memory list showing score details.
  • •Cleans up memories marked for deletion with a preview first, auto-backup to a trash folder, and explicit confirmation.

BEST FOR

  • •Users whose Claude Code memory store has accumulated stale, junk, conflicting, or misrecorded memories.
  • •Users who want to review memory health and get cleanup recommendations, then delete flagged memories with backups.
  • •Users who want to preview the tool with demo data before running it on real memories.

ABOUT MEMORY-QUALITY-MCP

Memory Quality MCP is cataloged as an MCP server attributed to ladyiceberg. A Claude Code MCP plugin that audits the AI memory store with a four-dimension quality score and provides cleanup recommendations with a visual dashboard. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Memory Quality MCP are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which LLM providers are supported?

Any OpenAI-compatible API, with built-in presets for OpenAI, Kimi, MiniMax, and Anthropic, plus custom providers via the MEMORY_QUALITY_BASE_URL environment variable.

Will it delete something important?

Every operation shows a preview, requires explicit confirmation, and auto-backs up to a trash folder before deleting.

Are the scores treated as final decisions?

Scores are suggestions, not commands; the user makes the final call, and every deletion requires confirmation and is backed up.

Upstream README

View this exact version on GitHub

README.md · 55a0ac463036 · Fetched 2026-11-13 11:37:02 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Memory Quality MCP

A Claude Code MCP plugin that audits and cleans up your AI memory.

中文版 · Report a Bug · Request a Feature


Memory Quality MCP Dashboard


Claude Code v2.1.59+ automatically saves memories from your conversations. Over time, your memory store accumulates:

  • Stale memories — "working on Project X this week" from months ago
  • Junk memories — offhand remarks treated as permanent facts
  • Conflicting memories — "prefers detailed comments" and "keep code clean and minimal" coexisting
  • Misrecorded memories — AI over-interpreted a one-time comment as a fixed habit

This plugin audits your memory store with a 4-dimension quality score (Importance / Recency / Credibility / Accuracy) and gives you actionable cleanup recommendations — with a visual dashboard.


Requirements

  • Claude Code v2.1.59+ (run claude --version to check)
  • Python 3.10+
  • LLM API Key — OpenAI, Kimi, MiniMax, or Anthropic (any one will do)

Installation

Add to your Claude Code MCP config (~/.claude/settings.json or your project's .claude/settings.json):

{
  "mcpServers": {
    "memory-quality": {
      "command": "uvx",
      "args": ["memory-quality-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-key-here"
      }
    }
  }
}

Option 2: pip

pip install memory-quality-mcp

Then in your MCP config:

{
  "mcpServers": {
    "memory-quality": {
      "command": "memory-quality-mcp",
      "env": {
        "MINIMAX_API_KEY": "your-key-here"
      }
    }
  }
}

Configure your LLM

Set one of these environment variables in the env field above:

ProviderEnv VariableDefault Model
OpenAIOPENAI_API_KEYgpt-4o-mini
KimiKIMI_API_KEYmoonshot-v1-8k
MiniMaxMINIMAX_API_KEYMiniMax-M2.5
AnthropicANTHROPIC_API_KEYclaude-haiku-4-5

The plugin auto-detects which provider to use based on whichever key is set.

For advanced config (custom model, thresholds), edit ~/.memory-quality-mcp/config.yaml — generated automatically on first run.


Usage

After setup, restart Claude Code and talk to it naturally:

1. Try the demo first (no memories needed)

Open the memory dashboard in demo mode

Claude calls memory_dashboard(demo=True) → opens a browser page with example data so you can see what the tool does before running it on your real memories.

2. Quick health check (no LLM cost)

Check my memory store health

Returns: total memories across all projects, stale count, index usage, estimated LLM calls for a full report.

3. Full quality analysis

Run a detailed memory quality analysis

Scores every memory on 4 dimensions, detects conflicts, flags rule violations. Results are cached — cleanup and dashboard reuse them without calling the LLM again.

Cost estimate: 8–9 LLM calls for 50 memories ($0.01 with gpt-4o-mini)

4. Open visual dashboard

Open the memory health dashboard

Opens a local HTML page in your browser:

  • Health score ring (0–100)
  • Summary stats (kept / review / delete)
  • Collapsible memory list — click any item to expand score details

Dashboard detail view

5. Clean up

Clean up the memories marked for deletion

Claude previews with memory_cleanup(dry_run=True) first, then executes on confirmation.

Safety guarantees:

  • Preview before every deletion
  • Auto-backup to .trash/<timestamp>/ before deleting
  • Never silent-deletes anything

6. Score a single memory (debug)

Score this memory: "User always codes late at night"

7. Analyze a specific project

Analyze memories for ~/my-project only

How scoring works

DimensionWeightWhat it measures
Importance40%How useful is this for future conversations?
Recency25%Is this information still accurate?
Credibility15%Is there a clear source (user stated it explicitly)?
Accuracy20%Did the AI record it faithfully, without over-interpreting?

Score > 3.5 → Keep | 2.5–3.5 → Review | < 2.5 → Delete


Typical workflow

You: Check my memory health

Claude: [memory_audit()]
        47 memories across 3 projects
        - Possibly stale: 8
        - Project memories past threshold: 3
        - MEMORY.md usage: 23% (46/200 lines)
        Estimated ~9 LLM calls for a full report.

You: Run the full analysis

Claude: [memory_report()]
        47 memories | 🗑 delete 8 | 🔄 review 5 | ✅ keep 34

        ⚡ 1 conflict found
        - 🔴 feedback_comments_a.md × feedback_comments_b.md
          One says "detailed comments", the other says "minimal comments"

        🗑 Suggested deletions (8)
        - project_q1_plan.md [project] · 120 days ago
          Score 1.5 · project memory past 90-day threshold

        Report cached — cleanup won't need to re-analyze

You: Open the dashboard

Claude: [memory_dashboard()]
        ✅ Dashboard opened in browser

You: Clean those up

Claude: [memory_cleanup(dry_run=True)]
        🔍 Preview (nothing deleted yet)
        8 memories will be removed: project_q1_plan.md ...

You: Confirm

Claude: [memory_cleanup(dry_run=False)]
        ✅ Cleaned up 8 memories
        Backup: ~/.claude/.../memory/.trash/20260405_143022/
        MEMORY.md index updated

FAQ

Q: "No memory files found"

Requires Claude Code v2.1.59+. Check:

claude --version              # must be >= v2.1.59
ls ~/.claude/projects/        # should list your projects

If the version is new enough but no files exist yet, Claude hasn't decided anything is worth remembering yet. Keep using Claude Code normally — files will appear within a few sessions.

Want to see the tool in action first? Run memory_dashboard(demo=True).

Q: Are the scores accurate?

Scores are suggestions, not commands. You make the final call. Every deletion requires confirmation and is backed up. If you find consistent scoring errors, please open a Wrong Score issue — each report directly improves the model.

Q: Which LLMs are supported?

Any OpenAI-compatible API. Built-in presets: OpenAI, Kimi, MiniMax, Anthropic. Custom providers via MEMORY_QUALITY_BASE_URL environment variable.

Q: Will it delete something important?

No. Every operation: ① shows a preview ② requires explicit confirmation ③ auto-backs up to .trash/ before deleting.

Q: Where are my memory files?

ls ~/.claude/projects/*/memory/

Or type /memory inside Claude Code to browse and edit them directly.


Contributing

Found a scoring error? Tell us — your feedback directly calibrates the model.

Bug or feature idea? Open an issue.


License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Memory Quality MCP from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/memory-quality-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops