# docs2mcp

Connects your PDFs and documents to an AI client. Answers come back with a citation and a link to the exact page and region they came from.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: docs2mcp
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/docs2mcp/docs2mcp
- Updated: 2026-09-16
- HTML: https://affpapa.org/en/nevibecode/mcp/docs2mcp

## What it does

docs2mcp is a hosted MCP server, not something you run locally. The repository holds connection instructions only — no server code. The endpoint is `https://mcp.docs2mcp.com/mcp`, transport is Streamable HTTP, and authentication runs on OAuth 2.1 with dynamic client registration, so no client id or secret is required.

Five tools sit behind it. `search_documents` does semantic search and returns cited passages with page numbers; `list_documents` and `get_document` cover the library and a single file; `get_element` returns an element with its surroundings, and a full table row when the element is a cell; `list_collections` lists your collections. Every hit carries a `source_url` that opens the document in a browser at the right page and region. That helps when you want to fill in a questionnaire from your own paperwork or diff two versions of a contract.

Documents are uploaded at `https://app.docs2mcp.com`, and you can start without an account. The anonymous session holding your files lives in the browser you uploaded from, so approve access in that same browser — approving elsewhere grants access to an empty library. Signing up later converts the same library in place, so nothing is lost.

## Requirements
- Remote server: `https://mcp.docs2mcp.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http docs2mcp https://mcp.docs2mcp.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add docs2mcp --url https://mcp.docs2mcp.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "docs2mcp": {
            "url": "https://mcp.docs2mcp.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "docs2mcp": {
            "type": "http",
            "url": "https://mcp.docs2mcp.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http docs2mcp https://mcp.docs2mcp.com/mcp
```

## When to use it
- find the right passage in a pile of PDFs and verify where an answer came from
- fill in a questionnaire from your own documents
- compare two versions of a contract and see what changed
- check two revisions of a report or spec against each other
- pull a whole table row instead of a single cell

## Example prompts
- Find the refund terms in my documents and show the page they came from
- Compare the two contracts in this collection and list the differences
- Fill in this questionnaire from my PDFs and cite the sources

## Similar
- [mcp-local-rag](https://affpapa.org/en/nevibecode/mcp/mcp-local-rag.md) — MCP server · ★ 425
- [pdf-mcp](https://affpapa.org/en/nevibecode/mcp/pdf-mcp.md) — MCP server · ★ 158
- [PageIndex MCP](https://affpapa.org/en/nevibecode/mcp/pageindex-mcp.md) — MCP server · ★ 404
- [DocSlicer](https://affpapa.org/en/nevibecode/mcp/docslicer.md) — MCP server · ★ 36
- [Caelune](https://affpapa.org/en/nevibecode/mcp/caelune.md) — MCP server · ★ 45
- [RTFM](https://affpapa.org/en/nevibecode/mcp/rtfm.md) — MCP server · ★ 27

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
