Webcite MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WEBCITE_API_KEY | Yes | Your Webcite API key (required for the local server and clients without OAuth). | |
| WEBCITE_API_URL | No | API base URL. | https://api.webcite.co |
| WEBCITE_MCP_PROFILE | No | Set to core, docs, research or full to change a local server's tool discovery. | |
| WEBCITE_API_TIMEOUT_MS | No | Headers and body timeout for each API request, in milliseconds (positive integer; invalid values fall back to the default with a warning). | 900000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Webcite reads documents and checks claims against sources. Use it to: (1) convert a PDF, scan, spreadsheet or office file to Markdown with page and sheet locations (upload_file or upload_url, then extract_document); (2) verify one factual claim against web sources with citations and a verdict (verify_claim); (3) check that quotes appear in their sources (verify_batch); (4) fact-check every claim in a document with a coverage report (review_document, then get_document_review_job and get_document_review); (5) extract and cross-check figures (extract_figures, analyze_conflicts); (6) find sources without a verdict (search_sources). webcite_guide with workflow=choose lists each workflow with inputs and cost.
When a user asks to audit an entire uploaded document or every figure on a slide, use review_document directly with its existing asset_id, then poll get_document_review_job. Do not substitute a few verify_claim calls for full coverage. Only claim full coverage when the saved review reports coverage_complete=true and no pending claims. Keep returned extraction structuredContent and reuse it in the conversation; repeated extract calls incur the stated per-call credits.
Workflows:
Plain fact → verify_claim({ claim })
Quote in a document → upload_file → extract_document → get_source_preview → verify_batch
Figures / conflicts → extract_document first; analyze_document accepts PDF, spreadsheet and JPEG/PNG/WebP images. Image figures are OCR/model reads and need source review. extract_figures finds recognized metrics only; zero metrics is not a full numeric audit.
Full document fact-check → webcite_guide({ workflow: 'document_review' }); upload original bytes only if needed, then review_document with stable thread_id (no mandatory balance or extraction preflight), get_document_review_job until terminal, then get_document_review for saved results and coverage. No fixed claim count. Preserve completed results and unchecked source spans on errors or credit exhaustion. extract_figures only recognizes known metrics.
Find the original source behind an image or slide → webcite_guide({ workflow: 'source_trace' }); extract_document, search_sources using exact table values and units, then get_source_preview on candidate URLs. Use verify_claim with confirmed source_urls for claim truth. ask_document is numerical Q&A over supplied text, not an external-source finder.
Do not call context workflow/eval tools unless WEBCITE_MCP_PROFILE=full and the user asks. Never invent citation URLs. Prefer get_source_preview to show evidence. Local and hosted profiles default to public. Use WEBCITE_MCP_PROFILE=core|docs|research|full to change local discovery.
Reporting saved results: Compact fields omitted are unknown, not absent. Report known material_claims (physical rows excluding duplicates), total_claims (all physical rows), duplicate_claims and non_factual_claims separately. Material counts can include non-factual rows and do not imply all rows are factual assertions. A duplicate display alias can have a different id; original_claim_id is its stored original identity and duplicate_of_id identifies the canonical assertion. Display aliases do not change stored IDs, citations or paid operations. Report pending, failed, rejected and uncovered counts separately. pending_claims is unfinished work and includes failed_claims; failed is a subset, never add it again to a total. Counts do not establish attempt history; do not call other unfinished rows never attempted without recorded attempt data. A provider access error does not rule out incomplete extraction or source coverage. Null or missing counts are unknown, never zero. Do not group unknown rejected or uncovered counts with known zero pending or failed counts. A completed job means processing finished; it does not prove complete source coverage. For a queued or running review, obey poll_after_ms with waits of at most 30 seconds. Never multiply remaining claims by per-claim latency into a long blind sleep. Stop polling immediately on a terminal status and report failed or interrupted work. Do not infer source weighting, prioritization or analysis absence from omissions. Fetch verbose evidence details only when that specific audit requires them, not routinely.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| webcite_guideA | Lists Webcite workflows (parse a document, verify a claim, check quotes, review a whole document, check figures, trace a source) with inputs, order and cost. workflow=choose lists the options; workflow=source_trace covers finding the original source of a screenshot or slide; workflow=document_review covers checking every claim in an uploaded file; workflow=billing covers plan allocations and prices. Costs 0 credits. |
| get_credit_balanceA | Read the authenticated account credit balance for an explicit balance question or an unresolved credit refusal. A routine document review does not require this call; use inline credit_usage from normal responses. Costs 0 credits. Returns remaining, used and total credits; no billing change is made. |
| verify_claimA | Fact-check one claim against web sources: returns citations, a stance for each source (supports/contradicts/neutral) and a verdict. Use this when you need to:
Credits: 2-4 depending on options (search: 2, +stance: 1, +verdict: 1) |
| search_sourcesA | Search the web for sources on a query and return citations, without stance or verdict. Use this when you need to:
Credits: 2 (search only) |
| get_source_previewA | Open a citation at its quoted passage in the source, to show the evidence. Use this when you need to:
Works for two source types:
Every preview reports bindBack: whether the quote was found in the source (grounded) and how it matched (exact / normalized / unbound). A quote that cannot be bound back is never reported as grounded. Credits: 1 |
| verify_batchA | Check that quotes appear in the sources you provide (text, URL or uploaded file), many at once. Each item is a quote plus its source: inline text, a URL, or an uploaded asset. Per item you get back whether the quote is grounded, how it matched (exact / normalized / fuzzy / unbound), the best-matching passage and score even when unbound, a verification band, and a feedback_token. A fuzzy match is capped at needs_review and never reported as verified. Use this when you need to:
Deterministic — no model calls. Credits: 1 per item — the work is per item, so a 200-claim batch costs 200. Max 200 items per call. |
| upload_fileA | Upload a PDF, scan, image, spreadsheet or office file to Webcite and get an asset_id for extraction or review. Use this when you need to:
Returns a file ID you can pass as asset_id to get_source_preview, extract_document, extract_figures, classify_document and analyze_document. Credits: 1 |
| extract_documentA | Parse a PDF, scan, spreadsheet or office file to Markdown page by page (OCR included), with the page or sheet each part came from. Returns normalized text with provenance: whole-doc markdown, per-page/sheet units carrying their page or sheet, and (for spreadsheets) sheet names. Handles PDF, spreadsheets, docx, pptx, html, txt and JPEG/PNG/WebP images. Deterministic-first; scanned PDFs and images fall back to vision OCR. Check the returned read status and issue: empty text is not proof that a document has no data. Only the text display is truncated. Some MCP clients omit structuredContent. Keep source_version_id from upload_file; get_latest_representation and read_source_unit retrieve saved units by ID. If the IDs are unavailable, extract_pages costs 1 credit. Do not treat a truncated display as full coverage. Extraction does not fact-check claims; whole-document or whole-slide external fact-checking is done by review_document, which reads the stored source itself. Optional visual_rendition: true creates model-generated layout evidence for an owned JPEG/PNG and exact source_version_id. Supply an explicit idempotency_key and preserve it on uncertain recovery. Returns a partial representation and source_units IDs for read_source_unit without replacing the selected source. The dedicated visual endpoint refuses on an unsupported server; never fall back to ordinary extraction. Default extraction is unchanged. Inspect operation receipts for provider usage; a layout role is not certification. Credits: 1 |
| extract_figuresA | Extract financial figures from a document with units, periods and source locations. Returns recognized financial metrics as tagged, source-grounded figures: the value normalized to its canonical unit, what it means ( This is deterministic financial-model reading: header scale ("$M" / "'000"), accounting negatives, period columns (FY2023 vs FY2024) and unit declarations are all honoured, so a percentage is never mis-read as a currency. Reads spreadsheets (cell-level), PDFs with a text layer (grounded and cited by page), and other text formats deterministically. Scanned pages and images go through vision OCR first, then grounding, and are marked as model reads. The output is in the figures format analyze_conflicts accepts. Credits: 2 |
| list_citationsA | List your past verification results. Useful for reviewing previous fact-checks or continuing a research session. Credits: 1 |
| get_citationA | Get the full details of a specific past verification by its ID. Credits: 1 |
| analyze_conflictsA | Recompute totals and flag figures that conflict across the figures you supply. Input: figures already extracted (the extract_figures output format, or your own pipeline). The engine:
Deterministic, with no model calls, so a conflict either exists or it does not. Works on supplied figures only; uploaded files are read by analyze_document. Credits: 1. |
| upload_urlA | Upload a file from a public HTTPS URL to Webcite and get an asset_id for extraction or review. Stores the original file bytes, including through hosted MCP. No caller credentials or headers are forwarded. Private addresses, unsafe redirects, unsupported formats, empty files and files over 100 MB are refused. This does not access a local file or a private chat attachment. Save asset_id, asset_url and source_version_id; use the owned asset_id for review and extraction. An uncertain failure does not prove that no upload charge occurred; preserve the receipt rather than automatically repeating it. Credits: 1 for a stored upload. |
| analyze_documentA | Analyze figures in an uploaded PDF, spreadsheet or JPEG/PNG/WebP image. Image figures are OCR/model reads that need source review; an absent or ambiguous figure is not a verified zero. Returns figures, conflicts, recomputations, a review flag and category. Checks internal numeric consistency only; external fact-checking of every claim is done by review_document.
Credits: 3. The document is downloaded and parsed. PDFs and images may require vision reads. Rate-limited more strictly than compute-only endpoints. |
| classify_documentA | Classify a document into a coarse category plus the fine multi-type covers it holds (a bundled workbook covers several). Deterministic and model-free — works with no model configured. Use this when you need to:
Credits: 1 |
| document_gapsA | The "usually also here" checklist for a category. Given the documents already filed in it, returns each expected document type flagged present or absent. An item counts as present when any document matches it by filename, category, or covered type. Advisory — nothing blocks. Pure and deterministic, no I/O and no model calls. Credits: 1 |
| accuracy_reportA | The numeric engine's measured accuracy against its gold-set corpus: conflict detection rate and precision, and recompute correctness. Reproducible and checked on every build. Returns measured figures for stating how accurate the verification is. Credits: 1 |
| verify_feedbackA | Record a human verdict on a verify_batch result. Pass the feedback_token from that result plus your verdict; the token carries the result summary, so token + verdict is enough. Feedback is stored, so corrections accumulate over time. Credits: 1 |
| verify_claim_streamA | Verify a factual claim using the streaming endpoint. Collects all intermediate results (claim decomposition progress, per-sub-claim results) and returns the assembled result. Suited to:
Output format and credits match verify_claim. |
| ask_documentA | Check numerical answers inside supplied document text. Returns a job ID; the result is read with get_ask_result. It does not search for external source URLs or identify the original publisher. Costs 5 credits. Unverified numbers remain null. |
| extract_pagesA | Split an uploaded document into citation-ready chunks with page, sheet or section anchors, for RAG indexing. Returns extraction state and reason even when no chunks exist. Costs 1 credit. |
| get_ask_resultA | Poll a document question job. Returns queued, running, done or failed status and the checked result when ready. Costs 0 credits. |
| get_document_reviewA | Read a document review: claims, verdicts, citations and passages not covered. Reads the saved review by review_id without new analysis or credits. Page claims, uncovered passages, rejected candidates and explicit reviewer dispositions independently. The API key must own the review. |
| get_document_review_jobA | Check progress of a document review job. Reads the durable job by job_id at zero credits. Queued, running, waiting_parse and waiting_review are nonterminal. Terminal statuses are complete, partial_coverage, credits_exhausted and failed. Returns the job status, progress and review_id; saved claims and uncovered source spans are read by review_id with get_document_review. |
| get_latest_representationB | Locate the latest representation and source unit IDs of an owned retained source. These IDs address source units for evidence reads and numeric verification. |
| get_review_source_spanB | Read the exact text of one owned saved uncovered source passage for review, including an inactive failed residual review. A role may be unknown; this read does not establish structural or nonclaim proof. Exact source and saved gap binding are required within the attestation size limit. Costs 0 credits. |
| prepare_ocr_rescueB | Prepare judged OCR rescue for an owned OCR source representation before previewing unresolved citations. A new successful preparation costs 5 credits; retained replays cost 0 credits. Requires the backend OCR feature; return unavailable states honestly. |
| publish_text_representationA | Publish a deterministic text or CSV representation of an owned retained source. Returns representation and source unit IDs for verify_numeric_claim. No model call. |
| read_source_unitB | Read one owned immutable source unit by the IDs returned from a source representation. Returns its text and numeric content, which identify the figure_index values for numeric verification. |
| record_review_nonclaimA | Record an explicit assessment that an exact source-attested heading, table title or navigation passage contains no factual assertion. The assessment must cover the full passage text (get_review_source_span returns it); a structural role alone never proves nonclaim. Optional visual_evidence references stored model layout for the same immutable source; the server rechecks literal offsets and geometry. An isolated page footer can qualify, factual/numeric headings cannot. Agent actions are not analyst approval. Failed residual-only reviews may reconcile retained complete extraction responses without new generation; missing evidence refuses. Leave assertion-bearing passages uncovered and source partial. Records rationale and authenticated reviewer identity. Costs 0 credits. |
| register_sourceB | Register original text or CSV bytes for an uploaded, owned asset. Returns a retained sourceVersionId for source representation and numeric verification. |
| review_documentA | Fact-check every material claim in an uploaded document and report coverage; starts a job and returns a job_id. Fits requests such as "audit this document" or "check every figure on this slide". Input: the existing asset_id(s), a prompt and a stable thread_id. The server parses the stored source itself, so no separate extraction step is needed. Unlike separate single-claim checks, it covers every claim and saves progress. Starts a durable full review and immediately returns a job_id; job status comes from get_document_review_job and saved result pages from get_document_review. Repeating the same input reuses its job without a new charge. A failed or credit-exhausted review resumes on the same thread and exact inputs with retry_failed: true and the returned retry_idempotency_key (or the original key); completed claims and the failed job receipt are preserved. Full coverage is reported only when coverage_complete is true. |
| revise_document_claim_analysisA | Re-evaluate one owned, settled saved claim using retained snippets and the current evidence policy, without new research, model calls or credits. The review must be inactive. Requires original_result_hash, as returned for the claim by get_document_review. Idempotent for the original result and policy version. Preserves the original result and credit receipt; missing scope assessment remains inconclusive. |
| verify_numeric_claimB | Assess arithmetic against one or two retained figures from owned source units. This is arithmetic scope, not full semantic verification. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 34 tools
Several tool clusters overlap heavily: verify_claim vs verify_claim_stream, extract_document vs extract_pages vs analyze_document vs review_document, and multiple source retrieval tools such as get_source_preview, get_latest_representation, read_source_unit and get_review_source_span. Descriptions clarify some choices, but the boundaries are not consistently obvious without reading long guidance, so an agent can easily misselect.
Almost all names are lower snake_case and follow a recognizable verb_noun or resource_action pattern, such as get_citation, review_document, verify_batch and extract_figures. A few noun-only names like webcite_guide, accuracy_report and document_gaps are minor deviations, but there is no mixed casing or chaotic style.
34 tools is well above a well-scoped set for fact-checking and document verification, and the core workflows could be covered with far fewer endpoints. The advanced source-representation, retrieval, review-revision and OCR tools add considerable surface area and selection burden.
Coverage is broad: upload, extraction, single/batch/stream claim verification, document review lifecycle, figures and conflict analysis, citations, credits, feedback and advanced source-unit operations. Minor gaps exist around asset/job management and explicit billing operations, but the core domain workflows are covered.