# memi MCP server

> Provides local-first memory for AI agents using SQLite with hybrid keyword and semantic search capabilities.

- Repository: https://github.com/pinkpixel-dev/memi
- Page: https://hostedmcp.org/servers/pinkpixel-dev/memi
- Official: yes
- Transport: —
- Stars: 1
- License: Apache-2.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MEMI_AGENT` | no | no |  |
| `OPENAI_API_KEY` | no | no |  |

## FAQ

### How does memi store memories?

Memories are stored in a single SQLite file on your local machine, requiring no external server or account.

### What embedding providers are supported?

You can use Ollama for local embeddings or an OpenAI API key for cloud-based embeddings.

### Can I separate memories by project?

Yes, memi keeps global memories that apply across all projects separate from project-specific memories.

### How do I use memi with Claude Code?

You can add it using the command: claude mcp add memi -s user -e MEMI_AGENT=claude -- npx -y @pinkpixel/memi serve
