Basic information
About Docsearch Mcp Server
ripgrep for docs but via MCP
Docsearch Mcp is a MCP server in the Other category listed in the AddMCP.net directory, published by PatrickKoss. Supported transport: stdio. License: Apache License Version 2.0. Source code is hosted on github.com. Related topics: docsearch, document-search, mcp.
Setup
{
"mcpServers": {
"docsearch": {
"command": "npx",
"args": [
"docsearch-mcp",
"start"
],
"env": {
"OPENAI_API_KEY": "your-openai-key",
"EMBEDDINGS_PROVIDER": "openai",
"FILE_ROOTS": ".,../other-project",
"DB_PATH": "/path/to/your/index.db"
}
}
}
}
{
"mcpServers": {
"docsearch": {
"command": "npx",
"args": [
"docsearch-mcp",
"start"
],
"env": {
"OPENAI_API_KEY": "your-openai-key",
"EMBEDDINGS_PROVIDER": "openai",
"FILE_ROOTS": ".,../other-project",
"DB_PATH": "/path/to/your/index.db"
}
}
}
}
{
"servers": {
"docsearch": {
"command": "npx",
"args": [
"docsearch-mcp",
"start"
],
"env": {
"OPENAI_API_KEY": "your-openai-key",
"EMBEDDINGS_PROVIDER": "openai",
"FILE_ROOTS": ".,../other-project",
"DB_PATH": "/path/to/your/index.db"
}
}
}
}
Docsearch Mcp config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"docsearch": {
"command": "npx",
"args": [
"docsearch-mcp",
"start"
],
"env": {
"OPENAI_API_KEY": "your-openai-key",
"EMBEDDINGS_PROVIDER": "openai",
"FILE_ROOTS": ".,../other-project",
"DB_PATH": "/path/to/your/index.db"
}
}
}
}
Docsearch Mcp tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Docsearch Mcp?
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). It is designed for AI assistants like Claude Code/Desktop to access documentation, codebases, and research materials.
How to use Docsearch Mcp?
Install globally with npm install -g docsearch-mcp or use with npx. Add the server to your MCP client configuration with the command npx docsearch-mcp start. Use CLI commands such as docsearch-mcp ingest files to index documents and docsearch-mcp search "query" to search. Docker images are also available for containerized deployment.
Key features of Docsearch Mcp
- Hybrid search combining full‑text and vector similarity.
- Index local files, PDFs, and Confluence spaces.
- AI‑powered image description and search for diagrams.
- Database flexibility: SQLite (local‑first) or PostgreSQL (scalable).
- Real‑time file watching with automatic re‑indexing.
- Multiple output formats: text, JSON, and YAML.
Use cases of Docsearch Mcp
- Provide AI assistants with searchable access to local codebases and documentation.
- Index Confluence knowledge bases and enable semantic search across spaces.
- Search and retrieve information from PDF documents with metadata.
- Enable image search in technical diagrams and charts via AI descriptions.
Frequently asked questions
1 What are the runtime requirements?
Node.js 18+ and TypeScript 5.6. An OpenAI API key is required for embedding generation; Docker is optional.
2 Where does the indexed data live?
By default, data is stored locally in a SQLite database (configurable path). PostgreSQL can be used instead for scaling.
3 What file types are supported?
Code files (.ts, .js, .py, .rs, .java, etc.), documentation (.md, .txt, .rst, .yaml, .json), PDFs, and images (.png, .jpg, .gif, .svg, .webp).
4 Can Docsearch Mcp work without an internet connection?
Local file indexing and search work offline, but embedding generation and image description require an API call to OpenAI (or a compatible TEI endpoint).
5 How do I configure Confluence indexing?
Set CONFLUENCE_BASE_URL, CONFLUENCE_EMAIL, CONFLUENCE_API_TOKEN, and CONFLUENCE_SPACES in a .env file. Optional filtering by parent page IDs and title include/exclude patterns is supported.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In