Skip to content
MCP server

DocSlicer

Answer questions from documents too large to fit in context, reading only the sections…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.5
Listing updated
5 days ago

About DocSlicer

DocSlicer is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add docslicer --env DOCSLICER_MCP_ROOT='<DOCSLICER_MCP_ROOT>' -- uvx docslicer

Add to claude_desktop_config.json

{
  "mcpServers": {
    "docslicer": {
      "command": "uvx",
      "args": [
        "docslicer"
      ],
      "env": {
        "DOCSLICER_MCP_ROOT": "<DOCSLICER_MCP_ROOT>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "docslicer": {
      "command": "uvx",
      "args": [
        "docslicer"
      ],
      "env": {
        "DOCSLICER_MCP_ROOT": "<DOCSLICER_MCP_ROOT>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "docslicer": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "docslicer"
      ],
      "env": {
        "DOCSLICER_MCP_ROOT": "<DOCSLICER_MCP_ROOT>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "docslicer": {
      "command": "uvx",
      "args": [
        "docslicer"
      ],
      "env": {
        "DOCSLICER_MCP_ROOT": "<DOCSLICER_MCP_ROOT>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "docslicer": {
      "command": "uvx",
      "args": [
        "docslicer"
      ],
      "env": {
        "DOCSLICER_MCP_ROOT": "<DOCSLICER_MCP_ROOT>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • DOCSLICER_MCP_ROOTRestrict file sources and outputs to this directory tree. Several may be given, separated by the platform path separator.Required
  • 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.
  • DOCSLICER_MCP_ROOTRestrict file sources and outputs to this directory tree. Several may be given, separated by the platform path separator.Required
  • 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.

Pricing

Open source

Prices change. Check docslicer.ai before you buy.

DocSlicer FAQ

Is DocSlicer free?

Yes. DocSlicer is open source, so you can use and self-host it for free.

How do I add DocSlicer to Claude Code?

Run this command in your terminal: claude mcp add docslicer --env DOCSLICER_MCP_ROOT='<DOCSLICER_MCP_ROOT>' -- uvx docslicer

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers