modular-context-obsidian-plugin
by klemensgc·★ 88·综合分 47
Obsidian 插件,提供 Google Workspace 的 MCP 工具并将您的保险库转换为 LLM 原生知识库。
概述
Modular Context 是一个全面的 Obsidian 插件,既是 Google Workspace 的 MCP 服务器,也是 LLM 知识库。它为 Gmail、日历、Drive、文档、表格和幻灯片提供 25 个 MCP 工具,支持多账户功能。该插件还使用 Karpathy 对齐的框架(源 → Wiki → 模式)构建您的 Obsidian 保险库,创建可被 Claude Code 等 LLM 访问的丰富知识库。它采用本地优先的加密存储、OAuth 2.0 身份验证和零遥测架构。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您已使用 Obsidian 作为知识库,并希望通过 Claude Code 与 Google Workspace 无缝集成,请选择此方案。
什么时候不要选它
不适合非 macOS 用户,因为它主要在 macOS 上测试,或者如果您需要与 Google Workspace 工具的跨平台兼容性。
此 server 暴露的工具
从 README 抽取出 12 个工具gmail_searchQuery emails using Gmail syntax with optional body extraction
gmail_draftCreate a draft email that can be sent via Gmail UI
gmail_sendSend an email immediately without creating a draft
gmail_modify_labelsAdd or remove labels from emails (system or custom)
calendar_list_eventsList events in a specified time range
calendar_create_eventCreate a new calendar event
calendar_freebusyQuery busy time windows across multiple calendars
drive_searchFull-text search across Drive files by content and name
drive_download_fileDownload file content from Drive (text or base64)
docs_read_docExtract plain text from Google Docs
sheets_read_rangeRead values from a specified spreadsheet range
sheets_append_rowAdd a new row to the end of a data region in Sheets
可对比工具
安装
通过 BRAT 安装(推荐)
- 从 Obsidian 社区插件安装 BRAT
- 按
Cmd+P并选择 "BRAT: Add a beta plugin" - 输入
klemensgc/modular-context-obsidian-plugin
手动安装
- 从 GitHub 下载最新发布文件
- 将它们复制到
<vault>/.obsidian/plugins/modular-context/ - 在设置 → 社区插件中启用该插件
Claude Desktop 配置
添加到您的 config.json 中:
{
"mcpServers": {
"modular-context": {
"command": "node",
"args": ["~/.modular-context/mcp-google/dist/index.js"]
}
}
}FAQ
- 这支持 Windows 和 Linux 吗?
- 该插件目前需要 macOS。Linux 和 Windows 可能可用,但未经测试。MCP 服务器组件基于 Node.js,应该在所有平台上都可用。
- 我可以连接多少个 Google 账户?
- 该插件支持并行连接无限数量的 Google 账户,但测试模式每个账户限制为 100 个测试用户。
modular-context-obsidian-plugin 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。