The High-Performance Local Intelligence Layer for AI Agents.
DocsAgent is a professional, local-first documents intelligence engine and MCP (Model Context Protocol) server. It provides a secure, near-instant bridge between your private local files and advanced agentic platforms like OpenClaw, Claude Code, and Cursor.
100% Local. 100% Private. Zero Data Leakage.
papersgpt-for-zotero is an MCP server built on DocsAgent that enables AI agents to connect and search papers in your Zotero library.
To configure it, add the following to your MCP settings.
{
"mcpServers": {
"papersgpt-for-zotero": {
"command": "npx",
"args": [
"-y",
"papersgpt-for-zotero",
"mcp",
]
}
}
}
Note: If your Zotero data storage path is not the default (~/Zotero or ~\Zotero), then you will need to modify the args value to include your real Zotero data storage path behind the "mcp".
docsagent-for-obsidian is an MCP server built on DocsAgent that enables AI agents to connect and search personal notes in your Obsidian.
To configure it, add the following to your MCP settings.
{
"mcpServers": {
"docsagent-for-obsidian": {
"command": "npx",
"args": [
"-y",
"docsagent-for-obsidian",
"mcp",
]
}
}
}
args value to include your real obsidian data storage path behind the "mcp".Modern AI Agents are incredibly smart, but they are "blind" to your private desktop documents. DocsAgent acts as a High-Performance Intelligence Engine that indexes your local data, allowing agents to search, read, and analyze thousands of files (1,000+) with absolute privacy.
This file provides detailed instructions and guidelines for using the DocsAgent skill, including its purpose, features, and usage examples. SKILL.md
npm install -g @docsagent/docsagent
DocsAgent provides a powerful CLI for managing your local knowledge base.
bash
# Add one or more directories or files to the index
docsagent add ~/Documents/Legal_Archive ~/Documents/Researchbash
# Perform a semantic search directly from the terminal
docsagent search "What are the key terms in the Barclays contract?"DocsAgent is a native Model Context Protocol (MCP) server. This allows AI agents to "see" your local documents.
Start the MCP server:
docsagent server
Connect DocsAgent to your favorite tools using the following configurations:
OpenClaw is the most powerful UI for local-first agents. Add DocsAgent in your config.yaml:
mcpServers:
docsagent:
command: "docsagent"
args: ["server"]
Integrate with Anthropic's CLI tool:
claude code mcp add docsagent -- docsagent server
DocsAgentcommanddocsagent serverOnce integrated, your AI agent gains professional-grade document capabilities through these tools:
search: Perform deep semantic search across your entire local library to find relevant snippets.add_docs: Instantly index new local folders or files during a conversation.list_documents, remove_document, status)DocsAgent provides a powerful CLI with convenient aliases (dag, da):
| Command | Alias Example | Description |
|---|---|---|
server |
da server |
Start the MCP server service |
add |
dag add <path> |
Add directories or files to the index |
search |
da search "query" |
Search for documents directly from CLI |
status |
dag status |
Check engine and indexing status |
stop |
da stop |
Stop the background engine service |
| Format | Status | Features |
|---|---|---|
| ✅ Full | Deep layout analysis & high-speed parsing | |
| Word (.docx) | ✅ Full | Table extraction & heading hierarchy preserved |
| PPTX | ✅ Full | Extracts slides, shapes, and speaker notes |
We are building the open standard for Local RAG. Join us in making AI respect personal data sovereignty!
DocsAgent is open-source under the Apache-2.0 License.
Desktop Sovereignty is here. Empower your Agents with DocsAgent.
$ claude mcp add docsagent \
-- python -m otcore.mcp_server <graph>