DocsAgent

v1.0.0Search & Data Extractionstable

DocsAgent is a local-first AI documents assistant that lets you securely index and chat with thousands of desktop documents with zero cloud leakage.

agentaiclidocumentsdocx
Share:
695
Stars
0
Downloads
0
Weekly
0/5

What is DocsAgent?

DocsAgent is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to docsagent is a local-first ai documents assistant that lets you securely index and chat with thousands of desktop documents with zero cloud leakage.

DocsAgent is a local-first AI documents assistant that lets you securely index and chat with thousands of desktop documents with zero cloud leakage.

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • DocsAgent is a local-first AI documents assistant that lets

Use Cases

Local-first document indexing and chat
Zero cloud leakage for sensitive docs
Multi-format document support (PDF, DOCX)
docsagent

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx docsagent

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use DocsAgent

DocsAgent is a local-first AI document assistant that indexes thousands of desktop files — PDFs, Word documents, and PowerPoint presentations — and makes them searchable through deep semantic search, all without uploading content to any cloud service. It exposes an MCP server so that AI agents can perform semantic search across your local document library and index new files or folders on-the-fly during a conversation. Professionals handling sensitive documents such as legal contracts, research papers, or proprietary reports can use DocsAgent to query their entire library with natural language while keeping everything private.

Prerequisites

  • Node.js 18 or later (for the npm-based CLI)
  • npm package @docsagent/docsagent installed globally
  • Documents available locally in PDF, DOCX, or PPTX format
  • An MCP-compatible client such as Claude Desktop
1

Install DocsAgent globally

Install the @docsagent/docsagent package globally so the 'docsagent' CLI command is available system-wide.

npm install -g @docsagent/docsagent
2

Index your document folders

Use the 'docsagent add' command to index one or more local directories. DocsAgent will parse and embed all PDFs, DOCX, and PPTX files it finds.

docsagent add ~/Documents/Research ~/Documents/Contracts
3

Test search from the CLI

Verify the index is working by running a search query from the command line before connecting via MCP.

docsagent search "key terms in the NDA signed with Acme Corp"
4

Start the MCP server

Launch DocsAgent in MCP server mode. The server exposes the 'search' and 'add_docs' tools over stdio for MCP clients.

docsagent server
5

Add DocsAgent to your MCP client config

Add DocsAgent to your claude_desktop_config.json so Claude can search and index documents through the MCP protocol.

{
  "mcpServers": {
    "docsagent": {
      "command": "npx",
      "args": ["docsagent", "server"]
    }
  }
}

DocsAgent Examples

Client configuration

claude_desktop_config.json entry for DocsAgent running as an MCP server in server mode.

{
  "mcpServers": {
    "docsagent": {
      "command": "npx",
      "args": ["docsagent", "server"]
    }
  }
}

Prompts to try

Example prompts that use the semantic search and document indexing tools exposed by DocsAgent.

- "Search my documents for anything related to GDPR compliance requirements."
- "Find all contracts that mention a termination clause and summarize the conditions."
- "Index the folder ~/Downloads/Q2Reports and then search for revenue projections."
- "What does my research library say about transformer attention mechanisms?"
- "Find the slides from last quarter's board presentation that discuss headcount."

Troubleshooting DocsAgent

No results returned for a search query

Make sure you have indexed the relevant folders first with 'docsagent add <path>'. The index is built locally and must be populated before search will return results.

PDF parsing returns empty or garbled text

DocsAgent performs layout analysis on PDFs. Scanned image-only PDFs without embedded text layers may not be parsed. Convert them to text-searchable PDFs using OCR tools like ocrmypdf first.

MCP server not found or tools not appearing in Claude

Ensure @docsagent/docsagent is installed globally (npm list -g @docsagent/docsagent). If using npx without a global install, add '--yes' to force download: 'npx --yes docsagent server'.

Frequently Asked Questions about DocsAgent

What is DocsAgent?

DocsAgent is a Model Context Protocol (MCP) server that docsagent is a local-first ai documents assistant that lets you securely index and chat with thousands of desktop documents with zero cloud leakage. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install DocsAgent?

Follow the installation instructions on the DocsAgent GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with DocsAgent?

DocsAgent works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is DocsAgent free to use?

Yes, DocsAgent is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "docsagent": { "command": "npx", "args": ["-y", "docsagent"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use DocsAgent?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides