piia-engram
View on GitHubLocal-first AI memory you can see, edit, and override — portable across Claude Code, Codex, Cursor, Windsurf, and other MCP coding tools.
An MCP server providing local-first, user-owned AI work identity and memory (preferences, lessons, decisions, playbooks) in inspectable JSON/Markdown files. Any MCP coding tool can read the same approved context, with preview, redaction, and approval controls over writes.
Use Cases
Share one persistent developer identity/context across Claude Code, Codex, Cursor and WindsurfStore reusable lessons, decisions, and playbooks that AI tools can recallPreview and audit exactly what memory an AI caller receives before sendingApprove, edit, or override AI-proposed memory writes locallyExport an identity card as Markdown for non-MCP chat toolsKeep architecture decision records queryable across tools and projectsRedact credentials and gate high-risk memories before exposureReduce repeated re-explaining of preferences, stack, and quality bar in new sessions
Built With
- Language
- Python
- Frameworks
- MCP (Model Context Protocol) · mcp Python SDK · Starlette · uvicorn · portalocker · pytest · Docker
Tags
mcp-server · ai-memory · agent-memory · local-first · context-management · long-term-memory · ai-identity · cross-tool · claude-code · codex · cursor · windsurf · memory-governance · context-injection · privacy · python