API v1 and MCP available

AI detection,
inside your tools.

Connect the Lucide 3.0 engine to your product with a stable REST API, or give its features to your AI assistants with our MCP server. A European AI detector with its own detection model, running on our own servers in France.

Included in all plans Hosted in the EU One shared balance
api.lucide.ai
POST /v1/analyses
curl https://api.lucide.ai/v1/analyses \
  -H "Authorization: Bearer $LUCIDE_API_KEY" \
  -H "Idempotency-Key: $REQUEST_ID" \
  -d '{"content":"Your text...","max_credits":10}'
queued running completed
then GET /analyses/{id}verdict: "human_likely"
94/100
13 documented routesA stable OpenAPI v1 contract
10 MCP toolsTyped input and output schemas
Text, PDF, DOCXPrivate, temporary extraction
Own servers in France (EU)The same engine as the app
Two ways

Integrate it your way.

Run analyses at scale inside your product, or add Lucide to an AI assistant without writing any orchestration code. Both use the same permissions, limits and credits.

REST / 01

Asynchronous REST API

For your scripts, back offices and publishing pipelines. Start an analysis, follow its status and get the verdict, the segments or the full report.

  • Built-in idempotency: retry without being charged twice
  • Budgets per key and limits shared across the account
  • Structured errors and clear rate-limit headers
MCP / 02

Remote MCP server

For Claude Code, Codex and other compatible MCP clients. Authorise Lucide from your account, then ask for an analysis in plain language.

  • OAuth Authorization Code with PKCE S256
  • No password or secret to paste into the assistant
  • Revoke access at any time from your account
A response you can use

More than a score.

The contract keeps the verdict, the decision score and the detected passages clearly apart. You decide how your product uses them.

Stable verdict

human_likely, uncertain or ai_likely.

Located passages

Exact Unicode offsets, coverage, and pagination of up to 200 segments.

Traceable versions

Every result includes the model used and the decision policy version.

200 · completedapplication/json
{
  "id": "anl_01K5...",
  "status": "completed",
  "model": {
    "name": "lucide-v3",
    "policy_version": "2026-09-14"
  },
  "result": {
    "verdict": {
      "label": "human_likely",
      "human_likeness_score": 94
    },
    "segments_available": true
  }
}
The Lucide score is a similarity indicator used to reach the decision. It is not proof, and it is not a probability of authorship.
Images · beta

Photos too.

POST /images takes a photo and returns two verdicts side by side: one for the pixels and one for the file. The same engine as the app, the same PDF report, the same credit balance.

Clear verdict

ai, suspicious, inconclusive or no_sign, with the sentence the app shows.

Areas and file

The areas modified in the pixels, the content signature (C2PA), the metadata and the traces left by the camera.

Cases and reports

One reference per insurance claim or per order, the list filtered by case, and the PDF report for each image.

200 · succeededapplication/json
{
  "id": "img_3f9c2a7e...",
  "status": "succeeded",
  "reference": "Claim 2026-0418",
  "picture": {
    "verdict": "ai",
    "label": "Made or modified with AI",
    "regions": [{ "x": 1180, "y": 640, "w": 900, "h": 720 }]
  },
  "file": { "verdict": "edited_after_capture" },
  "credits": { "charged": 1 }
}
One image costs 1 credit, and it is only charged if a verdict is given. The raw model score is never returned.
Model Context Protocol

Lucide becomes a tool for your assistant.

One connection gives you everything you need: estimate, analyse, track, list, get the passages and delete. Responses are validated before they reach the MCP client.

lucide_analyze_textlucide_get_segmentslucide_get_reportlucide_get_account
Connect Lucidemcp.lucide.ai
$ claude mcp add --transport http lucide \
  https://mcp.lucide.ai/mcp

# Then: /mcp → lucide → Authenticate

Your browser opens Lucide so you can authorise the connection. The client never receives your password.

Built for production

Predictable for your code. Under your control.

Every call has clear limits and a technical log, and your content never appears in usage telemetry.

Separate access

Hashed keys, fine-grained permissions, daily budgets in euros and instant revocation.

Safe retries

An idempotency key makes sure that the same call, sent twice, does not start a second analysis.

Choose your retention

Keep content for 24 hours, 7 days or 30 days. Uploaded files expire after 24 hours.

Capped cost

Get a free estimate before inference and set a max_credits limit on each analysis.

Visible throughput

Quotas, available words and the wait time before a retry are shown in the response headers.

Hosted in France (EU)

The API, the app and our own detection model share the same Lucide infrastructure. The AI detection runs on our own servers in France: your texts and images are not sent to another AI detector.

Already included. Ready to connect.

The API and the MCP server come with every Lucide subscription and with the 30-day Pass. They use the same balance as the app. There is no separate developer subscription.

StarterEssentialAdvanced30-day Pass
FAQ

What to know before you start.

Is an API analysis instant?

No. The API is asynchronous: POST /analyses puts the analysis in a queue and returns its ID. You then check the analysis, waiting poll_after_seconds between calls, until its status is completed or failed.

Which documents can I send?

The API accepts plain text and TXT, Markdown, DOCX and text-based PDF files. A file can be up to 10 MiB. Files are temporary: they expire after 24 hours.

How does billing work?

The app, the API and the MCP server share one balance. When an analysis is accepted, its cost is reserved. It is only charged if the analysis succeeds. If it fails, the reserved credits are released.

Can I analyse images?

Yes, in beta: POST /images accepts JPEG, PNG, WebP, HEIC and HEIF files up to 32 MiB. Send the original file: a screenshot, or a copy sent through a messaging app, removes traces. One image costs 1 credit, and the file is deleted after one day.

Does the MCP server work with any assistant?

The server uses the Streamable HTTP transport and OAuth authorisation with PKCE. It works with Claude Code, Codex and any other client that supports these standards.