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

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
Pip
Trust
Trust: Established
Entrypoint
pip install open-db[cli]
Universal CLI install command
npx tokrepo install 350dadba-2530-507c-b70f-12811a19a0d5
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