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

  1. Create a key under Dashboard → Developers → API keys. Use a dt_test_ sandbox key while you build: results are simulated and nothing is charged.
  2. Upload with POST /api/v1/documents/ (multipart, file field document). You get 202 and a job id.
  3. Wait for the result: poll GET /api/v1/documents/{id}/status/ until status is completed or failed, or pass a webhook_id on upload and we POST the result to you.
  4. Read the result with GET /api/v1/documents/{id}/: verdict, risk_score, confidence, findings[] and a plain-language human_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 with dt_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.

MethodPathWhat 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.

StrategyHow to callReturns
tampering_detection
Default
POST /documents/authentic / tampered, risk score, findings
deepfake_detectionPOST /documents/ + strategy=deepfake_detectionauthentic / ai_generated / face_swap / uncertain, plus artifact_breakdown
email_verification
EML or MSG
POST /documents/ + strategy=email_verification
Emails 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

POSThttps://api.tampercheck.ai/api/v1/documents/

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.

FieldRequiredDescription
documentYesFile to analyze
strategyNotampering_detection (default; PDF or image), deepfake_detection (images only) or email_verification (EML or MSG)
document_identifierNoYour correlation id (max 512)
webhook_idNoNotify this webhook UUID. Omit to skip delivery.
suppress_categoriesNoJSON array of finding keys to exclude
pdf_passwordNoPassword 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

json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "processing",
  "original_filename": "statement.pdf",
  "document_identifier": "loan-app-12345",
  "page_count": 3,
  "documents_billed": 1
}
statusMeaningTerminal?
pendingQueued, not started yet.No
processingThe check is running.No
completedResult ready: verdict, risk_score and findings are set.Yes
failedThe 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

json
{
  "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

json
{
  "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.

FieldDescription
idThe job ID.
statuspending, processing, completed or failed (see above).
strategytampering_detection, deepfake_detection, email_verification or document_extraction. See Strategies.
verdictTampering: authentic or tampered. Deepfake: authentic, ai_generated, face_swap or uncertain. Set when completed.
risk_scoreStrength of the evidence; higher is more likely tampered. Tampering jobs are tampered at or above your risk threshold (default 35). Not a probability.
confidenceHow certain the verdict is. Independent of the risk score.
human_summaryPlain-language summary of the result, safe to show to end users.
findings[]The evidence behind the verdict. Fields below.
document_typeDetected type key, e.g. bank_statement, payslip, passport.
document_subtypeFree-text description of the specific document, e.g. issuer and product.
document_originHow the file was made: photographed, scanned, native_digital_pdf, digital_raster or unknown.
integrityThe integrity review. integrity.verdict is GENUINE_PROBLEM_FOUND, SUSPICIOUS, INSUFFICIENT_EVIDENCE or NO_PROBLEM_FOUND, with reason, top_reasons[], verify_next[] and coverage.
artifact_breakdownDeepfake jobs only. Maps each trace type to { score: 0-100, issues: string[] }.
digital_signaturesPDF signatures found, with signer, validity and trust status.
emailEmail uploads only: sender, DKIM results, delivery hops and attachments.
original_filenameThe uploaded file name.
document_identifierYour own reference, if you sent one on upload.
page_countPages analysed (1 for images).
documents_billedBillable documents for this job (one per 6 pages, minimum 1).
uploaded_byWho uploaded it: person, API key or integration.
sandboxPresent and true on sandbox jobs only.
errorFailed jobs only, e.g. processing_failed.
created_atWhen the job was created.
completed_atWhen it finished; absent until then.

Each item in findings[]

FieldDescription
categoryStable key for the kind of problem, e.g. pdf_editor_edit. The same keys work in suppress_categories.
titleShort plain-language headline, when available.
severitylow, medium, high or critical.
descriptionWhat we saw and where.
confidenceHow certain this one finding is. Not on every finding.
regionWhere 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

GEThttps://api.tampercheck.ai/api/v1/documents/list/

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"
GEThttps://api.tampercheck.ai/api/v1/documents/<uuid>/status/

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"
GEThttps://api.tampercheck.ai/api/v1/documents/<uuid>/

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

POSThttps://api.tampercheck.ai/api/v1/documents/<uuid>/report-link/

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

POSThttps://api.tampercheck.ai/api/v1/documents/<uuid>/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

POSThttps://api.tampercheck.ai/api/v1/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"}'
GEThttps://api.tampercheck.ai/api/v1/documents/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.

ParameterMatches
identifierYour document_identifier, exact and case-insensitive. Add match=contains for a partial match.
namePart of the original file name, case-insensitive.
qEither the file name or the identifier (partial match), or a job ID.
statusOptional filter: pending, processing, completed or failed.
page, page_sizeOptional pagination, as for the list (max 100).
curl
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_id if unknown, inactive, or not yours.
delivery
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"
}
HeaderValue
X-Webhook-IDThe webhook's ID, as shown in the dashboard.
X-Webhook-Signaturesha256=<hex>: HMAC-SHA256 of the raw request body, keyed with the webhook's signing secret, lowercase hex.
X-Webhook-Attempt1 on the first try, 2 on the first retry, and so on.
User-AgentTamperCheck-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-After header is honoured, up to 45 minutes.
  • Other 4xx responses are not retried.
  • The same job can arrive more than once: dedupe on the job id and status.
python
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

GEThttps://api.tampercheck.ai/api/v1/usage/?since=YYYY-MM-DD&until=YYYY-MM-DD

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

GEThttps://api.tampercheck.ai/api/v1/wallet/usage/?since=YYYY-MM-DD&until=YYYY-MM-DD

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

json
{
  "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.

json
{
  "error": "pdf_password_required",
  "detail": "This PDF is password-protected. Provide the password in the pdf_password field."
}
StatuserrorCause
400pdf_password_requiredThe PDF is password-protected.
400pdf_password_incorrectThe password didn't open the PDF.
400image_unreadableThe image is cut off partway through (incomplete photo, download or copy). Not charged.
400invalid_webhook_idUnknown, inactive or not your webhook.
400file_safety_rejectedThe file failed our safety scan.
400sandbox_unsupported_strategyThat 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.
402wallet_suspendedNo 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.
422processing_failedWe couldn't process the file. Not charged.
429-Too many report-link requests (30 per minute).
503ai_service_unavailableA model provider is unavailable. Not charged.
503platform_ai_unavailableOur AI service is unavailable. Not charged.
503document_storage_unavailableFile storage is temporarily unavailable. Not charged.

Limits & retries

LimitValue
File size40 MB per upload (20 MB through MCP)
page_sizeMax 100 on list and search; wallet usage defaults to 25
document_identifierUp to 512 characters
Report download linkWorks once, expires after 60 seconds
Report links30 per minute
Webhook response time10 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_identifier first; 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.

TermMeaning
VerdictOur overall answer for a document: Authentic, Tampered, Suspicious, AI generated, Face swap or Uncertain.
Risk scoreA number from 0 to 100. The higher it is, the more likely the document was changed or faked.
ConfidenceHow sure we are about the verdict, from 0% to 100%. Each finding also has its own confidence.
Risk thresholdThe risk score at which a document is marked Tampered. The default is 35; you can change it for your organization.
FindingOne specific problem we found in the document, such as an edited number or a mismatched font, with how serious it is.
SeverityHow serious a finding is: low, medium, high or critical.
Finding categoryThe kind of problem a finding describes, such as a PDF editor edit or a balance that doesn't add up.
Integrity reviewA second, independent review of the document: one reviewer looks for problems, another looks for innocent explanations.
Review lensesThe parts of the integrity review, shown under "What was checked": text, layout, consistency, file and image, content and challenge.
Artifact breakdownFor Deepfake Detection: a 0-100 score for each type of AI trace we looked for, with what we found.
Chain of custodyA 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 originHow the file was made: Photographed, Scanned, Native digital PDF (created by software) or Digitally rendered (an image made on a computer).
StrategyThe kind of check you ask for: Document Tampering, Deepfake Detection, Email Verification or Extract Documents.
JobOne check of one uploaded file. Each job has its own ID, which you use to fetch the result through the API.
SandboxA free test mode. Test keys (starting dt_test_) return made-up results so you can build your integration without real checks.
Report this resultTell 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.

POSThttps://mcp.tampercheck.ai/mcp
  • Transport: Streamable HTTP (stateless, JSON responses).
  • Auth: OAuth 2.1 sign-in (authorization code + PKCE, discovered from /.well-known/oauth-protected-resource), or Authorization: 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)

  1. 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.
  2. Select Connect. Sign in to TamperCheck (or create an account), check the account shown, and select Allow access.
  3. 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.

  1. In ChatGPT's Settings → Apps, open Advanced settings and turn on Developer mode.
  2. Create an app named TamperCheck with the URL https://mcp.tampercheck.ai/mcp and OAuth authentication.
  3. Sign in to TamperCheck and select Allow access.
  4. 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:

HeaderValue
AuthorizationBearer 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):

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:

bash
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:

  1. In Add custom connector, set the name to TamperCheck.ai and the URL to https://mcp.tampercheck.ai/mcp, then Continue.
  2. Under Authentication, choose No sign-in - do not use the OAuth sign-in options.
  3. Under Request headers, add x-api-key with your dt_... key and keep Required checked, then Add.
Name the connector TamperCheck.ai and point it at https://mcp.tampercheck.ai/mcp.
Pick No sign-in and send your key as a required x-api-key header.

Claude stores the header value securely and never shows it again after you save the connector.

LiteLLM

yaml
mcp_servers:
  tampercheck:
    url: "https://mcp.tampercheck.ai/mcp"
    transport: "http"
    auth_type: "bearer_token"
    auth_value: "dt_..."

Tools

ToolMaps to
tampercheck_analyze_documentPOST /api/v1/documents/
tampercheck_create_uploadPOST /api/v1/documents/ (one-time upload URL)
tampercheck_get_jobGET /api/v1/documents/<id>/
tampercheck_list_jobsGET /api/v1/documents/list/
tampercheck_search_documentsGET /api/v1/documents/search/
tampercheck_usageGET /api/v1/usage/
tampercheck_invite_team_memberPOST /api/v1/team/invites/
tampercheck_add_job_notePOST /api/v1/documents/<id>/notes/
tampercheck_get_report_linkPOST /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.

InputNotes
document_url + optional filenamePublicly reachable HTTPS URL. The MCP server fetches it (SSRF-checked); nothing uploads through the chat.
fileA 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 fileUse 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".

Personal accounts: type mcp.tampercheck.ai under Additional allowed domains, then Add.

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.

Organization settings → Capabilities.
Add mcp.tampercheck.ai under Additional allowed domains.

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_url to tampercheck_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.