Skip to content

docfide/duct-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duct MCP Server

Model Context Protocol server for Duct — search and query documents from any MCP client (Claude, Cursor, Cline, etc.).

Tools

Tool Description
search Search indexed documents by relevance with BM25 or vector search
ask Ask a question and get an AI-generated answer with source citations
index Index files, directories, or URLs for search
list_documents List all indexed documents
stats Get index statistics (document and chunk counts)

Usage

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "duct": {
      "command": "npx",
      "args": ["@docfide/duct-mcp"]
    }
  }
}

Cursor

Add as an MCP server in Cursor settings pointing to npx @docfide/duct-mcp.

CLI

npx @docfide/duct-mcp

Set DUCT_PERSIST_PATH to reuse an existing Duct index:

DUCT_PERSIST_PATH=~/.duct npx @docfide/duct-mcp

Install

npm install -g @docfide/duct-mcp

License

MIT

About

Model Context Protocol server for Duct document search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors