state-memory-mcp
Persistent, branch-aware workflow state memory MCP server for AI coding assistants. Tracks tasks, accepted decisions, and active blockers to prevent session context bloat and speed up development.
Install / Use
claude mcp add putervision -- npx -y github:putervision/state-memory-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of state-memory-mcp
state-memory-mcp scores 81/100 on our quality scale, 2440th of 2,895 Automation skills we index.
Its MCP Server is 4.6 KB long, well organised into 16 sections with 3 code examples: a solid amount of guidance for an agent.
It has 50 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 6 days ago, so state-memory-mcp is actively maintained.
- Our last check on 2026-08-13 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
state-memory-mcp compared with similar skills
All 4 of these similar skills score higher than state-memory-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| state-memory-mcp (this skill)by putervision | 81 | 50 | 6d ago | MCP Server |
| claude-memby thedotmack | 100 | 99.0k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 94.8k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.8k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.3k | today | CLAUDE.md |
Frequently asked questions
- How do I install state-memory-mcp?
- Run
claude mcp add putervision -- npx -y github:putervision/state-memory-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does state-memory-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is state-memory-mcp safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is state-memory-mcp still maintained?
- The repository was last updated 6 days ago, so state-memory-mcp is actively maintained.
Skill content
View source on GitHub@putervision/state-memory-mcp
@putervision/state-memory-mcp is a zero-infrastructure, deterministic Model Context Protocol (MCP) server that provides AI coding assistants (such as Cursor, Claude Code, Gemini, or Copilot) with a structured, persistent SQLite graph for tracking workflow state—tasks, decisions, artifacts, plans, blockers, and their semantic relationships.
🌐 Official Documentation & Website: statememorymcp.com
⚡ Quick Start & Installation
Prerequisites: Node.js >= 18.18.0
# 1. Install globally
npm install -g @putervision/state-memory-mcp
# 2. Navigate to your project directory
cd your-project
# 3. Initialize state-memory-mcp
# Creates .state-memory-mcp/, updates .gitignore, registers project,
# and scaffolds IDE instructions and MCP configs for Cursor, Claude, VS Code, Windsurf, etc.
state-memory-mcp init
# Done! Restart your IDE or Agent Manager to activate.
Alternative Options
# Run directly via binary (after global install)
state-memory-mcp run
# Re-initialize across all registered workspace projects
state-memory-mcp init-global
🌟 Key Highlights
- 🧠 Deterministic State Memory: Zero LLM in the loop for memory operations; fast, deterministic SQLite graph traversals.
- ⚡ 82 Core MCP Tools: Full CRUD, relationship linking, DAG cycle checks, FTS5 search, TF-IDF RAG, time-travel history rollback, Spec-Driven Development, and auto-healing validation.
- 📉 Up to 462× Token Savings: Offloads context to a local SQLite database, avoiding context bloat and linear prompt degradation.
- 🚀 67%–74% Latency Reduction: Eliminates multi-step file scanning loops; agents retrieve unblocked tasks and blockers in milliseconds.
- 🤝 Multi-Agent Blackboard: Shared Context Store allowing parallel subagents to publish decisions, tasks, and blocker updates safely.
- 🎨 Interactive 3D Visualizer: Browser-based dark-mode 3D WebGL force-directed graph visualizer (
state-memory-mcp view). - 🛡️ 100% Local & Private: Local-first architecture; all state stays inside
.state-memory-mcp/in your workspace.
📚 Documentation Directory
Explore dedicated guides and deep dives in the docs/ directory:
| Guide | Description |
| :--- | :--- |
| 💡 Value Proposition & Theory | Cognitive Externalization, FSM Formalism, First-Hop Determinism & Benchmark metrics. |
| 📋 State Memory Concepts | Node Types (task, decision, blocker...), Status Values, Typed Edges & Seeding Guidelines. |
| ⚙️ Configuration & IDE Setup | Auto-Initialization details, Environment Variables table, and Editor Configs (Cursor, VS Code, Claude, Antigravity, Windsurf). |
| 🛠️ CLI Command Reference | CLI flags (init, run, view, inspect, metrics, audit, doctor, backup, restore, merge) & Git Scanner. |
| ⏱️ Sessions, Snapshots & SDD | Session Lifecycle, Event Audit Trail, Snapshots, Trajectories, Sub-directory support & Spec-Driven Development. |
| 🧰 Tools, Resources & Prompts | Complete reference for all 82 MCP Tools, read-only state-memory:/// Resources, and Prompt templates. |
| 📘 Formal API Reference | Formal parameters, return schemas, and code signatures for all MCP endpoints. |
| 🎨 3D Visualizer Guide | Viewing and exporting the interactive WebGL 3D Force-Directed Graph visualizer. |
| 🗄️ Database Schema | SQLite tables, columns, indexes, and schema migration history. |
🧪 Testing
# Run full unit, integration, and performance benchmark test suite
npm run test
⚖️ License & Disclaimers
Developed and maintained by PuterVision LLC. Released under the MIT License.
- Local Storage Guarantee: All graph data, decision records, and event logs remain 100% local in your workspace. No telemetry or project data is ever transmitted.
- Trademarks & Non-Affiliation: Product names (Cursor, Claude Code, Gemini, Windsurf, VS Code, GitHub, SQLite) are property of their respective owners and used solely for compatibility identification.
Related Skills
claude-mem
99.0kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
94.8kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.3kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
