DocsAgent
Lets your AI agent search and read your Zotero library, Obsidian vault and Apple Notes locally, and write to Zotero.
578 stars on GitHubby DocsAgentUpdated 2 months ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add docsagent -- npx -y @docsagent/docsagent
What to fill in
| Name | What it is | Required |
|---|---|---|
DOCSAGENT_CONFIG | Path to the shared docsagent config file (default: ~/.docsagent/config.json) | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Search my Zotero library for papers on attention mechanisms.
Get the BibTeX citation for this paper.
What it is
DocsAgent connects your agent to your personal knowledge base. A resident C++ engine indexes your Zotero papers, Obsidian notes and Apple Notes on macOS, and answers searches in about 15 ms. Your notes and PDFs stay on your machine. Write tools are off by default.
What it can do
list_sources: show searchable sources and countssearch: keyword or literal search over a sourceget_content: read passages or full text of an entryget_metadata: abstract, annotations, notes and citationslist_library: browse collections, folders and tagsimport_item: import PDFs or DOI, ISBN and arXiv IDs into Zoteroadd_note: add a note to a Zotero itembatch_modify: bulk collection and tag changes in Zotero
When to use
- βΊWhen you want to search your research papers and notes together
- βΊWhen you need a BibTeX or formatted citation for a Zotero item
- βΊWhen you want to add a note or tags to Zotero items
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
zotero-obsidian-bridgeHelps your agent move papers from Zotero into an Obsidian project knowledge base as source notes, with synthesis and writing folders.zotero-cliHelps your agent search and read your Zotero library from the command line, finding papers by keyword or meaning, reading PDFs, managing tags, and exporting citations.obsidianHelps your agent read, search, create and edit notes in your Obsidian vault, including adding links between notes.Frequently asked questions
Is it free and open source?
The license is Apache-2.0.
Does my data leave my computer?
No. The engine reads your sources directly on your machine.
Which platforms work?
macOS, Windows x64 and Linux x64. Linux ARM is not supported, and Apple Notes works only on macOS.
Can it change my notes?
Only Zotero, and only if you turn on enableWrites. Obsidian and Apple Notes are read-only.
How fast is search?
About 15 ms per query in the project's benchmark on 500 to 1,500 PDFs.
Which clients work?
Claude Desktop, Cursor, Cline, Qwen Code and other MCP clients.
If it does not work
- βΊStart the core first with npx @docsagent/docsagent start; the server fails fast if the core is not running.
- βΊRun npx @docsagent/docsagent status to check the endpoint and version.
- βΊSet DOCSAGENT_OBSIDIAN_VAULT if your vault is not in Documents/Obsidian Vault.
5 new skills a week. 1 minute to read.