{"report":{"v":1,"package":"cogmemai-mcp","version":"3.33.2","ranAt":"2026-11-16T11:45:10.363Z","install":{"ok":true,"integrity":"sha512-ljGzfwsQJOAo1Y5itx7SMJU/K4XFTbxPygCtEmhoAAUn7m2NmYexUFf9pe7UEeejJXKS+zgmsaDd0YcUasLH1w==","deps":174,"scripts":["better-sqlite3"],"bins":["cogmemai-mcp"],"license":"MIT","engines":"node >=20.0.0","repository":"https://github.com/hifriendbot/cogmemai-mcp","bin":"cogmemai-mcp"},"start":{"ok":true,"ms":204,"serverName":"cogmemai","serverVersion":"3.33.2","protocol":"2025-06-18","stderr":"CogmemAi MCP server v3.33.2 running on stdio (local mode)\n"},"tools":[{"name":"save_memory","description":"Store a developer memory (fact, preference, decision, architecture detail). Memories persist across all Claude Code sessions and are available in future conversations.","params":["content","memory_type","category","subject","importance","scope","team_id","tags","ttl","project_id","verified"]},{"name":"save_rule","description":"Save a mandatory rule that will ALWAYS be followed in every session. Rules bypass scoring and decay — they are injected into every conversation, every time. Use for absolute requirements like \"NEVER do X\" or \"ALWAYS do Y\".","params":["content","subject","scope","category","tags","project_id"]},{"name":"list_rules","description":"List all mandatory rules for the current project and/or globally. Rules are always-on memories that surface in every session.","params":["scope"]},{"name":"get_intent","description":"Read the project's Intent document: the owner's plain-English source of truth (what the project is for, what must always hold, what was decided and why, what is out of scope). It is loaded automatically at session start; call this when you need the full text, or to confirm one exists before proposing a change to it.","params":["project_id"]},{"name":"set_intent","description":"Create or replace the project's Intent document in the owner's own words: a short markdown document with the sections Purpose, Invariants (NEVER and ALWAYS sentences the guard will enforce), Decisions (with the why), and Out of scope. Every session loads it, the end-of-turn review checks changes against it, and every replacement is versioned. Use it when the owner describes what the project is for, or agrees to record a change of intent. Ask before replacing an existing document, and pass changed_by \"agent\" when you drafted the text.","params":["content","changed_by","project_id"]},{"name":"guard_check","description":"Ask before acting. Judges a proposed action (a command, a message about to be sent, a purchase, a change, anything) against the rules this person has asked their Ai to keep, plus the NEVER and MUST lines of the project intent. Returns allow, ask or deny with the rule that applies. The shell hook does this automatically for commands; call this for everything else, and always before an action that is hard to undo. Fails open: an error is an allow with judged=false.","params":["action","kind","context","project_id"]},{"name":"review_work","description":"Review finished work against the intent: what the person set out to have done, what must always hold, what was decided. Pass a description, output, message or transcript of what you did; the project intent document is used, or pass intent inline when there is none. Returns a plain summary, what the intent covers, what it does not, and any violations. The Stop hook does this automatically for code changes in a repository; call this for everything else.","params":["work","intent","project_id"]},{"name":"voice_check","description":"Check a draft against the person's own writing voice. Call it before handing back any draft longer than a paragraph when the rules include a voice_profile (learned with `cogmemai-mcp voice learn` from writing the person wrote themselves). Measures the draft (sentence rhythm, punctuation habits, contractions, person, vocabulary, formatting) against their profile and has the review judge it against the voice document. Returns a drift score with findings, the review verdict, and passed. Fix what is flagged, then check again. Pass scope \"project\" for a brand voice learned with --project.","params":["text","scope","min","project_id"]},{"name":"delete_rule","description":"Delete a mandatory rule by its memory ID. Use list_rules to find the ID first.","params":["memory_id"]},{"name":"preflight","description":"Proactive recall. Call this BEFORE making any suggestion, recommendation, or action plan. Sends the topic to a fast keyword search and returns any relevant prior context: previous attempts, decisions, contacts, evaluations. This prevents suggesting things that were already tried, rejected, or completed. Fast and cheap, use liberally.","params":["message","project_id"]},{"name":"recall_memories","description":"Search stored memories using semantic search. Returns memories ranked by relevance, importance, and recency. Use this to find relevant context from past sessions.","params":["query","scope","limit","memory_type","category","importance_min","tag","team_id","context_type","synthesize","max_chars","expand_ids"]},{"name":"extract_memories","description":"Extract memories from a conversation exchange using AI. Send the developer message and assistant response, and the server identifies facts worth remembering (architecture decisions, preferences, bug fixes, etc.).","params":["user_message","assistant_response","previous_context"]},{"name":"get_project_context","description":"Load top memories for the current project plus relevant global memories. Use at the start of a session to get full context from previous sessions. Optionally pass context to get memories most relevant to your current task.","params":["project_id","include_global","context","context_type","compact","limit","team_id"]},{"name":"list_memories","description":"List stored memories with optional filters by type, category, scope, or project.","params":["memory_type","category","importance_min","scope","limit","tag","offset","untyped","sort_by"]},{"name":"delete_memory","description":"Move a memory to the trash by its ID. Trashed memories are hidden from recall and restorable with restore_memory for 30 days, then purged permanently.","params":["memory_id"]},{"name":"restore_memory","description":"Restore a trashed (deleted) memory by its ID. Works within 30 days of deletion, before the trash is purged. Use list_trash to find restorable memories.","params":["memory_id"]},{"name":"list_trash","description":"List trashed (deleted) memories, newest first, with days remaining before each is purged permanently. Restore any of them with restore_memory.","params":["limit","offset"]},{"name":"update_memory","description":"Update an existing memory's content, importance, or scope.","params":["memory_id","content","importance","scope","memory_type","category","subject","tags"]},{"name":"bulk_delete","description":"Delete multiple memories at once by their IDs. Maximum 100 IDs per call. This is permanent.","params":["ids"]},{"name":"bulk_update","description":"Update multiple memories at once. Each item needs a memory_id and fields to update. Maximum 50 items per call.","params":["updates"]},{"name":"get_usage","description":"Get current usage statistics — memory count, extractions this month, tier info, projects.","params":[]},{"name":"export_memories","description":"Export all memories as JSON. Use this to back up memories or transfer them to another project.","params":[]},{"name":"import_memories","description":"Bulk import memories from a JSON array. Each memory needs at minimum a content field. Deduplication is applied automatically.","params":["memories"]},{"name":"ingest_document","description":"Extract memories from a document by splitting it into chunks and processing each one. Great for onboarding — feed in READMEs, architecture docs, or API specs to quickly build project context.","params":["text","document_type"]},{"name":"save_session_summary","description":"Save a summary of the current coding session. Captures what was accomplished, decisions made, and next steps. Stored as a session_summary memory for future reference.","params":["summary"]},{"name":"list_tags","description":"List all tags in use across your memories, with counts. Use this to see what threads/groups exist and find related memories by tag.","params":[]},{"name":"link_memories","description":"Connect two related memories with a named relationship. Use this to build a knowledge graph — e.g., linking a bug fix to the architecture decision that caused it, or connecting a preference to the pattern it led to.","params":["memory_id","related_memory_id","relationship"]},{"name":"get_memory_links","description":"View all memories linked to a specific memory. Returns the relationship type and full memory details for each connection. Use this to explore the knowledge graph around a memory.","params":["memory_id"]},{"name":"get_memory_versions","description":"View the edit history of a memory. Shows all previous versions with timestamps and what changed. Useful for understanding how a decision or fact evolved over time.","params":["memory_id"]},{"name":"get_analytics","description":"Get a memory health dashboard with insights: most recalled memories, never-recalled memories, stale memories, growth trends, and breakdowns by type and category. Use this to identify cleanup opportunities and understand memory usage patterns.","params":["project_id"]},{"name":"promote_memory","description":"Promote a project-scoped memory to global scope so it applies across all projects. Use this when you discover a preference or pattern that should be universal — e.g., \"user prefers tabs over spaces\" or \"always use Bun instead of npm\".","params":["memory_id"]},{"name":"consolidate_memories","description":"Consolidate related memories into fewer, richer memories. Finds clusters of memories sharing the same subject (3+ memories required), then uses AI to synthesize each cluster into 1-2 comprehensive facts. Originals are archived (not deleted) with full version history. Use dry_run=true to preview without making changes. Great for cleaning up memory clutter after many sessions.","params":["subject","memory_type","category","dry_run"]},{"name":"save_task","description":"Create a task that persists across sessions. Tasks are tracked with status (pending, in_progress, done, blocked) and priority (high, medium, low). Use this to maintain continuity on multi-session work.","params":["title","description","priority","status","project_id"]},{"name":"get_tasks","description":"Get tasks for the current project. Returns tasks filtered by status — defaults to showing pending and in_progress tasks. Use at session start to pick up where you left off.","params":["status","include_done"]},{"name":"update_task","description":"Update a task's status, title, description, or priority. Use this to mark tasks as in_progress, done, or blocked as you work.","params":["task_id","status","title","description","priority"]},{"name":"save_correction","description":"Save a correction pattern — what went wrong and what the right approach is. These are surfaced automatically when similar situations arise in future sessions, helping avoid repeated mistakes.","params":["wrong_approach","right_approach","context","scope","project_id"]},{"name":"set_reminder","description":"Set a reminder that surfaces automatically at the start of your next session. Use for follow-ups, things to check, or deferred work. Reminders auto-archive after being shown.","params":["content","ttl"]},{"name":"get_stale_memories","description":"Find memories that may be outdated based on age and access patterns. Returns memories that haven't been recalled or updated recently, so you can review, update, or delete them.","params":["days_threshold","limit"]},{"name":"get_file_changes","description":"Show what files changed since your last session. Compares the current git state to a snapshot saved when your previous session ended. Helps you understand what happened between sessions.","params":[]},{"name":"feedback_memory","description":"Signal whether a recalled memory was useful or irrelevant. Helps improve future recall quality over time. Use after recalling memories to indicate which were helpful vs noise.","params":["memory_id","signal"]},{"name":"generate_skills","description":"Manually trigger skill generation from your corrections, preferences, and patterns. Skills are behavioral directives that auto-improve how the AI works with you. CogmemAi also generates skills automatically when enough evidence accumulates — this tool lets you trigger it manually or preview candidates.","params":["subject","project_id","dry_run"]},{"name":"extract_principles","description":"Analyze memory clusters and extract underlying factual principles or patterns. Principles are observations about your project — \"this codebase tends to have X\" — not behavioral instructions (those are skills). Use dry_run to preview candidates first.","params":["subject","project_id","dry_run"]}],"toolsHash":"bb9d5ec4afda06f60656d0f136029338d7cdf4e366708c963488abd0084c276a","wrote":[],"callsAt":"2026-11-16T11:45:18.035Z","calls":[{"tool":"list_rules","ok":false,"ms":9,"bytes":0,"error":"tool reported an error: {\"error\":\"Could not locate the bindings file. Tried:\\n → /app/node_modules/better-sqlite3/build/better_sqlite3.node\\n → /app/node_modules/better-sqlite3/build/Debug/better_sqlite3.node\\n → /app/node_m"},{"tool":"get_intent","ok":false,"ms":1,"bytes":0,"error":"tool reported an error: {\"error\":\"get_intent needs cloud or hybrid mode (current: local). The intent check runs on the CogmemAi server.\"}"},{"tool":"get_project_context","ok":false,"ms":1,"bytes":0,"error":"tool reported an error: {\"error\":\"Could not locate the bindings file. Tried:\\n → /app/node_modules/better-sqlite3/build/better_sqlite3.node\\n → /app/node_modules/better-sqlite3/build/Debug/better_sqlite3.node\\n → /app/node_m"},{"tool":"list_memories","ok":false,"ms":1,"bytes":0,"error":"tool reported an error: {\"error\":\"Could not locate the bindings file. Tried:\\n → /app/node_modules/better-sqlite3/build/better_sqlite3.node\\n → /app/node_modules/better-sqlite3/build/Debug/better_sqlite3.node\\n → /app/node_m"},{"tool":"list_trash","ok":false,"ms":1,"bytes":0,"error":"tool reported an error: {\"error\":\"list_trash is not available in local storage mode.\"}"}],"host":{"commit":"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c","run":"https://github.com/itsHaddad/bragproof/actions/runs/43857070216"},"network":{"names":["registry.npmjs.org"],"conns":[],"callNames":[],"callConns":[]}},"summary":{"outcome":"started","needs":[],"contacts":[],"flags":[{"kind":"orders","tool":"save_rule","quote":"Save a mandatory rule that will ALWAYS be followed in every session. Rules bypass scoring and decay — they are injected into every convers"},{"kind":"orders","tool":"set_intent","quote":"rt markdown document with the sections Purpose, Invariants (NEVER and ALWAYS sentences the guard will enforce), Decisions (with the why), and Out of scope. Every ses"},{"kind":"orders","tool":"guard_check","quote":"the rules this person has asked their Ai to keep, plus the NEVER and MUST lines of the project intent. Returns allow, ask or deny with the rule that applies. The sh"}],"tools":42,"wrote":0,"callsTried":5,"callsAnswered":0,"callContacts":[]},"history":[{"package":"cogmemai-mcp","version":"3.33.2","ranAt":"2026-11-16T11:45:10.363Z","outcome":"started","tools":42,"contacts":0,"flags":3,"serious":0,"toolsHash":"bb9d5ec4afda06f60656d0f136029338d7cdf4e366708c963488abd0084c276a"}],"page":"https://bragproof.smaverk.com/r/cogmemai-mcp"}