Skip to content
Agentmart
Submit a tool

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

IndexedMITLocal (stdio)Remote (HTTP)★ 7
Write a review

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.

Book a call

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.

We use your email only for this newsletter. Privacy

About

Memory for any Ai: remembers across sessions, enforces your rules before actions, reviews the work.

No 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_memories
  • extract_principles
  • get_analytics
  • get_file_changes
  • get_intent
  • get_memory_links
  • get_memory_versions
  • get_project_context
  • get_stale_memories
  • get_tasks
  • get_usage
  • guard_check
Show 7 more tools
  • ingest_document
  • list_memories
  • list_rules
  • list_tags
  • list_trash
  • recall_memories
  • review_work

Write 12 · Create, change, send or run things.

  • bulk_update
  • import_memories
  • restore_memory
  • save_correction
  • save_memory
  • save_rule
  • save_session_summary
  • save_task
  • set_intent
  • set_reminder
  • update_memory
  • update_task

Delete 3 · Delete, drop, revoke or wipe things.

  • bulk_delete
  • delete_memory
  • delete_rule

Not yet classified 7 · We could not tell from the name and description.

  • consolidate_memories
  • export_memories
  • feedback_memory
  • generate_skills
  • link_memories
  • preflight
  • promote_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 code
  • glama.ai · found in code
  • hifriendbot.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_delete

    Delete multiple memories at once by their IDs. Maximum 100 IDs per call. This is permanent.

  • bulk_update

    Update multiple memories at once. Each item needs a memory_id and fields to update. Maximum 50 items per call.

  • consolidate_memories

    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.

  • delete_memory

    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.

  • delete_rule

    Delete a mandatory rule by its memory ID. Use list_rules to find the ID first.

  • export_memories

    Export all memories as JSON. Use this to back up memories or transfer them to another project.

  • extract_memories

    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.).

  • extract_principles

    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.

  • feedback_memory

    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.

  • generate_skills

    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.

  • get_analytics

    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.

  • get_file_changes

    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.

  • get_intent

    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.

  • get_memory_links

    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.

  • get_memory_versions

    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.

Show 26 more tools
  • get_project_context

    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.

  • get_stale_memories

    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.

  • get_tasks

    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.

  • get_usage

    Get current usage statistics — memory count, extractions this month, tier info, projects.

  • guard_check

    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.

  • import_memories

    Bulk import memories from a JSON array. Each memory needs at minimum a content field. Deduplication is applied automatically.

  • ingest_document

    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.

  • link_memories

    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.

  • list_memories

    List stored memories with optional filters by type, category, scope, or project.

  • list_rules

    List all mandatory rules for the current project and/or globally. Rules are always-on memories that surface in every session.

  • list_tags

    List all tags in use across your memories, with counts. Use this to see what threads/groups exist and find related memories by tag.

  • list_trash

    List trashed (deleted) memories, newest first, with days remaining before each is purged permanently. Restore any of them with restore_memory.

  • preflight

    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.

  • promote_memory

    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".

  • recall_memories

    Search stored memories using semantic search. Returns memories ranked by relevance, importance, and recency. Use this to find relevant context from past sessions.

  • restore_memory

    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.

  • review_work

    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.

  • save_correction

    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.

  • save_memory

    Store a developer memory (fact, preference, decision, architecture detail). Memories persist across all Claude Code sessions and are available in future conversations.

  • save_rule

    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".

  • save_session_summary

    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.

  • save_task

    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.

  • set_intent

    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.

  • set_reminder

    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.

  • update_memory

    Update an existing memory's content, importance, or scope.

  • update_task

    Update 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
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.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying Cogmemai?

CallGet help
Cite this page

Cogmemai MCP server. Agent Mart. https://agentmart.dev/connectors/hifriendbot-cogmemai (last updated 2026-10-24)