Obsidian Vault MCP

io.github.luffysolution-svgPublished by GitHub account luffysolution-svgv3.0.2Updated Oct 24, 2026

Local Zotero, MinerU, Obsidian literature workflow with transactional Analysis notes.

Overview

AI-generated overview

Local MCP server that turns Zotero, MinerU and an Obsidian vault into a traceable literature-research workflow with structured Analysis notes.

What you can do
  • Query Zotero items, collections, notes, annotations and BibTeX, and import or sync them into the vault
  • Parse PDFs with MinerU into Markdown with per-paper image folders and relative links
  • Maintain Obsidian literature notes, index and base views, plus a traceable Wiki across papers
  • Create and validate five kinds of Analysis notes (full read, literature review, passage Q&A, figure Q&A, concept)
  • Run transactional writes with dry-run, staging, locks, backups, preview and rollback
  • Expose version and configuration checks, and install client plugins and seven research Skills
When to use it
Useful for researchers and students who keep sources in Zotero and notes in Obsidian and want an assistant to import papers, parse full texts, answer questions about passages or figures, compare papers and write literature reviews inside the vault.
Requirements
Runs locally over stdio as a Python 3.10+ package (uv, uvx, pipx or pip). Requires OBSIDIAN_VAULT_PATH pointing at a vault already opened by Obsidian and containing a .obsidian folder. Zotero Desktop with its local API enabled is needed for Zotero tools; MinerU is needed for PDF parsing and may require a token. No MCP-level authentication is declared.
Before you install
Writes into the vault: notes, indexes, attachments and Analysis files, so use dry-run and keep transaction IDs. Do not commit the vault path, Zotero data directory, MinerU token or other credentials. MinerU may send PDFs to an external service, so confirm authorization and organizational policy first. Prefer local stdio; SSE/HTTP should sit behind a trusted authentication boundary. Transaction backups do not replace separate vault backups.

Installation

In SourceWeft

  1. Open Obsidian Vault MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

Obsidian Vault MCP

面向科研文献工作流的本地 MCP 服务:以 Zotero 管理来源,以 MinerU 提取全文,以 Obsidian 沉淀文献、Wiki 与结构化 Analysis,并通过 Skills 让 AI Agent 按可追溯流程工作。

English · 完整安装教程 · 开发文档 · 更新日志 · 贡献者

架构

text
用户自然语言任务        ↓7 个科研 Skills:识别意图、规划步骤、约束证据与输出        ↓31 个 MCP Tools:版本契约、查询、导入、解析、检索、校验与事务写入        ↓Zotero Desktop ── PDF ── MinerU ── Obsidian Vault                                      ├─ Literature 主笔记                                      ├─ PDF 与全文 Markdown                                      ├─ Index / Literature.base                                      ├─ Wiki                                      └─ 五类 Analysis / Analysis.base

项目不绑定大模型供应商。MCP Tools 负责确定性的本地数据操作,Skills 负责把工具编排成可复用的科研工作流。

核心功能

  • 稳定文献身份:以 Zotero 父条目 zoteroKey 作为主键。
  • Zotero 导入与同步:支持单篇、Collection、notes、annotations、BibTeX、存储附件和链接附件。
  • MinerU 全文解析:将 PDF 规范化为 Markdown,每篇文献使用独立图片目录和相对链接。
  • Obsidian 文献库:自动维护 Literature/index.md、Literature/Literature.base、主笔记、PDF、全文和 Wiki。
  • 结构化研究层:支持 full_read、literature_review、passage_qa、figure_qa、concept 五类 Analysis。
  • 统一数据库视图:Literature/Analysis/Analysis.base 提供 9 个视图。
  • 科研 Skills:内置 paper-qa、full-read、passage-qa、figure-qa、compare-papers、literature-review、concept-learning。
  • 安全写入:支持 dry-run、staging、锁、备份、原子替换、事务预览和回滚。
  • 版本可验证:literature_version 返回当前版本、31 个工具、7 个 Skills 和五类 Analysis。
  • 多客户端接入:支持 Codex、Claude Code、OpenCode、Pi、Hermes 和 WorkBuddy。

效果展示

文献目录

[Obsidian 文献目录]

Literature Index

[Literature Index]

多篇文献形成的可追溯 Wiki

展开效果图 [可追溯 Wiki 综合页面]

安装

3.0.2 已正式发布,要求 Python 3.10+。以下公开安装命令现已可用。

uv(推荐)

powershell
uv tool install "zotero-obsidian-mcp==3.0.2"obsidian-vault-mcp --help

