Reference

Commands

Every docusense command.

Run docusense --help, or docusense <command> --help for details on any command.

#Everyday

CommandWhat it does
docusense setupConnect DocuSense to your agent (more)
docusense add <files or folders>Add documents, or new versions of them
docusense listShow your documents and their versions
docusense search "<question>"Search your library
docusense define "<term>"Find where a term is defined
docusense savingsSee how many tokens you've saved
docusense infoShow where your library is stored and how big it is

#setup

terminal
docusense setup                    # Claude Code
docusense setup claude-desktop
docusense setup cursor
docusense setup print              # config to paste into any other app

#add

terminal
docusense add report.pdf ~/Documents/policies
docusense add hb.pdf --doc employee-handbook --title "Employee Handbook" --label 2026
Option
--docchoose the document's name (one file at a time)
--titlegive the document a title
--labelname this version, instead of v1, v2… (one file at a time)
terminal
docusense search "remote work allowance"
docusense search "line length" --doc mail-policy --k 3
Option
--doconly search one document or version
--khow many results (default 5)
--modehybrid (default), semantic for meaning, lexical for exact words

#savings

terminal
docusense savings
docusense savings --days 7 --json

#Checking and maintenance

CommandWhat it does
docusense verifyCheck every stored passage is genuine. --deep also re-reads the original files.
docusense sections <document>@<version>Print a version's table of contents
docusense statsCounts of pages, sections and rules per version
docusense conflictsRe-check documents for contradictions. --llm-judge adds an AI review.
docusense indexRebuild the search index
docusense db reset --yesDelete your whole library and start fresh
warning

db reset permanently deletes every document and version in your library.

#Running the server

Your agent app starts DocuSense automatically, so you rarely need these.

CommandWhat it does
docusense serve-mcpRun DocuSense for one agent
docusense serve-mcp --httpRun a shared server (more)