Skip to main content

DocuSense

Stop pasting whole documents into your agent.

DocuSense is a local MCP server that lets Claude, Cursor and other AI agents read your PDFs, Word files and docs by section and by claim, so they load the few hundred tokens that answer the question instead of the whole 50,000-token file. Every answer comes with a citation to the exact passage.

pasting the docs   ████████████████████████████████████████  160,179 tokens
vector RAG         ████                                         15,765 tokens
DocuSense          ██                                            6,869 tokens   → 23x less than pasting

Install

uv tool install docusense-mcp        # or: pipx install docusense-mcp
docusense setup                      # connects to Claude Code
docusense add ~/docs contract.pdf    # files or whole folders

That's it. Ask your agent about your documents.

Other clients: docusense setup claude-desktop, docusense setup cursor, or docusense setup print for a config snippet to paste anywhere. Claude Desktop users can also install the one-click docusense.mcpb from the releases page.

Supported files: PDF, Word (.docx), HTML, Markdown, plain text.

See what you saved

Example:

$ docusense savings
12 agent sessions · 87 tool calls
read via DocuSense:         41,302 tokens
pasting the docs:          912,440 tokens
saved:                     871,138 tokens (22.1x less context)

Why it uses fewer tokens

You ask Pasting the docs Vector RAG DocuSense
A precise fact, with a citation 9,090 tokens 5,362 tokens of nearby chunks 478 tokens: the exact paragraph
What changed between two versions 97,895 tokens 5,292 tokens, can't diff 2,776 tokens: just the changes
Does document A conflict with B? 53,194 tokens 5,111 tokens, hit or miss 3,615 tokens: both conflicting passages
  • Reads like a person. Your agent sees the table of contents, opens the right section, and reads only the paragraph it needs.
  • Tracks versions. Add a changed file again and DocuSense keeps both versions. Ask what changed without loading either one.
  • Finds contradictions between documents, with both sides cited.
  • Citations you can trust. Every passage is fingerprinted, so a made-up quote can't pass as a real one.
  • Private and free. Runs on your machine. No API key, no account, nothing uploaded.

Great for

  • Long specs, API references and design docs while coding in Claude Code or Cursor
  • Checking policies against standards and tracking revisions
  • Contracts, handbooks and research papers where you need exact quotes and page numbers
  • Any agent that keeps re-reading the same large files

If your documents are a few short files that already fit in context, you don't need DocuSense.

What your agent can do

Browse list documents, view the table of contents, read a section
Find search, find requirements and rules, look up definitions, follow cross-references
Cite get a verified quote, pack evidence into a token budget
Compare list versions, diff versions, see when a line changed, find contradictions, find affected documents
Add add files on its own and track progress

Set DOCUSENSE_TOOLS=core for a smaller tool set if your agent's context is tight.

Settings

Variable Default
DOCUSENSE_HOME ~/.docusense where your data lives
DOCUSENSE_ADD_ROOTS your home folder folders the agent may add files from
DOCUSENSE_TOOLS all core for fewer tools
DOCUSENSE_SAVINGS_LOG 1 0 turns off the local savings log

Share one library across several agents: docusense serve-mcp --http (set DOCUSENSE_HTTP_TOKEN when exposing it beyond localhost).

The first time you add documents, DocuSense downloads a small local search model (~130 MB) once.

License

MIT

Metadata

Release files for docusense-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docusense-mcp 0.1.1
File Size Uploaded Provenance Actions
docusense_mcp-0.1.1.tar.gz 74.9 kB With provenance Details for docusense_mcp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for docusense-mcp 0.1.1
File Interpreter ABI Platform Actions
docusense_mcp-0.1.1-py3-none-any.whl Python 3 none any Details for docusense_mcp-0.1.1-py3-none-any.whl

Total release size: 164.7 kB

Release files / docusense_mcp-0.1.1.tar.gz

Download URL docusense_mcp-0.1.1.tar.gz
Size 74.9 kB
Tags Source
SHA-256 checksum
How to use checksums
30bd83977826bc921620eaee8d7dcaadcc01f6946f274963604521cc8f2dae81
BLAKE2b-256 checksum
How to use checksums
8fbfa5207da9e172e6f49ac91b068a2b2925d4e11b2dda8a7956a9b001a7e82d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / docusense_mcp-0.1.1-py3-none-any.whl

Download URL docusense_mcp-0.1.1-py3-none-any.whl
Size 89.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdd5cdc962f9326d68d6a33bf7d89af947ebcdd59a3d8fb1ff3dc4d15da56fe3
BLAKE2b-256 checksum
How to use checksums
f086bddba6d42ff4d9503a7f720647b319d87648ea7a6767b1425d35184ad6fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for docusense-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for docusense_mcp-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page