# sqlite-memory-mcp [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/RMANOV/sqlite-memory-mcp  
**GitHub Stars:** 18  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sqlite-memory-mcp

## Description
SQLite-backed MCP Memory Server with WAL concurrent safety, FTS5 search, session tracking, task management, and cross-machine bridge sync

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "sqlite-memory-mcp": {
    "command": "uvx",
    "args": ["PyQt6"]
  }
}
```

## Documentation

## What sqlite-memory-mcp does

sqlite-memory-mcp provides local-first persistent memory for MCP clients and coding agents. Its data lives in one SQLite file, including entities, observations, relationships, notes, session records, and task data. The core knowledge-graph interface is compatible with the nine tools from `@modelcontextprotocol/server-memory`, while additional MCP servers cover operational features such as sessions, tasks, collaboration, bridge synchronization, entity linking, and intelligence workflows.

The design emphasizes governed memory rather than unrestricted fact rewriting. Mutations retain provenance, and promotion of a claim to canonical memory can require a one-use operator approval tied to the reviewed claim and its source. Automatically extracted information remains available for review.

## How it works

SQLite runs in WAL mode so multiple readers and writers can use the same database file. This supports concurrent sessions while retaining transactional writes and avoiding a separate database process. FTS5 supplies keyword search with BM25 ranking, and an optional sqlite-vec backend can add cosine-similarity results. Reciprocal Rank Fusion combines retrieval results, after which contextual signals such as recency, project affinity, graph proximity, observation richness, canonical status, and active-session relevance can affect ranking.

Projects can scope entities when isolation is needed; leaving the project field unset allows information to be shared across projects. Session snapshots support continuity between restarts, while structured tasks include priorities, sections, due dates, recurring-task data, and typed queries. An optional bridge workflow synchronizes selected graph entities and task, attachment, and extended-memory data between trusted devices through a verified private GitHub repository.

## Setup and configuration

The database is represented by a single `memory.db` file, which can be backed up as a normal file. The implementation uses Python's standard-library `sqlite3`; `fastmcp` is the required additional dependency for MCP protocol support. Optional `orjson`, `sqlite-vec`, and `sentence-transformers` packages can improve serialization or enable semantic retrieval.

The server is intended to run without Docker, a separate database service, or API keys. Existing JSONL knowledge graphs can optionally be imported from `memory.json` during first use. A separate optional HTML report generator can present task data as a Kanban-style overview through GitHub Pages.

## Tools and capabilities

- Store and retrieve entities, observations, and relationships in a SQLite knowledge graph.
- Search with FTS5/BM25 and optionally combine results with semantic vector retrieval.
- Track sessions and restore context across agent restarts.
- Create, query, and manage structured tasks, including recurring tasks and due dates.
- Share memory across projects or scope it to a project.
- Record provenance and route candidate knowledge through reviewable promotion.
- Synchronize authorized memory and task data between trusted machines.
- Support collaboration and multi-agent debate workflows through companion servers.

## Limitations and notes

Semantic retrieval is optional; the FTS5 path remains the primary search backend. Cross-machine synchronization is deliberately restricted to explicitly authorized destinations and selected data. Advanced collaboration, intelligence, and debate workflows are separate optional surfaces alongside the core memory, session, and task servers. The project also separates its open-source runtime from a premium or private-runtime boundary with entitlement and policy checks.

_Full upstream README: https://allmcps.com/mcp/sqlite-memory-mcp/readme_

