MCP server and CLI tool for local document search with hybrid semantic+keyword search across PDFs, files, and Confluence
MCP server and CLI tool for local document search with hybrid semantic+keyword search across PDFs, files, and Confluence. That is what the docsearch mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
A local-first document search and indexing system that provides hybrid semantic + keyword search across local files (including PDFs) and Confluence pages through the Model Context Protocol (MCP). Perfect for AI assistants like Claude Code/Desktop to access your documentation, codebase, and research materials.
The server publishes 2 tools. What each one is for:
source — Source to ingest: files, confluence, or all (default: all)Flag — Environment VariableThe server ships on npm as npx, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Configuration is passed through the environment: OPENAI_API_KEY, CONFLUENCE_BASE_URL, CONFLUENCE_API_TOKEN, ONLYOFFICE_URL, ONLYOFFICE_JWT_SECRET, DOCLING_URL, WHISPER_API_KEY, WHISPER_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Docsearch's toolset — source, Flag — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Docsearch's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| source | Source to ingest: files, confluence, or all (default: all) |
| Flag | Environment Variable |
{
"mcpServers": {
"docsearch": {
"command": "npx",
"args": ["docsearch-mcp", "start"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| OPENAI_API_KEY | Credential the server authenticates with. | Yes |
| CONFLUENCE_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| CONFLUENCE_API_TOKEN | Credential the server authenticates with. | Yes |
| ONLYOFFICE_URL | Endpoint or connection string the server talks to. | Yes |
| ONLYOFFICE_JWT_SECRET | Credential the server authenticates with. | Yes |
| DOCLING_URL | Endpoint or connection string the server talks to. | Yes |
| WHISPER_API_KEY | Credential the server authenticates with. | Yes |
| WHISPER_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.