MCP.so
登录
D

Docsearch Mcp

@PatrickKoss

关于 Docsearch Mcp

ripgrep for docs but via MCP

基本信息

分类

其他

传输方式

stdio

发布者

PatrickKoss

提交者

Patrick Koss

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

FAQ from Docsearch Mcp

What are the runtime requirements?

Node.js 18+ and TypeScript 5.6. An OpenAI API key is required for embedding generation; Docker is optional.

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.

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).

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).

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.

评论

其他 分类下的更多 MCP 服务器