# DocSlicer

> DocSlicer is an open-source MCP server. Answer questions from documents too large to fit in context, reading only the sections you need. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://docslicer.ai
- **Repository:** https://github.com/docslicer/docslicer
- **MCP Registry name:** io.github.DocSlicer/docslicer
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

---
Source: https://ai-powered.com/mcp/docslicer
