MCP ConfigsMay 12, 2026·2 min read

DuckDB Graph Memory MCP — File-Backed Memory DB

DuckDB Graph Memory MCP is a fork of the MCP memory server that stores the knowledge graph in a DuckDB file for SQL queries and scaling beyond JSON.

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Needs Confirmation · 62/100Policy: confirm
Agent surface
Any MCP/CLI agent
Kind
Mcp
Install
Single
Trust
Trust: Established
Entrypoint
@izumisy/mcp-duckdb-memory-server
Universal CLI install command
npx tokrepo install 8c5de361-7e55-5c19-95c3-3fe41bc5a2c4
Intro

DuckDB Graph Memory MCP is a fork of the MCP memory server that stores the knowledge graph in a DuckDB file for SQL queries and scaling beyond JSON.

  • Best for: agent builders who need a self-hosted memory graph that can grow beyond JSON and remain queryable
  • Works with: MCP clients (Claude Desktop), Node.js npx runner, a writable filesystem path for the DuckDB file
  • Setup time: 10-20 minutes

Practical Notes

  • Quant: memory is stored in a DuckDB file, so you can backup/rotate it like any other database artifact.
  • Quant: treat memory writes as an explicit policy—capture only verified facts to keep retrieval precision high.

Rollout pattern

  • Start with a dedicated memory file per project to avoid cross-project contamination.
  • Define a memory write policy: only write decisions, constraints, and stable preferences.
  • Schedule periodic cleanup or consolidation so the knowledge graph stays useful over time.

Watchouts

A local memory file can still leak secrets if your agent writes them. Treat the file as sensitive and keep it out of synced folders or shared drives.

FAQ

Q: Is this the official MCP memory server? A: It is a fork of the official knowledge graph memory server with DuckDB storage changes.

Q: Where is data stored? A: In a DuckDB database file at MEMORY_FILE_PATH.

Q: How do I keep it clean? A: Write only verified facts and run periodic consolidation/cleanup so retrieval stays high-signal.

🙏

Source & Thanks

Source: https://github.com/IzumiSy/mcp-duckdb-memory-server > License: MIT > GitHub stars: 55 · forks: 12

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets