For decision makers: TamperCheck connects to your stack over a standard REST API. Most teams finish the integration in about one sprint. No proprietary format, and no mandatory dashboard for compliance work. The reference below is for engineers building the integration.
Document verification API & MCP docs
Upload a PDF, image or email and get a job ID back straight away. Then poll for the result or receive it by webhook: a verdict, a risk score, and the findings behind them. Available as a REST API and as an MCP server.
Copy for AI
Paste into Cursor, Claude, or ChatGPT so it can wire up the TamperCheck REST API with the right auth, endpoints, and response shapes.
Quickstart
- Create a key under Dashboard → Developers → API keys. Use a
dt_test_sandbox key while you build: results are simulated and nothing is charged. - Upload with
POST /api/v1/documents/(multipart, file fielddocument). You get 202 and a jobid. - Wait for the result: poll
GET /api/v1/documents/{id}/status/untilstatusiscompletedorfailed, or pass awebhook_idon upload and we POST the result to you. - Read the result with
GET /api/v1/documents/{id}/:verdict,risk_score,confidence,findings[]and a plain-languagehuman_summary. See Response fields.
All endpoints are under https://api.tampercheck.ai/api/v1/ and return JSON. Timestamps are ISO 8601 in UTC. Product terms such as verdict, risk score and integrity review are defined in the Glossary.
Authentication
Send your API key as Authorization: Bearer dt_... (or X-API-Key). Create keys under Dashboard → Developers.
- Live keys start with
dt_; sandbox keys start withdt_test_. - Each key has a document scope: organization (sees every document your team uploads) or individual (only the key owner's). See List, status & detail.
- A missing or invalid key returns 401. A job outside the key's scope returns 404.
API reference
Base URL: https://api.tampercheck.ai. Every route needs your API key except the PDF download URL returned by report-link.
| Method | Path | What it does |
|---|---|---|
POST | /api/v1/documents/ | Upload a file and start analysis |
GET | /api/v1/documents/list/ | List past jobs visible to your key |
GET | /api/v1/documents/search/ | Search by job id, file name or your own identifier |
GET | /api/v1/documents/<uuid>/status/ | Check if a job is still running |
GET | /api/v1/documents/<uuid>/ | Get the full result for a job |
POST | /api/v1/documents/<uuid>/report-link/ | Create a temporary link to the PDF report |
GET | /api/v1/reports/download/ | Download the PDF from that temporary link |
GET | /api/v1/documents/<uuid>/notes/ | List notes on a job |
POST | /api/v1/documents/<uuid>/notes/ | Add a note on a job |
POST | /api/v1/team/invites/ | Email an invite to join your team |
GET | /api/v1/usage/ | Usage totals for billing |
GET | /api/v1/wallet/usage/ | Credit and debit history for your wallet |
Strategies
Choose what kind of work a job does via the analyze endpoint's strategy field.
| Strategy | How to call | Returns |
|---|---|---|
tampering_detectionDefault | POST /documents/ | authentic / tampered, risk score, findings |
deepfake_detection | POST /documents/ + strategy=deepfake_detection | authentic / ai_generated / face_swap / uncertain, plus artifact_breakdown |
email_verificationEML or MSG | POST /documents/ + strategy=email_verificationEmails sent with the default are routed here automatically. | authentic / suspicious / tampered, plus the email report (DKIM, delivery path) and attachment_jobs: one document job per PDF or image attachment |
Analyze
Multipart upload. File field document (PDF, JPG, JFIF, PNG, WEBP, BMP, TIFF, or an email as EML/MSG; max 40 MB). For an email, the sender's signature goes through advanced DKIM verification, the headers are checked, and the result carries an email object (sender, DKIM status per signature, delivery hops, the receiving server's recorded authentication results, signing time, disposable sender mailboxes and sender domain age). Each PDF/image attachment becomes its own job, billed as a separate document and listed in the upload response as attachment_jobs; its verdict also appears in email.attachments.
Billing: documents_billed is the number of billable documents for the job: one per started block of 6 pages (1-6 pages = 1, 7-12 = 2), and 1 for any image. Retries are not idempotent: repeating the POST creates and bills a new job. If a request times out, search by your document_identifier before uploading again.
| Field | Required | Description |
|---|---|---|
document | Yes | File to analyze |
strategy | No | tampering_detection (default; PDF or image), deepfake_detection (images only) or email_verification (EML or MSG) |
document_identifier | No | Your correlation id (max 512) |
webhook_id | No | Notify this webhook UUID. Omit to skip delivery. |
suppress_categories | No | JSON array of finding keys to exclude |
pdf_password | No | Password for encrypted PDFs. Returns pdf_password_required (400) if needed but missing, pdf_password_incorrect (400) if wrong. |
curl -sS -X POST "https://api.tampercheck.ai/api/v1/documents/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "document=@./statement.pdf" \
-F "strategy=tampering_detection" \
-F "document_identifier=loan-app-12345"Deepfake example
curl -sS -X POST "https://api.tampercheck.ai/api/v1/documents/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "document=@./portrait.jpg" \
-F "strategy=deepfake_detection"Getting results
Upload returns 202 with a job id while analysis runs. Poll status, then fetch the full detail, or use webhooks.
202 Accepted body
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "processing",
"original_filename": "statement.pdf",
"document_identifier": "loan-app-12345",
"page_count": 3,
"documents_billed": 1
}| status | Meaning | Terminal? |
|---|---|---|
pending | Queued, not started yet. | No |
processing | The check is running. | No |
completed | Result ready: verdict, risk_score and findings are set. | Yes |
failed | The check could not finish. error says why. | Yes |
Poll /status/ with exponential backoff: start at 1 s, double each time, cap at 10 s. Stop on completed or failed.
Completed responses
Tampering detection
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"strategy": "tampering_detection",
"original_filename": "statement.pdf",
"document_identifier": "loan-app-12345",
"document_type": "bank_statement",
"document_subtype": "Indian Savings Account Statement",
"verdict": "tampered",
"risk_score": 42,
"confidence": 0.78,
"page_count": 1,
"documents_billed": 1,
"findings": [
{
"category": "font_inconsistency",
"severity": "medium",
"description": "Mixed font metrics in the totals row.",
"confidence": 0.71
}
],
"human_summary": "Plain-language summary of the main issues.",
"created_at": "2026-04-02T12:00:00Z",
"completed_at": "2026-04-02T12:00:03Z"
}Deepfake detection
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"strategy": "deepfake_detection",
"verdict": "ai_generated",
"risk_score": 88,
"confidence": 0.91,
"findings": [
{
"category": "provenance",
"severity": "high",
"description": "Missing camera metadata typical of generator output."
}
],
"artifact_breakdown": {
"provenance": {
"score": 92,
"issues": [
"missing EXIF"
]
}
},
"human_summary": "Strong signals of AI image generation."
}Response fields
Job detail, the /status/ summary and webhook deliveries share these fields. A field that doesn't apply is left out rather than sent as null, so check for presence. Add new fields defensively: we add keys without a version change.
| Field | Description |
|---|---|
id | The job ID. |
status | pending, processing, completed or failed (see above). |
strategy | tampering_detection, deepfake_detection, email_verification or document_extraction. See Strategies. |
verdict | Tampering: authentic or tampered. Deepfake: authentic, ai_generated, face_swap or uncertain. Set when completed. |
risk_score | Strength of the evidence; higher is more likely tampered. Tampering jobs are tampered at or above your risk threshold (default 35). Not a probability. |
confidence | How certain the verdict is. Independent of the risk score. |
human_summary | Plain-language summary of the result, safe to show to end users. |
findings[] | The evidence behind the verdict. Fields below. |
document_type | Detected type key, e.g. bank_statement, payslip, passport. |
document_subtype | Free-text description of the specific document, e.g. issuer and product. |
document_origin | How the file was made: photographed, scanned, native_digital_pdf, digital_raster or unknown. |
integrity | The integrity review. integrity.verdict is GENUINE_PROBLEM_FOUND, SUSPICIOUS, INSUFFICIENT_EVIDENCE or NO_PROBLEM_FOUND, with reason, top_reasons[], verify_next[] and coverage. |
artifact_breakdown | Deepfake jobs only. Maps each trace type to { score: 0-100, issues: string[] }. |
digital_signatures | PDF signatures found, with signer, validity and trust status. |
email | Email uploads only: sender, DKIM results, delivery hops and attachments. |
original_filename | The uploaded file name. |
document_identifier | Your own reference, if you sent one on upload. |
page_count | Pages analysed (1 for images). |
documents_billed | Billable documents for this job (one per 6 pages, minimum 1). |
uploaded_by | Who uploaded it: person, API key or integration. |
sandbox | Present and true on sandbox jobs only. |
error | Failed jobs only, e.g. processing_failed. |
created_at | When the job was created. |
completed_at | When it finished; absent until then. |
Each item in findings[]
| Field | Description |
|---|---|
category | Stable key for the kind of problem, e.g. pdf_editor_edit. The same keys work in suppress_categories. |
title | Short plain-language headline, when available. |
severity | low, medium, high or critical. |
description | What we saw and where. |
confidence | How certain this one finding is. Not on every finding. |
region | Where on the page, in pixels: { x, y, w, h }. Optional. |
Suppress categories
On analyze only: exclude finding categories from the verdict and risk score. Unknown keys are ignored.
curl -sS -X POST "https://api.tampercheck.ai/api/v1/documents/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "document=@./bank_statement.pdf" \
-F "suppress_categories=["signature_forgery", "jpeg_ghost_splicing"]"Common keys: signature_forgery, jpeg_ghost_splicing, ela_anomaly, font_size_inconsistency, metadata_image_editor, double_jpeg_compression.
List, status & detail
Jobs visible to your key, newest first, with summary fields only (verdict, risk score, confidence, page count, identifiers, timestamps, and uploaded_by). Each key has a document access scope, chosen when you create it: an organization key (the default) sees every document uploaded by your team, and an individual key sees only documents uploaded by the key's owner. The same scope applies to search, status, results, report links, notes and usage. Add page (from 1) and page_size (max 100) to get a paginated response: { count, next, previous, results[] }. Without them you get every job as one array, which can be very large, so always pass page_size.
curl -sS "https://api.tampercheck.ai/api/v1/documents/list/" \
-H "Authorization: Bearer YOUR_API_KEY"Check progress without pulling the full result: status, verdict and score when ready, page_count, and timestamps.
curl -sS "https://api.tampercheck.ai/api/v1/documents/YOUR_JOB_ID/status/" \
-H "Authorization: Bearer YOUR_API_KEY"Fetch one job's full result. Before completion it returns the job with its current status and no verdict; failed jobs include error. Fields are listed in Response fields.
curl -sS "https://api.tampercheck.ai/api/v1/documents/YOUR_JOB_ID/" \
-H "Authorization: Bearer YOUR_API_KEY"PDF reports
For API clients, getting a PDF is two steps. First call this endpoint on a completed job. You get a download_url that works for 1 minute and can be opened once. Then GET that URL (or /api/v1/reports/download/?token=...) to save the PDF. That second request does not need your API key; the link itself is the credential.
curl -sS -X POST "https://api.tampercheck.ai/api/v1/documents/YOUR_JOB_ID/report-link/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
# Then download (no Authorization; single-use):
curl -sS -L "PASTE_download_url_HERE" -o report.pdf
# Technical appendix (raw metrics, file metadata, finding evidence): send {"part": "appendix"} instead of {}Opening the same link twice returns 410. After 60 seconds the link expires; create a new one. The dashboard downloads PDFs with your login session instead of this link flow.
The report is a short, shareable PDF: verdict, summary, findings and chain of custody. Raw measurements (computer-vision metrics, file metadata and the evidence behind each finding) are in a separate technical appendix. To get it, send {"part": "appendix"} in the report-link body; the returned link then downloads the appendix instead of the report.
Job notes
Add a team note on a job (body, 1-5000 characters). Author is the API key owner. Notes appear on the dashboard for everyone who can see the document.
curl -sS -X POST "https://api.tampercheck.ai/api/v1/documents/YOUR_JOB_ID/notes/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body": "Reviewed with compliance - looks clean."}'List notes
curl -sS "https://api.tampercheck.ai/api/v1/documents/YOUR_JOB_ID/notes/" \
-H "Authorization: Bearer YOUR_API_KEY"Team invites
Invite a teammate by email. Requires an owner or admin API key. Optional role: member (default) or admin. The invite token is sent by email and is not returned in the response.
curl -sS -X POST "https://api.tampercheck.ai/api/v1/team/invites/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "teammate@acme.com", "role": "member"}'Search
Find jobs by your own reference, file name or job ID. Send at least one of identifier, name or q, otherwise you get 400. Results are newest first and use the same item shape and pagination as the list.
| Parameter | Matches |
|---|---|
identifier | Your document_identifier, exact and case-insensitive. Add match=contains for a partial match. |
name | Part of the original file name, case-insensitive. |
q | Either the file name or the identifier (partial match), or a job ID. |
status | Optional filter: pending, processing, completed or failed. |
page, page_size | Optional pagination, as for the list (max 100). |
curl "https://api.tampercheck.ai/api/v1/documents/search/?identifier=loan-app-12345" \
-H "Authorization: Bearer $TAMPERCHECK_API_KEY"Webhooks
Register URLs under Dashboard → Developers → Webhooks. On completed / failed, TamperCheck POSTs the same body as job detail.
- With
webhook_id: only that webhook is notified. - Without: no webhook is called.
- 400
invalid_webhook_idif unknown, inactive, or not yours.
POST https://your-app.example/webhooks/tampercheck
Content-Type: application/json
X-Webhook-ID: 7c9e6679-7425-40de-944b-e07fc1f90ae7
X-Webhook-Signature: sha256=a1b2c3d4e5f6...
X-Webhook-Attempt: 1
User-Agent: TamperCheck-Webhooks/1.0
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"strategy": "tampering_detection",
"verdict": "tampered",
"risk_score": 42,
"confidence": 0.78,
"findings": [],
"created_at": "2026-04-02T12:00:00Z",
"completed_at": "2026-04-02T12:00:03Z"
}| Header | Value |
|---|---|
X-Webhook-ID | The webhook's ID, as shown in the dashboard. |
X-Webhook-Signature | sha256=<hex>: HMAC-SHA256 of the raw request body, keyed with the webhook's signing secret, lowercase hex. |
X-Webhook-Attempt | 1 on the first try, 2 on the first retry, and so on. |
User-Agent | TamperCheck-Webhooks/1.0 |
Verify against the raw bytes. Compute the HMAC over the body exactly as received, before parsing it as JSON. Re-serialising changes key order and spacing, and the signature won't match.
- Any 2xx response counts as delivered. Reply within 10 seconds; do slow work after you respond.
- Retried: connection errors, timeouts, 5xx, 408, 425 and 429. Up to 8 retries over about 4 hours.
- A
Retry-Afterheader is honoured, up to 45 minutes. - Other 4xx responses are not retried.
- The same job can arrive more than once: dedupe on the job
idandstatus.
import hmac
import hashlib
def verify_webhook(body: bytes, signature_header: str, secret: str) -> bool:
expected = hmac.new(secret.encode(), body, hashlib.sha256).hexdigest()
provided = signature_header.removeprefix("sha256=")
return hmac.compare_digest(expected, provided)Endpoint authentication
Each webhook can optionally send an extra credential so your receiver's gateway accepts the request. Configure it when creating or editing the webhook in the dashboard. It is not a field on the upload. Three methods are supported:
- API Key - a static key in a named header (default
X-Api-Key). - Bearer Token -
Authorization: Bearer <token>. - Basic Auth -
Authorization: Basic <base64>.
These are sent in addition to X-Webhook-Signature. Signature verification is unchanged. Credentials are encrypted at rest and never appear in webhook logs.
Usage summary
Aggregates completed jobs for this API key: document counts and spend. Dates are inclusive calendar days in UTC.
curl -sS "https://api.tampercheck.ai/api/v1/usage/?since=2026-08-01&until=2026-08-07" \
-H "Authorization: Bearer YOUR_API_KEY"Wallet usage
Paginated wallet credits and debits for the account (API key owner). Free. Does not charge the wallet. Works even when services are suspended. Optional page / page_size (default 25, max 100). from / to accepted as aliases for since / until.
curl -sS "https://api.tampercheck.ai/api/v1/wallet/usage/?since=2026-08-01&until=2026-08-07" \
-H "Authorization: Bearer YOUR_API_KEY"Example response
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"entry_type": "document_fee",
"amount": "-0.50",
"balance_after": "46.06",
"description": "Document analysis - statement.pdf (1 pages, 1 check)",
"metadata": {},
"job": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2026-08-07T03:41:00Z"
}
]
}entry_type values include document_fee, document_extraction_fee, top_up, signup_credit. Amounts are positive for credits, negative for debits.
Errors
Errors return JSON with a machine-readable error code and a human-readable detail. Some responses (401, 404, validation errors) carry only detail, so branch on the HTTP status first and the error code second.
{
"error": "pdf_password_required",
"detail": "This PDF is password-protected. Provide the password in the pdf_password field."
}| Status | error | Cause |
|---|---|---|
400 | pdf_password_required | The PDF is password-protected. |
400 | pdf_password_incorrect | The password didn't open the PDF. |
400 | image_unreadable | The image is cut off partway through (incomplete photo, download or copy). Not charged. |
400 | invalid_webhook_id | Unknown, inactive or not your webhook. |
400 | file_safety_rejected | The file failed our safety scan. |
400 | sandbox_unsupported_strategy | That strategy isn't available with sandbox keys. |
400 | - | Validation: wrong file type, over 40 MB, bad field, or search with no query. |
401 | - | Missing or invalid API key. |
402 | wallet_suspended | No payment method, negative balance or an open payment dispute. |
404 | - | Job not found for this key's scope. |
410 | - | PDF report link already used or expired. |
422 | processing_failed | We couldn't process the file. Not charged. |
429 | - | Too many report-link requests (30 per minute). |
503 | ai_service_unavailable | A model provider is unavailable. Not charged. |
503 | platform_ai_unavailable | Our AI service is unavailable. Not charged. |
503 | document_storage_unavailable | File storage is temporarily unavailable. Not charged. |
Limits & retries
| Limit | Value |
|---|---|
| File size | 40 MB per upload (20 MB through MCP) |
page_size | Max 100 on list and search; wallet usage defaults to 25 |
document_identifier | Up to 512 characters |
| Report download link | Works once, expires after 60 seconds |
| Report links | 30 per minute |
| Webhook response time | 10 seconds |
- Safe to retry: any
GET, and uploads that returned 5xx or 422 (no job was charged). - Not safe to retry blindly: an upload that timed out may have created a job. Search by
document_identifierfirst; a repeated POST creates and bills a new job.
Glossary
The product terms used in the dashboard, PDF reports and API responses, and the field each one maps to. Full definitions are in the glossary.
| Term | API field | Meaning |
|---|---|---|
| Verdict | verdict | Our overall answer for a document: Authentic, Tampered, Suspicious, AI generated, Face swap or Uncertain. |
| Risk score | risk_score | A number from 0 to 100. The higher it is, the more likely the document was changed or faked. |
| Confidence | confidence | How sure we are about the verdict, from 0% to 100%. Each finding also has its own confidence. |
| Risk threshold | - | The risk score at which a document is marked Tampered. The default is 35; you can change it for your organization. |
| Finding | findings[] | One specific problem we found in the document, such as an edited number or a mismatched font, with how serious it is. |
| Severity | findings[].severity | How serious a finding is: low, medium, high or critical. |
| Finding category | findings[].category | The kind of problem a finding describes, such as a PDF editor edit or a balance that doesn't add up. |
| Integrity review | - | A second, independent review of the document: one reviewer looks for problems, another looks for innocent explanations. |
| Review lenses | - | The parts of the integrity review, shown under "What was checked": text, layout, consistency, file and image, content and challenge. |
| Artifact breakdown | artifact_breakdown | For Deepfake Detection: a 0-100 score for each type of AI trace we looked for, with what we found. |
| Chain of custody | - | A record of who uploaded the document, when it was checked, its job ID and its file hash, so you can prove which file we checked. |
| File hash (SHA-256) | - | A unique fingerprint of the exact file we checked. Change one byte of the file and the fingerprint changes. |
| Document origin | - | How the file was made: Photographed, Scanned, Native digital PDF (created by software) or Digitally rendered (an image made on a computer). |
| Strategy | strategy | The kind of check you ask for: Document Tampering, Deepfake Detection, Email Verification or Extract Documents. |
| Job | id | One check of one uploaded file. Each job has its own ID, which you use to fetch the result through the API. |
| Sandbox | - | A free test mode. Test keys (starting dt_test_) return made-up results so you can build your integration without real checks. |
| Report this result | - | Tell us a result looks wrong. Our team reviews it and replies; your report also helps improve the checks. |
MCP (Model Context Protocol)
Connect Claude, ChatGPT, Claude Code, LiteLLM or any other MCP client to TamperCheck over Streamable HTTP. Assistants sign in with your TamperCheck account (OAuth); gateways and scripts can send an API key instead. Same credits and billing as the HTTPS API, and every check appears in your dashboard.
- Transport: Streamable HTTP (stateless, JSON responses).
- Auth: OAuth 2.1 sign-in (authorization code + PKCE, discovered from
/.well-known/oauth-protected-resource), orAuthorization: Bearer dt_.../X-API-Key: dt_...with a key from Dashboard → Developers. - Health check:
GET /healthz→{"status":"ok"}(no auth).
Claude (claude.ai, Desktop, mobile)
- Open Settings → Connectors and select Add custom connector. Name it TamperCheck, set the URL to
https://mcp.tampercheck.ai/mcp, and leave the advanced settings empty. - Select Connect. Sign in to TamperCheck (or create an account), check the account shown, and select Allow access.
- Back in Claude, attach a document and ask, for example, “Check this bank statement for signs of editing.”
ChatGPT
ChatGPT connects to custom MCP servers in developer mode, on plans that offer it.
- In ChatGPT's Settings → Apps, open Advanced settings and turn on Developer mode.
- Create an app named TamperCheck with the URL
https://mcp.tampercheck.ai/mcpand OAuth authentication. - Sign in to TamperCheck and select Allow access.
- Attach a document in a chat and ask ChatGPT to check it with TamperCheck.
What you can ask
- “Check this payslip for tampering.”
- “Is this photo AI-generated or face-swapped?”
- “Verify this email's DKIM signature and check its attachments.”
- “Find the check I ran on statement.pdf and give me the PDF report.”
- “List my last five document checks.”
Each document analysed uses one credit from your account, the same as an upload in the dashboard. Results are asynchronous: the assistant checks the job until it completes, usually within seconds. Limits: 20 MB per file through the connector, and password-protected PDFs need the password removed first.
Disconnecting: remove TamperCheck in the assistant's connector settings, or delete its “Claude connector” / “ChatGPT connector” key under Dashboard → Developers → API keys. Either ends access immediately. See what the connector shares.
Using an API key instead
For gateways, scripts, or a Claude custom connector you manage with a key, choose No sign-in and send one of these request headers:
| Header | Value |
|---|---|
Authorization | Bearer dt_your_key_here |
X-API-Key (or x-api-key) | dt_your_key_here |
Or put the same URL and headers in Claude Desktop's config file (claude_desktop_config.json):
{
"mcpServers": {
"tampercheck": {
"url": "https://mcp.tampercheck.ai/mcp",
"headers": {
"Authorization": "Bearer dt_your_key_here"
}
}
}
}Claude Code
Add the server once from a terminal, then run /mcp in Claude Code and choose Authenticate to sign in. To use an API key instead, add the header shown:
claude mcp add --transport http tampercheck https://mcp.tampercheck.ai/mcp \
--header "x-api-key: dt_your_key_here"To add a key-based custom connector in Claude's Connectors settings instead of signing in, the walkthrough below shows each screen:
- In Add custom connector, set the name to TamperCheck.ai and the URL to
https://mcp.tampercheck.ai/mcp, then Continue. - Under Authentication, choose No sign-in - do not use the OAuth sign-in options.
- Under Request headers, add
x-api-keywith yourdt_...key and keep Required checked, then Add.
Claude stores the header value securely and never shows it again after you save the connector.
LiteLLM
mcp_servers:
tampercheck:
url: "https://mcp.tampercheck.ai/mcp"
transport: "http"
auth_type: "bearer_token"
auth_value: "dt_..."Tools
| Tool | Maps to |
|---|---|
tampercheck_analyze_document | POST /api/v1/documents/ |
tampercheck_create_upload | POST /api/v1/documents/ (one-time upload URL) |
tampercheck_get_job | GET /api/v1/documents/<id>/ |
tampercheck_list_jobs | GET /api/v1/documents/list/ |
tampercheck_search_documents | GET /api/v1/documents/search/ |
tampercheck_usage | GET /api/v1/usage/ |
tampercheck_invite_team_member | POST /api/v1/team/invites/ |
tampercheck_add_job_note | POST /api/v1/documents/<id>/notes/ |
tampercheck_get_report_link | POST /api/v1/documents/<id>/report-link/ |
Analyze inputs
Max file size through MCP is 20 MB per document (40 MB through the dashboard and REST API). tampercheck_analyze_document takes exactly one input: a file attached in the chat (where the assistant passes attachments to tools, as ChatGPT does) or a public URL. Files on your computer or in a code sandbox go through tampercheck_create_upload; they are never pasted into the chat.
| Input | Notes |
|---|---|
document_url + optional filename | Publicly reachable HTTPS URL. The MCP server fetches it (SSRF-checked); nothing uploads through the chat. |
file | A file attached in the chat, passed by the assistant as {download_url, file_id, mime_type, file_name}. The MCP server downloads it from the assistant's temporary link. |
| Local file | Use tampercheck_create_upload: returns a one-time upload URL plus a curl command to run where the file lives (10-minute expiry) |
Troubleshooting
Claude can't execute code against the connector (curl fails with a proxy 403, or Claude says the action is blocked by "organization policy"): claude.ai runs code in a sandbox that can only reach an allowlist of domains, and mcp.tampercheck.ai is not on the default list.
To fix it in claude.ai, go to Settings → Capabilities → Code execution and file creation. Under network or domain access, either add mcp.tampercheck.ai to the allowed domains or switch to "All domains".
On Team or Enterprise plans an org admin owns this setting, which is why the error mentions organization policy. The admin adds the domain under Organization settings → Capabilities → Code execution: keep the domain allowlist on "Package managers only" and add mcp.tampercheck.ai as an additional allowed domain.
Workarounds while the domain is blocked
MCP tool calls run on the hosted connector, outside Claude's sandbox, so they keep working. The block affects only the curl command from tampercheck_create_upload that uploads a local file. Until the domain is allowed:
- If the document is already at a public URL, pass
document_urltotampercheck_analyze_document- our server fetches it directly, outside the sandbox. - Otherwise upload the file in the TamperCheck dashboard.
API skill for Cursor and Claude Code
Copy the integration brief into your coding assistant, or download the skill file (Markdown with YAML frontmatter) for Cursor, Claude Code, and similar workflows. The skill also points at the hosted MCP URL.
Copy for AI
Paste into Cursor, Claude, or ChatGPT so it can wire up the TamperCheck REST API with the right auth, endpoints, and response shapes.