MCP Configs2026年5月13日·1 分钟阅读

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 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Needs Confirmation · 62/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Mcp
安装
Pip
信任
信任等级:Established
入口
pip install open-db[cli]
通用 CLI 安装命令
npx tokrepo install 350dadba-2530-507c-b70f-12811a19a0d5
介绍

openDB 给 agent 提供本地 SQLite 记忆数据库 + MCP 工具:pip install 后索引工作区、全文检索,并通过 opendb serve-mcp 以 stdio 接入;README 标注 12 个工具与 LongMemEval 93.6%。

Best for: 本地优先的 agent 记忆/检索,不想引入外部向量库的人

Works with: Python 3.11+;MCP 客户端;Claude Code/Cursor;Agents SDK 示例(README)

Setup time: 5-12 minutes

Key facts (verified)

  • GitHub:87 stars · 19 forks;最近更新 2026-05-12。
  • 许可证:MIT;作者头像与仓库链接均已通过 GitHub API 复核。
  • README 中核对过的入口命令:pip install open-db[cli]

Main

  • 先按 README 的三步走(install → index → serve-mcp)跑通最小闭环,再考虑 workspace/权限等高级配置。

  • 按 workspace 维度做索引,让 agent 能清晰切换上下文;README 展示了在 MCP server 中传 --workspace

  • 如果你想要“无 embedding API”的本地检索,这是合适选择:README 强调 SQLite FTS5 的方案,并给出基准数据。

Source-backed notes

  • README 一开始就给出 3 行安装路径:pip install open-db[cli]opendb indexopendb serve-mcp
  • README 写明 MCP server 暴露 12 个工具,并提供 Claude Code/Cursor 与多种 Agents SDK 的接入示例。
  • README 报告 LongMemEval 数据(93.6% E2E,500 题),并强调检索栈只用 SQLite。

FAQ

  • 需要向量数据库吗?:不需要。README 强调用 SQLite FTS5 做检索,并给出性能/效果数据。
  • 怎么把工具暴露给 agent?:运行 opendb serve-mcp 并按 README 示例以 stdio MCP server 接入即可。
  • 能管理多个 workspace 吗?:可以。README 展示了索引与启动时通过 --workspace 指定路径的方式。
🙏

来源与感谢

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

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产