Skip to main content
Glama
jmars

memory-mcp

by jmars

memory-mcp

Persistent knowledge graph MCP server with SQLite backend. Drop-in replacement for the off-the-shelf mcp-server-memory (npm) — same tool signatures, but with graph traversal, fuzzy search, temporal queries, and timestamps.

Part of the Palimpsest intelligence fusion toolkit.

Why

The npm mcp-server-memory stores everything in a flat JSONL file. Every operation reads the entire file into memory. No timestamps, no graph queries, keyword-only search.

This replaces it with SQLite (WAL mode) while maintaining JSONL export compatibility. Adds:

  • Graph traversaltraverse("shen-meta", depth=2) finds 46 connected nodes across 112 relations

  • Fuzzy search — trigram similarity for entity names (no more exact-case matching)

  • Temporal queriesrecent(hours=24) shows everything added or modified

  • Timestamps — every entity, observation, and relation has created_at/updated_at

  • Case-insensitive searchsearch_nodes("project") matches ProjectX

Related MCP server: server-memory

Tools

CRUD (backward compatible)

  • create_entities, create_relations, add_observations

  • delete_entities, delete_observations, delete_relations

  • search_nodes, open_nodes, read_graph

New

  • traverse(start_node, depth) — graph walk from a node, returns all entities within N hops

  • recent(hours) — entities/relations created or updated in the last N hours

  • search_similar(name, threshold) — trigram fuzzy matching for entity names

Usage

pip install -e .

Reads from MEMORY_FILE_PATH (default: ~/.vibe/memory.jsonl). Stores in SQLite at MEMORY_DB_PATH (default: ~/.vibe/memory.db). On first run, auto-migrates existing JSONL into SQLite. All writes go to both stores.

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    A Knowledge Graph MCP server optimized for LLM context efficiency through compact JSON and SQLite persistence. It enables full graph management including node/edge CRUD operations, full-text search, and subgraph traversal.
  • A
    license
    A
    quality
    B
    maintenance
    A local-first MCP server for durable agent memory using SQLite and FTS5, enabling knowledge graph storage, search, and recall for AI agents.
    20
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    An embedded knowledge graph in one SQLite file, exposing a MCP server for agents to read and write entities and relationships with full audit trail and time travel.
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jmars/memory-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server