Cogmem MCP Server
A self-improving, verifiable memory layer for AI coding agents. cogmem learns how you work across sessions so your agent gets more accurate and more autonomous over time: it stops repeating mistakes, keeps a live model of each project, and surfaces the right lesson at the right moment. Every memory is cryptographically signed and tamper-evident, so a poisoned or altered memory can be detected and rejected before it…
People connecting memory tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Python.
VERIFIED ACTIVE
LAST COMMIT 2026-07-27 · ★ 2 · #198 OF 259 MAINTAINED MEMORY · VERIFIED 2026-08-25
Apache-2.0 · Python servers · how we verify → /methodology
01 · Install Cogmem
before you install - you'll need
Set COGMEM_BIN before connecting. COGMEM_HOME is optional or environment-specific per the README.
Claude Code
claude mcp add writerslogic-cogmem -- uvx cogmem Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"writerslogic-cogmem": {
"command": "uvx",
"args": [
"cogmem"
]
}
}
} 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 Apache-2.0 - declared in the repository
pypi package cogmem - check the name against the project README before installing (PyPI has no namespace ownership)
registry namespace io.github.writerslogic is GitHub-verified and matches the repo owner
03 · What Cogmem can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Latest releases
v2.7.1 · 2026-07-13
Adds official MCP Registry publishing on release.
v2.7.0 · 2026-07-06
cogmem is now a pip-installable package. · Install · bash · pip install cogmem # CLI + MCP server + verifiable-memory tools · pip install 'cogmem[recall]' # add local semantic recall · cogmem init…
v2.6.0 · 2026-06-29
cogmem 2.6.0 · Provenance hardening, an honest efficacy signal, and the verification surface. · Verifiable memory · Issuer pinning - credentials, the transparency log, and the signed tree head are now pinned to a TOFU…
04 · Who maintains Cogmem
cogmem is maintained by writerslogic. We track 2 MCP servers from writerslogic - 2 actively maintained, 48 combined GitHub stars, oldest repo from Sep 2025. Full record: all servers from writerslogic.
05 · Facts
- repository
- github.com/writerslogic/cogmem
- category
- memory - ranked #198 of 259 actively-maintained memory servers as of 2026-08-25.
- release cadence
- 4 releases in the last 90 days (latest 2026-07-13)
- registry
- io.github.writerslogic/cogmem (active, first published 2026-07-13)
- packages
- pypi:cogmem
06 · Cogmem FAQ
What is Cogmem?
A self-improving, verifiable memory layer for AI coding agents. cogmem learns how you work across sessions so your agent gets more accurate and more autonomous over time: it stops repeating mistakes, keeps a live model of each project, and surfaces the right lesson at the right moment. Every memory is cryptographically signed and tamper-evident, so a poisoned or altered memory can be detected and rejected before it…
Is Cogmem still maintained?
Yes - as of 2026-08-25, its last commit was 2026-07-27 and it shipped 4 releases in the last 90 days. We re-verify nightly.
How do I install Cogmem?
Run `uvx cogmem`. The README documents 2 environment variables (COGMEM_HOME, COGMEM_BIN) to set first. Set COGMEM_BIN before connecting. COGMEM_HOME is optional or environment-specific per the README. You can also paste the ready-made client config above.
Does Cogmem run locally?
Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Cogmem
Alternatives to Cogmem
Maintained memory servers if Cogmem 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 Cogmem doesn't - only shown when the pairing reason fits the companion.
More memory MCP servers · Lean Memory · Longhand · Agent Memory · fojin - Buddhist Canon Tools · Agent Memory Os
More Python MCP servers · FHIR MCP Server · Ableton Live MCP Server · Sage Math · see all