MCP.Market

sqlite-graph-memory MCP server

by tonydzi·io.github.tonydzi/sqlite-graph-memory·v0.3.3·12 stars

Recall over your markdown notes: vector search plus your [[wikilinks]] as a graph, in SQLite.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

not scanned yet

Adoption
Growing

12 stars124 downloads/wk

Reviews

Write one

Nobody has reviewed sqlite-graph-memory yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

sqlite-graph-memory tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How sqlite-graph-memory compares

Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 90% of 803 Databases servers
GitHub stars
12
more than 81% of 601 Databases servers
Downloads a week
124
more than 63% of 315 Databases servers with a package

Release history: 3 versions in the registry since 2026-10-19, latest 2026-10-26, typically one every 5 days.

Install sqlite-graph-memory in Claude Code, Cursor or VS Code

claude mcp add sqlite-graph-memory -- uvx sqlite-graph-memory
Add to Cursor

What the publisher says

From the sqlite-graph-memory repository's README, as published. We do not edit it. Read it on GitHub

sqlite-graph-memory: persistent memory for Claude Code, Cursor and Codex over your own markdown notes

<!-- mcp-name: io.github.tonydzi/sqlite-graph-memory -->

Long-term memory for coding agents that lives in the notes you already keep: an MCP server and a CLI over any folder of markdown, Obsidian vaults included. pip install, point it at the folder, and Claude Code, Cursor, Codex or any other MCP client can recall from it.

Your agent forgets everything between sessions, and plain vector search gives it back flat, unrelated chunks. This gives it associative recall over your own markdown notes: vector search finds the entry points, the [[wikilinks]] you already wrote are the graph. One SQLite file, no graph database, no ETL pass, no server.

Three commands

pip install 'sqlite-graph-memory[embeddings]'
sgm-index ./notes
sgm-ask --ab "In which programming language is the tool behind Project Ouzel written?"

./notes is any folder of markdown notes. To get exactly the output below, use the 202-note synthetic vault from this repo (it is not inside the pip package):

git clone --depth 1 https://github.com/tonydzi/sqlite-graph-memory && cp -R sqlite-graph-memory/bench/vault ./notes

Real output, top 5 of 12:

--- DIRECT memory (vector) ---
 1. [  1.66] project-ouzel
 2. [ -1.33] project-avocet
 3. [ -1.79] tool-cobbleset
 4. [ -2.44] meeting-2025-10-21-lighthouse-sync
 5. [ -2.70] person-severin-ibarrondo

--- ASSOCIATIVE memory (vector+graph) ---
 1. [  1.66] project-ouzel
 2. [  1.14] tool-lanternfish  <== +graph
 3. [ -1.33] project-avocet
 4. [ -1.79] tool-cobbleset
 5. [ -2.44] meeting-2025-10-21-lighthouse-sync

The answer lives in tool-lanternfish ("Lanternfish is written in Elixir"). The question never names Lanternfish, so the vector pass does not find it in the top 12 at all. project-ouzel links to it, so one graph hop puts it second.

If that hop found something your vector search missed, a star is how other people with a notes folder find this repo. sgm-ask --ab asks the same once per machine, in a terminal only; SGMNOSTAR_PROMPT=1 turns it off.

That is the idea in one query, and it is not a blanket win. On this same vault vector-only ranks ahead of graph mode overall; the numbers are in bench/. --ab exists so you can measure which one wins on your own notes.

From any MCP client (Claude Desktop, Cursor, Zed, Windsurf): sgm-mcp after the install above, or uvx --with 'sqlite-graph-memory[embeddings]' sqlite-graph-memory. Set BRAININDEXDIR to the index folder sgm-index wrote. Config: examples/mcp-config.json. Claude Code: claude mcp add sqlite-graph-memory -e BRAININDEXDIR=/path/to/index -- sgm-mcp. Codex: a [mcp_servers.sqlite-graph-memory] table in ~/.codex/config.toml with command = "sgm-mcp". Agents that read files first: llms.txt.

What it is

Graph RAG on SQLite for AI agents — a working pilot, not a framework. It is the extracted memory layer of a personal "second brain" agent setup: vector search finds the entry points, the [[wikilinks]] you already wrote by hand are the graph, and a cross-encoder reranks what the hop dragged in. SQLite is the only database (schema.sql).

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

sqlite-graph-memory: common questions

Is sqlite-graph-memory MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the sqlite-graph-memory safety report
How do I install sqlite-graph-memory?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does sqlite-graph-memory need an API key?
No secret keys are declared. It reads 2 settings from the environment.
Is sqlite-graph-memory maintained?
The last commit was 8 days ago (2026-10-24). The latest release is v0.3.3.
What can I use instead of sqlite-graph-memory?
Servers from other publishers that do the same job: Remem MCP server, Memory Arbiter MCP server and Clude MCP server. Compare all sqlite-graph-memory alternatives.
How does sqlite-graph-memory compare with other Databases MCP servers?
safety score 92/100 (higher than 90% of 803 Databases servers); github stars 12 (more than 81% of 601 Databases servers); downloads a week 124 (more than 63% of 315 Databases servers with a package). Full comparison.

Alternatives to sqlite-graph-memory

Same job from other publishers: the closest match first, then the best rated.

All sqlite-graph-memory alternatives →
  • Remem
    Local-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.
    B
  • Memory Arbiter
    Local SQLite MCP memory: evidence-based recall, advisory conflict notices, authorized governance.
    A
  • Clude
    Portable agent memory anchored on Solana. Local SQLite + vector recall, open export.
    B
  • open-memex
    Local-first memory for AI coding agents — Markdown + SQLite FTS5, shared across editors via MCP.
    B
  • Graphmem
    Shared local memory for coding agents: SQLite, semantic recall, linked entities, code navigation.
    A