无需持久安装:

powershell
uvx --from "zotero-obsidian-mcp==3.0.2" obsidian-vault-mcp doctor --vault-path "<VAULT_PATH>"

pipx / pip

powershell
pipx install "zotero-obsidian-mcp==3.0.2"# 或python -m pip install "zotero-obsidian-mcp==3.0.2"

MCP Registry

text
io.github.luffysolution-svg/obsidian-vault-mcp

等价的 stdio 配置:

json
{  "mcpServers": {    "obsidian-literature": {      "command": "uvx",      "args": [        "--from",        "zotero-obsidian-mcp==3.0.2",        "obsidian-vault-mcp",        "serve",        "--transport",        "stdio"      ],      "env": {        "OBSIDIAN_VAULT_PATH": "<VAULT_PATH>"      }    }  }}

首次配置

目标目录必须是已由 Obsidian 打开过的 Vault,并包含 .obsidian/。

powershell
obsidian-vault-mcp config init --vault-path "<VAULT_PATH>" --dry-runobsidian-vault-mcp config init --vault-path "<VAULT_PATH>"obsidian-vault-mcp config validate --vault-path "<VAULT_PATH>"obsidian-vault-mcp doctor --vault-path "<VAULT_PATH>"obsidian-vault-mcp call literature_version --json '{}'

启动 Zotero Desktop 并启用本地 API:

powershell
obsidian-vault-mcp call zotero_search_items --json '{"query":"photocatalysis"}'obsidian-vault-mcp import item ABCD1234 --vault-path "<VAULT_PATH>" --dry-runobsidian-vault-mcp import item ABCD1234 --vault-path "<VAULT_PATH>"

链接附件配置:

json
{  "zotero": {    "linkedAttachmentBaseDir": "<ZOTERO_LINKED_ATTACHMENT_BASE_DIR>"  }}

MinerU 解析:

powershell
obsidian-vault-mcp mineru parse ABCD1234 --vault-path "<VAULT_PATH>" --dry-runobsidian-vault-mcp mineru parse ABCD1234 --vault-path "<VAULT_PATH>"

规范产物:

text
Literature/attachment/MinerU/ABCD1234.mdLiterature/attachment/MinerU/image/ABCD1234/ABCD1234-fig01.png

Agent 与插件安装

powershell
obsidian-vault-mcp agent install codex --dry-runobsidian-vault-mcp agent install codex

客户端名称可替换为 claude、opencode、pi、hermes 或 workbuddy。

客户端安装内容
Codex原生 marketplace 插件、MCP 和 7 Skills
Claude Code原生 marketplace 插件、MCP 和 7 Skills
OpenCode项目本地 MCP 和 7 Skills
Pi薄 TypeScript Extension
HermesMCP 配置
WorkBuddyMCP 配置

GitHub Release 中的离线插件包:

text
obsidian-vault-mcp-3.0.2-plugins.zip

Skills

Skill工作流
paper-qa单篇快速问答,默认不写入 Vault
full-read单篇完整精读并保存 full_read
passage-qa定位具体段落、方法、数据或结论
figure-qa解读图、表、Scheme 和方程
compare-papers对用户选定论文建立可比性矩阵
literature-review对文献池进行主题化综述
concept-learning跨文献建立概念模型

正式工具面

分组数量
版本、系统与配置5
Zotero6
导入与同步4
MinerU3
导航与校验3
Analysis5
Wiki3
事务2
合计31

发布一致性

3.0.2 必须同时出现在 Python 包、运行时 __version__、MCP Registry server.json、Codex/Claude 插件清单、Pi 包、Git Tag v3.0.2、GitHub Release 和 PyPI 中。Release workflow 会校验版本、Tag 和产物身份,构建 wheel、sdist、插件 ZIP,执行测试与 handshake,并生成 SHA256SUMS。

安全边界

  • 所有写操作先 dry-run,再提交并保存 transactionId。
  • 不要提交 Vault 绝对路径、Zotero 数据目录、MinerU token 或其他凭据。
  • MinerU 可能把 PDF 发送到外部服务,使用前确认授权和组织政策。
  • 推荐本地 stdio;SSE/HTTP 必须放在可信认证边界之后。
  • 事务备份不替代独立的 Vault 备份。

贡献者

感谢 方珸 / Lym Fang (@LimFang) 提出 Zotero 链接附件兼容方案。完整记录见 CONTRIBUTORS.md。

Source: README.md at commit 7161bdf

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v3.0.2LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts