Ever wanted the ChatGPT memory feature but **across all your LLMs** and stored on **your own hardware**? Ever hate how there's a **limit to how many
Local Memory MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Ever wanted the ChatGPT memory feature but across all your LLMs and stored on your own hardware? Ever hate how there's a limit to how many memories ChatGPT can store, and that you can't segment your memories into different.
Once Local Memory MCP is connected, these are the calls the assistant has available:
store_memory — Store new information in persistent memory with automatic semantic indexing. - SQLite: store_memory(content, source?, importance?) -update_memory — Modify existing memories while preserving search indexing. - SQLite: update_memory(memory_id, content?, importance?) - PostgreSQLsearch_memories — Find relevant memories using semantic or keyword search. - SQLite: search_memories(query, limit?, use_vector?) - PostgreSQLsummarize_memories — Generate intelligent summaries of retrieved memory collections. - Input: List of memory objects - Output: Structured summary highlighting keyPrerequisites — The Prerequisites tool exposed by this serverYou will need 2 environment variables: OLLAMA_API_URL, POSTGRES_HOST. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
nomic-embed-text model (optional but recommended for enhanced semantic search)cunicopia/local-memory-mcp on a container image is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Local Memory MCP's toolset — store_memory, update_memory, search_memories and 2 more — is a fair guide to whether it matches your workflow. It is maintained by cunicopia-dev; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| store_memory | Store new information in persistent memory with automatic semantic indexing. - **SQLite**: store_memory(content, source?, importance?) - **PostgreSQL**: store_memory(content, domain?, source?, importance?) - **Examples** |
| update_memory | Modify existing memories while preserving search indexing. - **SQLite**: update_memory(memory_id, content?, importance?) - **PostgreSQL**: update_memory(memory_id, content?, importance?, domain?) - **Use case**: Update o |
| search_memories | Find relevant memories using semantic or keyword search. - **SQLite**: search_memories(query, limit?, use_vector?) - **PostgreSQL**: search_memories(query, domain?, limit?) - **Examples**: - "What programming languages d |
| summarize_memories | Generate intelligent summaries of retrieved memory collections. - **Input**: List of memory objects - **Output**: Structured summary highlighting key patterns and insights - **Use case**: Create context summaries for com |
| Prerequisites | The Prerequisites tool exposed by this server. |
{
"mcpServers": {
"local-memory": {
"command": "docker",
"args": ["run", "-i", "--rm", "cunicopia/local-memory-mcp"],
"env": {
"OLLAMA_API_URL": "your-value",
"POSTGRES_HOST": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
nomic-embed-text model (optional but recommended for enhanced semantic search)| Variable | Description | Required |
|---|---|---|
| OLLAMA_API_URL | Endpoint or connection string the server talks to. | Yes |
| POSTGRES_HOST | Endpoint or connection string the server talks to. | Optional |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.