# mem MCP server

> Provides a portable, self-hosted memory plane for AI agents to store decisions, task states, and files for long-term recall across sessions.

- Repository: https://github.com/bytefolk/mem
- Page: https://hostedmcp.org/servers/bytefolk/mem
- Transport: —
- Stars: 10
- License: Apache-2.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MEM_SERVER` | no | no |  |
| `MEM_TOKEN` | no | no |  |

## FAQ

### What does mem actually do?

It gives agents a durable place to write decisions, evidence, task state, and files, allowing them to recall this information in later sessions or from different agents.

### Does mem run the AI agent?

No, mem is not an agent runtime; it is a memory layer that does not run the agent or generate answers.

### Can I use mem with Claude Code?

Yes, Claude Code users can add the mem-mcp executable to their environment to provide agents with memory tools.

### Is mem a hosted SaaS?

No, it is designed for private self-hosting and is not an internet-facing multi-tenant service.
