Cogmemai
Memory for any Ai: remembers across sessions, enforces your rules before actions, reviews the work.
Connector by hifriendbot · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying Cogmemai?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/hifriendbot-cogmemai
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 19 read · 12 write · 3 delete · 7 not yet classified
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 41
Read from the source code; the running server may list different tools.
Read 19 · Look things up without changing anything.
extract_memoriesextract_principlesget_analyticsget_file_changesget_intentget_memory_linksget_memory_versionsget_project_contextget_stale_memoriesget_tasksget_usageguard_check
Show 7 more tools
ingest_documentlist_memorieslist_ruleslist_tagslist_trashrecall_memoriesreview_work
Write 12 · Create, change, send or run things.
bulk_updateimport_memoriesrestore_memorysave_correctionsave_memorysave_rulesave_session_summarysave_taskset_intentset_reminderupdate_memoryupdate_task
Delete 3 · Delete, drop, revoke or wipe things.
bulk_deletedelete_memorydelete_rule
Not yet classified 7 · We could not tell from the name and description.
consolidate_memoriesexport_memoriesfeedback_memorygenerate_skillslink_memoriespreflightpromote_memory
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
COGMEMAI_API_KEY
Network hosts it talks to 3
github.com· found in codeglama.ai· found in codehifriendbot.com· found in code
Files it touches
- Your home directory (~)
Tools (41)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
bulk_deleteDelete multiple memories at once by their IDs. Maximum 100 IDs per call. This is permanent.
bulk_updateUpdate multiple memories at once. Each item needs a memory_id and fields to update. Maximum 50 items per call.
consolidate_memoriesConsolidate 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.
delete_memoryMove 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.
delete_ruleDelete a mandatory rule by its memory ID. Use list_rules to find the ID first.
export_memoriesExport all memories as JSON. Use this to back up memories or transfer them to another project.
extract_memoriesExtract 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.).
extract_principlesAnalyze 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.
feedback_memorySignal 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.
generate_skillsManually 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.
get_analyticsGet 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.
get_file_changesShow 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.
get_intentRead 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.
get_memory_linksView 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.
get_memory_versionsView 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.
Show 26 more tools
get_project_contextLoad 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.
get_stale_memoriesFind 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.
get_tasksGet 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.
get_usageGet current usage statistics — memory count, extractions this month, tier info, projects.
guard_checkAsk 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.
import_memoriesBulk import memories from a JSON array. Each memory needs at minimum a content field. Deduplication is applied automatically.
ingest_documentExtract 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.
link_memoriesConnect 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.
list_memoriesList stored memories with optional filters by type, category, scope, or project.
list_rulesList all mandatory rules for the current project and/or globally. Rules are always-on memories that surface in every session.
list_tagsList all tags in use across your memories, with counts. Use this to see what threads/groups exist and find related memories by tag.
list_trashList trashed (deleted) memories, newest first, with days remaining before each is purged permanently. Restore any of them with restore_memory.
preflightProactive 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.
promote_memoryPromote 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".
recall_memoriesSearch stored memories using semantic search. Returns memories ranked by relevance, importance, and recency. Use this to find relevant context from past sessions.
restore_memoryRestore 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.
review_workReview 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.
save_correctionSave 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.
save_memoryStore a developer memory (fact, preference, decision, architecture detail). Memories persist across all Claude Code sessions and are available in future conversations.
save_ruleSave 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".
save_session_summarySave 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.
save_taskCreate 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.
set_intentCreate 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.
set_reminderSet 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.
update_memoryUpdate an existing memory's content, importance, or scope.
update_taskUpdate a task's status, title, description, or priority. Use this to mark tasks as in_progress, done, or blocked as you work.
Signals
- Stars
- 7
- Forks
- 3
- Open issues
- 1
- Last commit
- Oct 13, 2026 (17 days ago)
- Last release
- Oct 1, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.hifriendbot/cogmemai- Version
- 3.31.2
- Auth
- API key
- Packages
- npm cogmemai-mcpnpm cogmemai-mcp
- License
- MIT
- Repository
- github.com/hifriendbot/cogmemai-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from hifriendbot
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get Cogmemai running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
Cogmemai MCP server. Agent Mart. https://agentmart.dev/connectors/hifriendbot-cogmemai (last updated 2026-10-24)