Use Webcite in Codex and VS Code: document and citation tools
In Codex, run codex mcp add webcite --url https://api.webcite.co/mcp and codex mcp login webcite. In VS Code, run code --add-mcp with the same URL and sign in on first use. Either agent then has 34 tools to read PDFs and spreadsheets, check claims against sources and quote the exact passage.
Last updated
Codex
codex mcp add webcite --url https://api.webcite.co/mcp
codex mcp login webciteThis writes [mcp_servers.webcite] with url = "https://api.webcite.co/mcp" to ~/.codex/config.toml. In a terminal without a local browser, use codex mcp login webcite --no-browser. Codex MCP docs.
VS Code
code --add-mcp '{"name":"webcite","type":"http","url":"https://api.webcite.co/mcp"}'Or add "webcite": { "type": "http", "url": "https://api.webcite.co/mcp" } under servers in .vscode/mcp.json. VS Code opens a browser to sign in on first use. VS Code MCP docs.
VS Code with an API key
An input variable keeps the key out of the file; VS Code asks for it once.
{
"inputs": [
{ "type": "promptString", "id": "webcite-api-key", "description": "Webcite API key", "password": true }
],
"servers": {
"webcite": {
"type": "http",
"url": "https://api.webcite.co/mcp",
"headers": { "Authorization": "Bearer ${input:webcite-api-key}" }
}
}
}For local files, use "type": "stdio" with "command": "npx", "args": ["-y", "webcite-mcp-server"] and "env": { "WEBCITE_API_KEY": "${input:webcite-api-key}" }. Create the key on the API keys page.
What the tools do
- Read a PDF, scan, image, spreadsheet or office file as Markdown, OCR included:
upload_urlorupload_file, thenextract_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_batchandget_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.
Prompts to start with
| Prompt | What came back |
|---|---|
| "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. |
| "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. |
| "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. |
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.
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 has the Claude and ChatGPT steps and troubleshooting.
- The MCP guide lists credits per tool.
- Read PDFs with citations in Claude Code, Claude and Cursor works through one document task end to end.