# Set up Webcite in Claude Code: commands, sign-in and prompts

Canonical URL: https://webcite.co/mcp/claude-code | Last updated: 2026-11-25

Run `claude mcp add --transport http webcite https://api.webcite.co/mcp`, then `/mcp` in Claude Code to sign in. Claude Code gets 34 tools to read PDFs, scans and spreadsheets, check claims against sources and return the exact quote. For files on your disk, run the npm server locally instead.

## Add the hosted server

```bash
claude mcp add --transport http webcite https://api.webcite.co/mcp
```

Then run `/mcp` in Claude Code, or `claude mcp login webcite` in your shell, and sign in with your Webcite account. [Claude Code's MCP docs](https://code.claude.com/docs/en/mcp).

## With an API key, for headless runs

```bash
claude mcp add --transport http webcite https://api.webcite.co/mcp --header "Authorization: Bearer webcite_your_api_key_here"
```

Create the key on the [API keys page](https://webcite.co/api-keys) and keep it out of chats and commits.

## Read files on your disk

The hosted server cannot open a path on your machine. The local server can:

```bash
claude mcp add webcite -e WEBCITE_API_KEY=webcite_your_api_key_here -- npx -y webcite-mcp-server
```

It needs Node.js. Ask for a file by its path, such as `./reports/q3.pdf`.

## What the tools do

- Read a PDF, scan, image, spreadsheet or office file as Markdown, OCR included: `upload_url` or `upload_file`, then `extract_document`.
- Check a claim against web sources, with a verdict and the quoted passage from each source: `verify_claim`.
- Check that quotes appear in their sources: `verify_batch` and `get_source_preview`.
- Pull figures out of a document and find the ones that conflict: `extract_figures`, `analyze_document`, `analyze_conflicts`.

`webcite_guide` picks the workflow for a request and costs nothing. [All 34 tools by job](https://webcite.co/mcp).

## Prompts to start with

| Prompt | What came back |
| --- | --- |
| "Verify this claim: The Great Wall of China is visible from the Moon with the naked eye." | `verify_claim` came back `contradicted`: 4 of 6 sources contradicted the claim, each with the passage quoted, for 4 credits. [Saved response](https://webcite.co/samples/claim-great-wall.json). |
| "Upload https://webcite.co/samples/bls-employment-situation-2026-10-summary-table-a.pdf with upload_url and give me summary table A with its headers." | The table came back as HTML with its two-row header and row groups kept, for 0.3981 credits. [Saved response](https://webcite.co/samples/doc-bls-table.json). |
| "Upload https://webcite.co/samples/irs-form-w9-page-1.pdf with upload_url, extract it and list the form fields." | The page was read as a form into 45 elements with page positions; checkboxes came back as `[ ]` lines and blank fields as `___`, for 0.4966 credits. [Saved response](https://webcite.co/samples/doc-irs-w9.json). |

Each result is read from a saved response of the endpoint the tool calls, recorded on 24 November 2026.

Every call needs a Webcite account. The free plan includes 100 credits, renewing every 30 days while credits remain; [see pricing](https://webcite.co/pricing).

## A shorter tool list

Add `?profile=core` to the URL (`https://api.webcite.co/mcp?profile=core`) for 16 tools that still cover every job, or `?read_only=true` for only the read-only tools.

## Next

- [Connect an AI client](https://webcite.co/connect) has the Claude and ChatGPT steps and troubleshooting.
- [The MCP guide](https://webcite.co/api-docs/mcp) lists credits per tool.
- [Read PDFs with citations in Claude Code, Claude and Cursor](https://webcite.co/blog/claude-code-cursor-mcp-document-citations/) works through one document task end to end.

[Create a free account](https://webcite.co/signup)
