MCP ConfigsMay 13, 2026·2 min read

openDB — Local Memory DB + MCP for Agents

openDB gives agents a local SQLite memory database with MCP tools: index a workspace, search files, then run `opendb serve-mcp` to expose 12 tools.

Agent ready

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install 350dadba-2530-507c-b70f-12811a19a0d5 --target codex

Stages files first; activation requires review of the staged README and plan.

Intro

openDB gives agents a local SQLite memory database with MCP tools: index a workspace, search files, then run opendb serve-mcp to expose 12 tools.

Best for: local-first agent memory + workspace search without external vector DBs

Works with: Python 3.11+, MCP clients, Claude Code/Cursor, Agents SDKs (examples in README)

Setup time: 5-12 minutes

Key facts (verified)

  • GitHub: 87 stars · 19 forks · pushed 2026-05-12.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-verified entrypoint: pip install open-db[cli].

Main

  • Keep the setup minimal: follow the README’s 3-line path (install → index → serve-mcp) before tuning workspaces and tool permissions.

  • Run indexing per workspace so the agent can switch contexts cleanly; the README shows passing --workspace when serving MCP.

  • Use this when you want local retrieval without embedding APIs: README emphasizes SQLite FTS5 + engineered ranking and includes benchmark numbers.

Source-backed notes

  • README opens with a 3-command setup: pip install open-db[cli], opendb index, and opendb serve-mcp.
  • README states the MCP server exposes 12 tools and provides config examples for clients (Claude Code/Cursor and multiple agent SDKs).
  • README reports LongMemEval numbers (93.6% E2E accuracy; 500 questions) and highlights a SQLite-only retrieval stack.

FAQ

  • Do I need a vector database?: No — README emphasizes SQLite-only retrieval (FTS5) with engineered ranking.
  • How do I expose tools to my agent?: Run opendb serve-mcp and wire it as an stdio MCP server (README shows multiple client examples).
  • Can I index multiple workspaces?: Yes — README describes indexing and serving with an explicit --workspace path.
🙏

Source & Thanks

Source: https://github.com/wuwangzhang1216/openDB > License: MIT > GitHub stars: 87 · forks: 19

Discussion

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

Related Assets