Cogmemai MCP logo

Cogmemai MCP

by hifriendbot

Persistent cloud-first memory for MCP clients, with semantic recall, project context, tasks, links, analytics, and session continuity.

Install Cogmemai MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hifriendbot-cogmemai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cogmemai-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

hifriendbot/cogmemai-mcp connects MCP clients to CogmemAi's persistent memory service for semantic recall across sessions and projects. Its tools store, search, update, organize, import, and export memories, while AI-assisted extraction and document ingestion capture knowledge from conversations and files. Project context, session summaries, tasks, reminders, corrections, and file-change tracking help agents resume work. Reach for it when an agent needs durable project knowledge without maintaining a local database.

Use cases

  • Recall architecture decisions before proposing code changes
  • Load ranked project context at the start of a session
  • Extract durable facts from conversations and documentation
  • Track tasks, reminders, corrections, and session handoffs
  • Export or import memories when transferring project knowledge

Key features

  • Semantic memory search and proactive preflight recall
  • AI-powered conversation and document memory extraction
  • Project-scoped context with global memory promotion
  • Memory links, versions, tags, analytics, and stale-memory review
  • Persistent tasks, reminders, corrections, and session summaries
  • JSON memory import and export

Tools40

What Cogmemai MCP lets your agent do. Expand a tool for its parameters.

Self-reported~755 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

28/28 checks healthy over the last 113d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · cogmemai-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads1.8kPackage downloads in the last 30 days.
Last commit11d agoMost recent push to the default branch.
Tools exposed40Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Cogmemai MCP works

What hifriendbot/cogmemai-mcp does

hifriendbot/cogmemai-mcp provides a persistent memory layer for MCP-compatible AI clients. It is cloud-first and keeps memory outside the local project database, allowing knowledge to persist across sessions, devices, users, and teams. Memories can be scoped to a project or promoted to global scope.

The server covers both memory retrieval and memory maintenance. Agents can save facts such as architecture decisions or preferences, search them with natural-language semantic queries, and load ranked project context at the beginning of a session. They can also update or delete individual records, perform bounded bulk updates and deletions, and export or import memories as JSON.

How it works

The MCP tools expose a workflow for building and using a long-term knowledge base:

  • preflight performs a quick proactive recall before an agent makes a suggestion.
  • recall_memories searches stored knowledge semantically, while get_project_context retrieves high-value context for a project.
  • extract_memories derives facts from a conversation exchange, and ingest_document extracts memories from documents such as README files and API documentation.
  • save_session_summary records what happened during a session for later continuation.
  • link_memories, get_memory_links, and get_memory_versions support relationships and edit-history review.

Memory operations can be organized with types, categories, subjects, scopes, and tags. Analytics, stale-memory detection, feedback signals, and consolidation support ongoing cleanup and refinement. The service also includes persistent tasks, reminders, corrections, and file-change tracking for project continuity.

Setup and configuration

The package is distributed as cogmemai-mcp through npm and requires Node.js 20 or newer. The hosted MCP endpoint is https://hifriendbot.com/mcp/ and supports OAuth 2.1 for compatible clients, including sign-in with PKCE. API keys remain supported.

A recall character budget can be configured with COGMEMAI_RECALL_MAX_CHARS. When set, higher-ranked results are returned in full first and remaining results can be represented by marked snippets; a call-level max_chars value takes precedence. Passing max_chars: 0 requests the full results.

The package also supports local mode. A free key registers the installation, while stored data remains on the local machine in that mode.

Tools and capabilities

The exposed toolset includes:

  • Semantic recall, proactive preflight checks, project-context loading, and usage statistics.
  • Explicit saves, automatic extraction, document ingestion, consolidation, tagging, linking, version history, analytics, and feedback.
  • Individual and bulk memory updates and deletion, plus JSON import and export.
  • Session summaries, persistent task status and priority tracking, reminders, corrections, stale-memory review, and file-change inspection.
  • Project-to-global memory promotion for knowledge that should apply beyond one project.

The tool annotations identify properties such as read-only, destructive, and idempotent behavior so clients can present or confirm operations appropriately.

Limitations and notes

Recall quality depends on the memories available to the account and the selected scope. Bulk deletion is limited to 100 memories per operation, and bulk update is limited to 50. The recall character budget reduces returned context but allows truncated results to be expanded by ID.

The service is intended for persistent knowledge and workflow continuity. Destructive operations such as deletion and bulk deletion should be used with care; JSON export provides a way to back up or transfer the memory set.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Cogmemai MCP

hifriendbot/cogmemai-mcp is an MCP server that connects compatible AI clients to CogmemAi's persistent cloud-first memory service. Its main tools save and recall memories, extract facts from conversations and documents, load project context, manage tasks, and maintain links, versions, analytics, imports, and exports across sessions.

Install it from npm as the `cogmemai-mcp` package and use Node.js 20 or newer. The hosted option is available at `https://hifriendbot.com/mcp/`; compatible clients can authenticate there with OAuth 2.1 and PKCE, while API keys are also supported.

Yes, hifriendbot/cogmemai-mcp works with Cursor. Cursor is listed among the MCP clients supported by the hosted endpoint, which supports OAuth 2.1 sign-in as well as API keys.

Set `COGMEMAI_RECALL_MAX_CHARS` to configure a default recall character budget, or pass `max_chars` on an individual `recall_memories` call. A call-level value overrides the environment setting; use `max_chars: 0` to request complete results.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCogmemai MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hifriendbot-cogmemai-mcp?style=directory)](https://allmcps.com/mcp/hifriendbot-cogmemai-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/hifriendbot-cogmemai-mcp"><img src="https://allmcps.com/api/badge/hifriendbot-cogmemai-mcp?style=directory" alt="Cogmemai MCP on AllMCPs" /></a>