Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

Piia Engram

Gives your AI coding tools one shared, local memory of who you are, your preferences, lessons and decisions.

165 stars on GitHubby PatdolitseLicense AGPL-3.0Updated 21 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add piia-engram -- uvx --from piia-engram==4.27.0 piia-engram-mcp piia-engram --transport stdio

What to fill in

NameWhat it isRequired
ENGRAM_MCP_STARTUP_SYNCKept for compatibility; has no effect. The server never imports other AI tools' memories at start (the user runs engram import-memories for that).No
ENGRAM_TOOLSExpose the context-budget friendly default surface; set to all for the full advanced surface.No
PYTHONIOENCODINGForce UTF-8 stdio frames on Windows-style consoles.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Remember that I want pytest with 90 percent coverage on every project.
What lessons have I saved about auth middleware?

What it is

Piia Engram keeps a personal identity and knowledge store on your own computer as local files. MCP coding tools such as Claude Code, Codex and Cursor can read the same approved preferences, lessons and decisions, so you do not repeat yourself when you switch tools. You can see, edit and override what it holds.

What it can do

  • Load your identity and long-term knowledge at the start of a session
  • Search saved lessons, decisions and playbooks
  • Propose new lessons for you to review
  • Save and resume session checkpoints
  • Preview what an AI caller would receive (Memory Lens)

When to use

  • β€ΊWhen you switch between Claude Code, Codex and Cursor and are tired of re-explaining your standards
  • β€ΊWhen you want AI memory that lives in files you can read and edit
  • β€ΊWhen you want to remember why you made an architecture decision

What you need

Python and pip. Run pip install piia-engram and then engram setup. It needs no cloud account.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and local?

Yes. The store lives under ~/.engram/ as JSON and Markdown files, with no cloud account. It has an open license.

Which tools work with it?

Claude Code, Codex, Cursor, Claude Desktop and others. The readme rates evidence for each client differently.

Who approves what is saved?

High-risk items wait for your review. Low and medium writes are absorbed automatically but can be audited and reversed. ENGRAM_APPROVAL=strict gates every write.

Does it send data out?

By default it sends one anonymous usage ping a day. You can turn it off with engram telemetry off or DO_NOT_TRACK=1.

Can it be encrypted?

Optional field-level AES-256-GCM encryption exists for supported profile fields. Files are plain text by default.

How many tools does it have?

19 core tools by default and 40 advanced tools if you set ENGRAM_TOOLS=all.

If it does not work

  • β€ΊRun engram doctor to check the setup, then restart your configured AI tool.
  • β€ΊIf a tool does not see the memory, run engram setup again and confirm the config file it lists.
  • β€ΊUse engram preview --html to see exactly what a caller would receive.

5 new skills a week. 1 minute to read.