# Paper

> Paper is an open-source MCP server for files and documents. Local document search that cites exact file, page and line; CLI and MCP server. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, Linux, Windows, CLI, API, Self-hosted
- **Website:** https://kintsugi.tools/paperscope.html
- **Repository:** https://github.com/kintsugi-tools/paperscope
- **MCP Registry name:** io.github.kintsugi-tools/paperscope
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-27

## About

Paper lets you ask plain-language questions across folders of PDFs, Word files, spreadsheets and scanned images, and returns the answer alongside the precise file, page and line range it came from. Every hit carries a citation you can open and check against the source, and when nothing in the files matches, it reports that rather than making up an answer.

It ships as a single Rust binary that works both as a terminal command and as an MCP server for AI clients such as Claude. The first run registers a background indexer, downloads its embedding model and indexes Documents, Downloads and Desktop, then keeps the index current with periodic incremental passes. Search combines keyword and vector retrieval, with OCR for pages that have no text layer.

It suits people who work with a lot of personal or business paperwork and want answers they can verify, and developers who want an agent to search local files without sending them to a cloud service. Network access can be disabled entirely with an environment variable.

## Features

- **Exact source citations:** Each result gives the file path plus the start and end lines, so claims can be checked quickly.
- **Single binary CLI and MCP:** The same executable runs as a terminal tool and as an MCP server for AI clients.
- **Automatic background indexing:** A user service keeps folders indexed through incremental and full passes.
- **Mixed format support:** Reads PDF, DOCX, Markdown, HTML, CSV, EPUB, XLSX, PPTX and several image types.
- **OCR for scanned pages:** Text from scans and images is searchable and marked as OCR in citations.
- **Offline operation:** Documents and index stay on the machine, and an environment variable blocks all network access.

## Good for

- Finding a contract clause or renewal date across years of PDFs and emails
- Pulling a cited answer from personal records such as warranties or invoices
- Letting an AI assistant search local documents and quote page numbers
- Making scanned archives searchable without uploading them to a service
- Searching multilingual document collections with questions in another language

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add paperscope -- npx -y paperscope
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "paperscope": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add paperscope -- npx -y paperscope
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.paperscope]
command = "npx"
args = ["-y", "paperscope"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user paperscope npx -- -y paperscope

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "paperscope": {
      "command": "npx",
      "args": [
        "-y",
        "paperscope"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 8 tools deletes data and 1 changes data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `search_documents` (name suggests: reads): Search indexed documents and return matching passages with citations.
- `read_source` (name suggests: reads): Read the source text at a cited location.
- `list_sources` (name suggests: reads): List indexed sources.
- `answer_documents`: Answer a question from documents with extractive citations.
- `index_documents`: Index new documents.
- `index_status` (name suggests: reads): Report index status.
- `add_index_root` (name suggests: changes): Add a folder to the index.
- `remove_index_root` (name suggests: deletes): Remove a folder from the index.

## FAQ

### Does Paper send my documents anywhere?

No. Embeddings and the index are stored locally, and the documentation says PAPER_OFFLINE=1 blocks the network entirely.

### How do I connect Paper to Claude?

Add a config entry that runs the paper command with serve and --mcp arguments, or install the Claude Code plugin after installing the CLI.

### What happens on the first run?

It sets up a background service, downloads the embedding model and builds an index of the default folders, which can take a while.

### Which MCP tools are exposed?

search_documents, read_source, list_sources, answer_documents, index_documents, index_status, add_index_root and remove_index_root.

### Is Paper free?

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

### How do I add Paper to Claude Code?

Run this command in your terminal: claude mcp add paperscope -- npx -y paperscope

### What are the best alternatives to Paper?

The closest alternatives to Paper are Haypile, Pdf MCP, Paperless MCP, MCP Local Rag and OmniClip RAG.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Haypile](https://ai-powered.com/mcp/haypile): Haypile is an open-source MCP server for files and documents.
- [Pdf MCP](https://ai-powered.com/mcp/pdf-mcp): Pdf MCP is an open-source MCP server for files and documents.
- [Paperless MCP](https://ai-powered.com/mcp/paperless-mcp): Paperless MCP is an open-source MCP server for files and documents.
- [MCP Local Rag](https://ai-powered.com/mcp/mcp-local-rag-2): MCP Local Rag is an open-source MCP server for knowledge and memory.
- [OmniClip RAG](https://ai-powered.com/mcp/omniclip-rag): OmniClip RAG is an open-source MCP server for files and documents.
- [DocuSense](https://ai-powered.com/mcp/docusense): DocuSense is an open-source MCP server for files and documents.
- [sextant](https://ai-powered.com/mcp/sextant): sextant is an open-source MCP server for files and documents.
- [Docsift](https://ai-powered.com/mcp/docsift): Docsift is an open-source MCP server for files and documents.

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