SAME - Stateless Agent Memory Engine MCP server
Persistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools.
23 stars43 downloads/wk
Reviews
Write oneNobody has reviewed SAME - Stateless Agent Memory Engine yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
SAME - Stateless Agent Memory Engine 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-09-27 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned15/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 24 days ago15/15
- Maintainer identityregistry namespace matches repository owner6/10
Findings (2)
- mediumnpm install lifecycle script present
install.script - mediumnpm install lifecycle script present
install.scriptpackage.json: …: "bin/same" }, "scripts": { "postinstall": "node lib/install.js" }, "files":…
Install SAME - Stateless Agent Memory Engine in Claude Code, Cursor or VS Code
Runs npx -y @sgx-labs/same on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add same -- npx -y @sgx-labs/same
What the publisher says
From the SAME - Stateless Agent Memory Engine repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.sgx-labs/same -->
SAME — Persistent Memory for AI Coding Agents
Your AI forgets everything between sessions. SAME fixes that.
SAME gives every AI coding tool persistent memory. Claude Code, Cursor, Windsurf, Codex CLI, Gemini CLI — one memory layer that works everywhere. It indexes your markdown notes, surfaces relevant context automatically, and records decisions and handoffs so your AI picks up where it left off.
One binary. Fully local. No cloud. No telemetry. Mac, Linux, Windows, Raspberry Pi.
Install
# macOS / Linux
curl -fsSL https://statelessagent.com/install.sh | bash
# Windows (PowerShell)
irm https://statelessagent.com/install.ps1 | iexOr via npm (all platforms): npm install -g @sgx-labs/same
Installed via npm? Update with npx same@latest or npm update -g @sgx-labs/same.
See It Work
same demoIndexing 5 sample notes...
Searching: "authentication decision"
1. decisions/auth-strategy.md (score: 0.94)
"We chose JWT with refresh tokens for..."
2. notes/api-security.md (score: 0.87)
"Auth middleware validates tokens at..."
Asking: "what did we decide about authentication?"
Based on your notes, you decided to use JWT with refresh
tokens (decisions/auth-strategy.md). The API middleware
validates tokens at the gateway level (notes/api-security.md).
No accounts. No API keys. Everything runs locally.Quickstart
# 1. Point SAME at your project
cd ~/my-project && same init
# 2. Test search
same search "authentication decision"
# 3. Done. Your AI now has memory.
# Start Claude Code, Cursor, or any MCP client.same init sets up hooks and MCP tools automatically. Your AI gets relevant context on every session start.
Key Features
- Your AI remembers everything -- Decisions, handoffs, and context survive across sessions. Close your terminal, switch projects, come back tomorrow. Nothing gets lost.
- Memory integrity -- Tracks provenance (where notes came from), detects when source files change, and flags stale knowledge. Stale notes rank lower in search automatically. same health shows trust state across your vault.
- Dual-layer memory -- Extracts atomic facts from your notes via LLM. Facts are independently searchable and boost source notes in search results. The right answer surfaces even when the fact is buried in an unrelated conversation.
- Streamable HTTP transport -- same web --mcp enables an HTTP MCP endpoint with Bearer token auth. Connect from Open WebUI, LobeChat, or any HTTP MCP client — no stdio required.
- Works with your tools -- 19 MCP tools for Claude Code, Cursor, Windsurf, or any MCP client. Search, save decisions, create handoffs without leaving your editor.
- Safe for teams -- Multiple AI agents on the same codebase won't step on each other. File claims, push protection, and attribution built in.
- Instant expertise -- 17 pre-built knowledge vaults with 870+ curated notes. One command to install. Your AI gets domain knowledge in seconds.
- Connected knowledge -- See how decisions, files, and notes relate to each other. Ask "what depends on this?" and get real answers. Powered by SQLite.
Security & Teams
SAME includes built-in PII scanning and push protection:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
SAME - Stateless Agent Memory Engine: common questions
- Is SAME - Stateless Agent Memory Engine MCP server safe?
- Mostly: it is graded B (74/100). Read the SAME - Stateless Agent Memory Engine safety report
- How do I install SAME - Stateless Agent Memory Engine?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does SAME - Stateless Agent Memory Engine need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is SAME - Stateless Agent Memory Engine maintained?
- The last commit was 24 days ago (2026-09-03). The latest release is v0.12.1.
- What can I use instead of SAME - Stateless Agent Memory Engine?
- Servers from other publishers that do the same job: Remem MCP server, Myc MCP server and skillmem MCP server. Compare all SAME - Stateless Agent Memory Engine alternatives.
Alternatives to SAME - Stateless Agent Memory Engine
Same job from other publishers: the closest match first, then the best rated.
- RememLocal-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.not reviewedEstablishedB
- MycTask queue, decisions and memory for coding agents. Local SQLite, no network. Requires Bun.not reviewedGrowingC
- skillmemSkill memory for coding agents: learn, recall, reinforce, decay. Local SQLite, no API key.not reviewedGrowingA
- CludePortable agent memory anchored on Solana. Local SQLite + vector recall, open export.not reviewedGrowingB
- remem-mcp — Local-first MCP Memory + CodeGraph + WikiLocal-first memory for AI coding agents. Memory + CodeGraph + Wiki in one SQLite file.not reviewedGrowingB