DocSlicer

io.github.DocSlicer/docslicer

Answer questions from documents too large to fit in context, reading only the sections you need.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "docslicer": {
      "command": "uvx",
      "args": [
        "docslicer"
      ],
      "env": {
        "DOCSLICER_MCP_ROOT": "<your DOCSLICER_MCP_ROOT>",
        "DOCSLICER_MCP_ALLOW_CLAUDE_DIR": "1",
        "DOCSLICER_MCP_ALLOW_URLS": "1"
      }
    }
  }
}
Environment variables
  • DOCSLICER_MCP_ROOTrequiredRestrict file sources and outputs to this directory tree. Several may be given, separated by the platform path separator.
  • DOCSLICER_MCP_ALLOW_CLAUDE_DIRSet to 0 to refuse documents dropped into a Claude chat, which the app copies into its own directory outside DOCSLICER_MCP_ROOT.
  • DOCSLICER_MCP_ALLOW_URLSSet to 0 to reject http(s) sources and only permit local files.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.2.5
Registry
active
Published
9/1/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that DocSlicer is listed here — it’s also the link we check for a free listing.

DocSlicer — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-docslicer-docslicer?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="DocSlicer — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![DocSlicer — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-docslicer-docslicer?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.