MCP.Market

CogSession MCP server

by premanand8800·io.github.premanand8800/cogsession·v0.1.0·1 stars

Session memory for AI coding agents: records decisions and dead ends, flags what went stale.

A85/100grade A
What users say
No reviews yet
Be the first
Safety scan
A85/100

full report

Adoption
Growing

1 stars10 downloads/wk

Reviews

Write one

Nobody has reviewed CogSession yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

CogSession tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-10-30 · same rubric, same numbers if you re-run it

1 medium
  • Code scan24 source files scanned20/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 7 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10

Findings (1)

  • mediumsubprocess with shell=Trueexec.shell-true
    cogsession-0.1.0/cogsession/claims.py: … claim.verified_by, shell=True, cwd=str(project_root), …
Overall 85/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How CogSession compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
85/100
higher than 70% of 48,243 servers
GitHub stars
1
more than 65% of 28,706 servers
Downloads a week
10
more than 3% of 12,306 servers with a package

Install CogSession in Claude Code, Cursor or VS Code

claude mcp add cogsession -- uvx cogsession
Add to Cursor

What the publisher says

From the CogSession repository's README, as published. We do not edit it. Read it on GitHub

<!-- mcp-name: io.github.premanand8800/cogsession -->

🌳 CogSession

Session memory for AI coding agents. Your agent forgets everything when the context window fills. CogSession remembers the parts worth keeping, and tells you when they stop being true.

The problem

Session 1 (context fills) → Session 2 starts fresh → Session 3 starts fresh
    Everything lost.          Repeats the mistakes.   Starts blind again.

You explain the codebase again. The agent tries the approach that already failed. The constraint you agreed on in session 1 is gone by session 3.

The usual answer is "write better notes", which fails for the same reason all documentation fails: it is true when written and nobody notices when it stops being true.

What CogSession does

Three things, and the third is the one that does not exist elsewhere.

1. It records without being asked. A session opens on its own. Decisions, dead ends, assumptions and errors are written as they happen, each stamped with the local time and the repo state it happened at (main@a1b2c3d+2, where +2 is dirty files).

2. It makes that searchable without loading it. Every session keeps a session.md: append-only, one block per event, every entry line self-describing. So one grep answers a question without pulling a file into context.

grep -A4 "dead_end"      .cogsessions/*/session.md   # what already failed
grep "2026-08-27 01:"    .cogsessions/*/session.md   # what happened that hour
grep "main@a1b2c3d"      .cogsessions/*/session.md   # what happened at that commit

3. It tells you when what you wrote stops being true. Record a claim with the command that proves it. When the files it watches change, the proof is re-run:

[CogSession] 1 claim(s) no longer hold:
  ✗ the composite key includes the tenant column
    expected '1', got '0'
    asserted in: PR description, line 26
    proof: grep -c 'UNIQUE (a, b, c)' migrations/007_schema.sql

No model judgement involved. It stores the command that proved something and re-runs it. Silence means everything still holds.

Why the third one matters

Every expensive failure in three weeks of daily use reduced to one sentence: something was true when it was written and stopped being true. A pull request description explaining a schema the code no longer had. A comment naming a constraint that moved. A test asserting a shape the implementation had dropped. A docstring contradicting its own function.

An agent cannot notice that from a transcript. A human notices it in review, which is the expensive place. A stored proof notices it for free.

Is this the thing you are looking for?

You are probably here because of one of these:

  • Claude Code hit its context limit and the next session knows nothing about the last one
  • Your agent retried an approach that already failed, because nothing recorded that it failed
  • A constraint you agreed on in one session was gone three sessions later
  • You keep re-explaining the same codebase at the start of every session
  • A comment, a doc or a PR description described the code as it used to be, and review caught it rather than you

The first four are what any agent-memory tool is for. The fifth is the one CogSession was actually built to solve, and it is the reason for the claims feature above.

How this differs from just writing notes

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

CogSession: common questions

Is CogSession MCP server safe?
Yes, by our scan: it is graded A (85/100). Read the CogSession safety report
How do I install CogSession?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does CogSession need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is CogSession maintained?
The last commit was 13 days ago (2026-10-23). The latest release is v0.1.0.
What can I use instead of CogSession?
Servers from other publishers that do the same job: Deja Vu MCP server, State Memory MCP server and Knowl MCP server.
How does CogSession compare with other MCP servers?
safety score 85/100 (higher than 70% of 48,243 servers); github stars 1 (more than 65% of 28,706 servers); downloads a week 10 (more than 3% of 12,306 servers with a package). Full comparison.

Alternatives to CogSession

Same job from other publishers: the closest match first, then the best rated.

  • Deja Vu
    deja-vu: local memory over the session histories of forty-three coding agents.
    A
  • State Memory MCP
    Persistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.
    A
  • Knowl
    Persistent memory for AI agents, for code, research and everyday life. Stale facts retire.
    A