Skip to content
Skillpedia
● Free and open source☁️ RemoteπŸ”‘ Needs an API keyAI, memory and agents

Mengram

Lets your AI agent keep long-term memory: facts, events and workflows that it can search and learn from.

206 stars on GitHubby alibaizhanovLicense Apache-2.0Updated 28 days ago

How to install

This MCP is remote: it runs in the cloud.

Nothing to install. Copy the address and paste it into your AI app:

Server address

https://mengram.io/mcp
  • β€ΊClaude (site or app): Settings β†’ Connectors β†’ Add custom connector.
  • β€ΊChatGPT: Settings β†’ Apps β†’ Create app (developer mode), and paste the address.
  • β€ΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.

Paste in the terminal:

claude mcp add --transport http mengram https://mengram.io/mcp --header "Authorization: <your value>"

What to fill in

NameWhat it isRequired
AuthorizationBearer <your Mengram API key> β€” free key at https://mengram.ioYes

Ready! Now test it

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

Remember that I deploy to Railway and prefer vim keybindings.
What do you know about my tech stack?

What it is

Mengram gives AI agents three kinds of memory: facts, past events and step-by-step workflows that improve when they fail. You can use its hosted API with a free key, or keep the memory in a local folder. It works with Claude Code, Codex, Cursor and other clients, and can save and recall context automatically.

What it can do

  • Add memory from conversations
  • Search facts, events and workflows
  • Ask a question and get an answer with citations
  • Procedures that evolve from failures
  • Import Claude Code history
  • Resume a task from where it was left

When to use

  • β€ΊWhen you want your agent to remember your preferences and project details between sessions.
  • β€ΊWhen you want context to survive /clear and auto-compaction in Claude Code.
  • β€ΊWhen you want a workflow that your agent learned to be fixed after it fails.

What you need

For the hosted service, a free API key from mengram.io. Local mode needs no account but needs a model provider key for extraction (Anthropic, OpenAI or Ollama). The CLI needs Python.

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?

The readme says there is a free tier and a free API key at mengram.io. Local mode has no account.

Is it open source?

The readme shows a license badge but does not name the license in the text given.

Can I keep my data local?

Yes. Local mode stores memory as a folder of Markdown files you own, with no account needed.

Which tools work with it?

Claude Code, Codex, Cursor, Claude Desktop and Windsurf are mentioned, plus a hosted MCP at https://mengram.io/mcp.

What languages does it support?

It claims retrieval and answers across 23 languages.

Does it import old history?

Yes. mengram import claude-code seeds memory from your Claude Code sessions, with secrets redacted on your machine first.

If it does not work

  • β€ΊSave your API key in ~/.mengram/config.json or set MENGRAM_API_KEY.
  • β€ΊRun mengram setup to configure hooks and MCP for the tools it finds.
  • β€ΊIf you installed hooks with the plugin and the CLI, remove one so they do not run twice.

5 new skills a week. 1 minute to read.