Cogmemai MCP Server
Autonomous robots. Self-driving vehicles. Defense systems. Coding assistants. Any Ai system that needs to remember. Its 35 documented tools cover memories, memory, save, extract. It runs locally over stdio via the published package.
People connecting memory tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-08-16 · ★ 7 · #79 OF 259 MAINTAINED MEMORY · VERIFIED 2026-08-25
MIT · TypeScript servers · how we verify → /methodology
01 · Install Cogmemai
before you install - you'll need
Set COGMEMAI_API_KEY before connecting. COGMEMAI_MODE is optional or environment-specific per the README.
Claude Code
claude mcp add hifriendbot-cogmemai-mcp -- npx -y cogmemai-mcp Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"hifriendbot-cogmemai-mcp": {
"command": "npx",
"args": [
"-y",
"cogmemai-mcp"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package cogmemai-mcp - unscoped; check the name against the project README before installing
registry namespace io.github.hifriendbot is GitHub-verified and matches the repo owner
03 · What Cogmemai can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can search memories using natural language (semantic search), load top memories at session start (with smart ranking, health score, and session replay), browse memories with filters (paginated, with untyped filter), and update content, importance, scope, type, category, subject, and tags.
Capability map
Tools grouped from the project's README - what Cogmemai lets an agent do.
Memories
7 tools - e.g. Search memories using natural language (semantic search); Browse memories with filters (paginated, with untyped filter); Export all memories as JSON for backup or transfer
recall_memories · list_memories · export_memories · import_memories · link_memories · consolidate_memories…
read & search
7 tools - e.g. Load top memories at session start (with smart ranking, health score, and session replay); Check your usage stats and tier info; View all tags in use across your memories
get_project_context · get_usage · list_tags · get_analytics · get_tasks · get_file_changes…
Memory
6 tools - e.g. Update content, importance, scope, type, category, subject, and tags; Permanently delete a memory; Explore the knowledge graph around a memory
update_memory · delete_memory · get_memory_links · get_memory_versions · promote_memory · feedback_memory
Save
5 tools - e.g. Store a fact explicitly (architecture decision, preference, etc.); Save a summary of what was accomplished in this session; Create a persistent task with status and priority tracking
save_memory · save_session_summary · save_task · save_correction · save_rule
Extract
2 tools - e.g. Ai extracts facts from a conversation exchange automatically; Trigger Wisdom Engine to detect factual patterns across memory clusters
extract_memories · extract_principles
Bulk
2 tools - e.g. Delete up to 100 memories at once; Update up to 50 memories at once (content, type, category, tags, etc.)
bulk_delete · bulk_update
update
2 tools - e.g. Change task status, priority, or description as you work; Set a reminder that surfaces at the start of your next session
update_task · set_reminder
Preflight
1 tool - e.g. Proactive recall. Fast recall to check prior context before making any suggestion
preflight
Latest releases
v3.0.9 · 2026-02-26
What's New · v3.0.9 · Fixed all 21 numeric parameters to use z.coerce.number() - resolves type errors when MCP clients pass numbers as strings · Catches multi-line Zod chains that v3.0.8 missed · v3.0.8 · Zod type…
v3.0.8 · 2026-02-26
What's New · v3.0.8 · Zod type coercion - numeric parameters now accept both numbers and strings, fixing compatibility with all MCP clients · npm badges - version and license badges on README · v3.0.7 · Memory health…
04 · Who maintains Cogmemai
cogmemai is maintained by hifriendbot. We track 3 MCP servers from hifriendbot - 3 actively maintained, 11 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from hifriendbot.
05 · Facts
- repository
- github.com/hifriendbot/cogmemai-mcp
- category
- memory - ranked #79 of 259 actively-maintained memory servers as of 2026-08-25.
- registry
- io.github.hifriendbot/cogmemai (active, first published 2026-02-18 · 7 versions)
- packages
- npm:cogmemai-mcp · npm:cogmemai-mcp
06 · Cogmemai FAQ
Is Cogmemai still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-16. We re-verify nightly.
What can Cogmemai do?
With this server connected, an agent can search memories using natural language (semantic search), load top memories at session start (with smart ranking, health score, and session replay), browse memories with filters (paginated, with untyped filter), and update content, importance, scope, type, category, subject, and tags.
How do I install Cogmemai?
Run `npx -y cogmemai-mcp`. The README documents 2 environment variables (COGMEMAI_API_KEY, COGMEMAI_MODE) to set first. Set COGMEMAI_API_KEY before connecting. COGMEMAI_MODE is optional or environment-specific per the README. You can also paste the ready-made client config above.
Does Cogmemai run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Cogmemai
Alternatives to Cogmemai
Maintained memory servers if Cogmemai isn't the fit.
- Codebase Memory Codebase knowledge graph for AI agents - 159 languages, sub-ms queries, 99% fewer tokens. ★ 40,198 · 2026-08-23
- Tradememory Protocol MCP memory for AI trading agents. Store trades, recall similar setups, track strategy performance. ★ 1,412 · 2026-08-11
- Superlog Open-source agent that observes and fixes your application. Query logs, traces, metrics, incidents. ★ 1,394 · 2026-08-23
- Persome Local-first personal memory and model server for trusted MCP agents on macOS. ★ 1,314 · 2026-08-21
- Neo4j Memory MCP Neo4j Knowledge Graph Memory Server ★ 979 · 2026-04-10
- Projectmem Local-first memory + judgment layer for AI coding agents - warns before repeating failed fixes. ★ 750 · 2026-08-06
Pairs well with
Servers that cover what Cogmemai doesn't - only shown when the pairing reason fits the companion.
More memory MCP servers · Google Knowledge Graph · Memex (iamtouchskyer) · Infranodus MCP Server Infranodus · Inite Brain · InsideDCPulse World Model
More TypeScript MCP servers · Events MCP · Hatago MCP Hub · Hint Services Obsidian GitHub MCP · Claw Link · Hive Intelligence MCP · see all