One MCP server for every DetectifAI product. Connect Claude, Claude Code, Cursor, VS Code, Codex, Windsurf and other MCP clients with OAuth or an API key, then use every tool by asking.

DetectifAI runs one Model Context Protocol (MCP) server with tools for every product, so AI assistants can use them for you:

Product What your assistant can do Tools
Aletheia Check a recording for AI-generated speech Aletheia tools
Eidos Enroll speakers, verify a recording against one, list and delete speakers Eidos tools
Noesis Find out who or what answered a recorded call, and read call sessions Noesis tools
Account Fetch a stored result again, and read your balance Account tools
Server URL https://platform.detectif.ai/mcp
Transport Streamable HTTP
Authentication Sign in with OAuth, or send Authorization: Bearer <your API key>. Never put a key in the URL. No account yet? Try the free trial at https://platform.detectif.ai/mcp/trial.

Assistants with a connector screen, such as Claude, can sign in with OAuth, so there is no key to create or paste. For the clients below, create an API key in the dashboard first; see Authentication. The examples below read it from the DETECTIF_API_KEY environment variable.

Free trial without an account

Try the server before creating an account: connect an MCP client to https://platform.detectif.ai/mcp/trial (Streamable HTTP) with no key and no sign-in. It has the same tools as /mcp.

  • The trial allows 10 checks per network address. Each detect_deepfake, enroll_speaker, verify_speaker or analyze_call_recording call that returns a result counts as one check. Calls that are rejected or fail do not count, and reading results, speakers or the balance is free.
  • Everyone on the same network shares its trial, so the trial keeps nothing that others could reach: enroll_speaker makes up the speaker_id and returns it (keep it to verify against that speaker; list_speakers shows none), idempotency_key is ignored, the trial keeps no copy of the audio, and trial voiceprints are deleted after 24 hours. Nothing moves to an account created later.
  • The trial address takes no key or sign-in; with an API key, use https://platform.detectif.ai/mcp.
  • After 10 checks, every tool answers with the error code trial_ended. To go on, create an account at platform.detectif.ai, generate an API key on the API keys page, and change the connection to https://platform.detectif.ai/mcp with the header Authorization: Bearer dtf_live_... (see Connect a client), or sign in there when your client asks.

Sign in with OAuth

In Claude, add a custom connector with the URL https://platform.detectif.ai/mcp. Choose Sign in now and Use Claude's published identity, then sign in to DetectifAI and approve the connection. Checks use the credits of the account you signed in with.

Claude setting What to choose
Use Claude's published identity Recommended. Nothing to set up.
Register automatically Also works.
Use your own OAuth client Works with a client ID from DetectifAI support. Leave the secret blank.
No sign-in Add a request header Authorization: Bearer <your API key> instead.

To disconnect, remove the connector. Its access ends straight away.

Connect a client

Shell
claude mcp add --transport http detectif https://platform.detectif.ai/mcp --header "Authorization: Bearer $DETECTIF_API_KEY"

Check the connection with claude mcp list, or /mcp inside Claude Code.

Tools

Every tool, grouped by product. Your assistant picks the tool and fills in the arguments from what you ask. Audio tools take the recording as base64 text in audio_base64 (up to 25 MB decoded) plus its filename; pass an idempotency_key and reuse it when retrying, so a retry returns the stored result instead of running again.

Deepfake detection

Tool What it does Inputs
detect_deepfake Check a recording (up to 300 s = 5 min, at least 2 s of speech) for AI-generated speech. audio_base64, filename, idempotency_key (optional)

Speaker verification

Tool What it does Inputs
enroll_speaker Add one enrollment sample for a speaker (creates the speaker on first use) with Eidos. speaker_id, audio_base64, filename, display_name (optional), idempotency_key (optional)
verify_speaker Compare a recording (3-60 s, at least 2 s of speech) with an enrolled speaker using Eidos. speaker_id, audio_base64, filename, detect_deepfake (optional), idempotency_key (optional)
list_speakers List enrolled speakers in this account, newest first. limit (optional), cursor (optional)
delete_speaker Delete a speaker and its stored voice profile. speaker_id

Noesis

Tool What it does Inputs
analyze_call_recording Find out who or what answered a recorded phone call: a person, voicemail, an IVR menu or another machine. audio_base64, filename, call_id (optional), language (optional), remote_channel (optional), record (optional), idempotency_key (optional)
get_call_analysis Status of a call-recording analysis: running (with progress from 0 to 1), succeeded (with the result: first and final answer and the timeline of answers) or failed (with the error; nothing is charged then). operation_id
get_call_session Read one Noesis call session of this account: live state while the call runs (status, latest answer, seconds of audio so far), the final answer afterwards. session_id

analyze_call_recording runs in the background: it returns an operation_id, and get_call_analysis returns the progress and, when done, the result. Live calls are not available through MCP: they use the Noesis WebSocket.

Account (shared by every product)

Tool What it does Inputs
get_operation Fetch a stored operation: status and, for 30 days, its result. operation_id
get_credit_balance Return the account's available and reserved credits. none

get_operation fetches the stored result of a deepfake check, an enrollment or a verification by its operation_id, for 30 days. Noesis call analyses are fetched with get_call_analysis instead.

Example prompts

Aletheia prompts

Example
Check if /path/call.wav is AI-generated.
Example
Which parts of /path/call.wav sound AI-generated?

Eidos prompts

Example
Enroll /path/alice-1.wav as speaker "alice".
Example
Is /path/new-call.wav Alice? Also check whether it is AI-generated.
Example
List my enrolled speakers.
Example
Delete the speaker "alice".

Noesis prompts

Example
Who answered the call in /path/outbound-call.wav: a person, voicemail or an IVR menu?

Passing audio to tools

Tools take the recording as base64 text in audio_base64, up to 25 MB once decoded. Your assistant reads the file and encodes it for you. The server never fetches URLs or reads file paths.

Because the audio travels inside the conversation, short clips work best. For long recordings or files over 25 MB, use the REST API, which accepts uploads up to 100 MB (Noesis recordings: up to 50 MB).

Every uploaded recording is stored for 30 days, then deleted. See Privacy.

Call recordings (Noesis)

analyze_call_recording takes a recorded call as a WAV file (up to 25 MB decoded, 1 second to 15 minutes) and starts the analysis in the background. It returns an operation_id at once; your assistant then calls get_call_analysis with it until the result is ready, and get_call_session reads a call by its session_id. The key needs the Noesis permission. The call audio and transcript are recorded for 30 days unless the tool is called with record: false; see Data and recording.

Live calls are not available through MCP. Use the Noesis WebSocket for those.

Security

  • Keep the key in an environment variable or your client's password prompt. Do not paste it into a chat or a URL.
  • Create a separate key for each assistant, limited to the actions it needs, so you can revoke it on its own.
  • Rotate the key in the dashboard if it may have been exposed.
  • An assistant connected with your key acts on your account. Keep tool-call approval switched on.
  • Be careful with prompt injection: text inside files, web pages or transcripts can try to make an assistant call tools, for example to delete a speaker. Check each tool call before you approve it.

Troubleshooting

401 Unauthorized. The key is missing, mistyped or revoked, or the header is not Authorization: Bearer <key>. If the key comes from an environment variable, set it before you start the client.

Wrong transport. The server speaks Streamable HTTP at https://platform.detectif.ai/mcp. Choose http (or "Streamable HTTP") in your client, not SSE or stdio.

Behind a proxy. Some corporate proxies remove the Authorization header or block long requests. Allow platform.detectif.ai, or configure your client to use the proxy for HTTPS.

"File too large". Through MCP the limit is 25 MB. Send a compressed file, or use the REST API.

Tool reference

Every tool with its arguments, an example call and what it returns.

Deepfake detection tools

Is this a real voice? Checks a recording or a live call for AI-generated speech. See Deepfake detection for the API behind these tools.

detect_deepfake

Detect synthetic speech.

Check a recording (up to 300 s = 5 min, at least 2 s of speech) for AI-generated speech.

Scope: deepfake:detect. Send at least 10 s of speech: longer audio gives far fewer false alarms. A recording with under 2 s of speech (music, noise or silence) is refused with insufficient_speech and not charged. Returns result.verdict (always real or fake), and for older clients result.score (0 to 1), result.label (genuine or synthetic) and segments. A verdict is a strong signal, not proof of fraud. Pass a new UUID as idempotency_key and reuse it on any retry, so a retry returns the stored result.

Arguments:

Name Type Required Description
audio_base64 string yes The audio file's bytes, base64-encoded (standard or URL-safe alphabet). Up to 25 MB decoded; use the REST API for larger files (up to 100 MB). WAV, MP3, FLAC, OGG/Opus, WebM, M4A/AAC or AIFF. Not a URL or a file path.
filename string yes Original file name, for example call.wav. Informational only.
idempotency_key string or null no Recommended. A unique value per call, for example a new UUID (1-128 printable ASCII characters). If you retry this call, pass the SAME value: the retry returns the stored result instead of running the operation again. Without it, a retry is a new operation. Use a new value for a new call.

Example call:

JSON
{
  "name": "detect_deepfake",
  "arguments": {
    "audio_base64": "<the recording, base64-encoded>",
    "filename": "call.wav",
    "idempotency_key": "3f6c1f0e-6a52-4c1e-9d4b-2a7b8c9d0e1f"
  }
}

Result: the same JSON as Detect AI-generated speech.

Speaker verification tools

Is this the right person? Enrolls a person's voice and checks whether a new recording or a live call is the same person. See Speaker verification for the API behind these tools.

enroll_speaker

Enroll a speaker sample.

Add one enrollment sample for a speaker (creates the speaker on first use) with Eidos.

Scope: speakers:enroll. Audio: 15-60 s with at least 10 s of speech. Enroll 2-3 samples per speaker (up to 5). Pass a new UUID as idempotency_key and reuse it on any retry, so a retry returns the stored result (and does not add a duplicate sample).

Arguments:

Name Type Required Description
speaker_id string yes Your identifier for the speaker: 1-64 characters from A-Z a-z 0-9 _ . : -. Unique per account.
audio_base64 string yes The audio file's bytes, base64-encoded (standard or URL-safe alphabet). Up to 25 MB decoded; use the REST API for larger files (up to 100 MB). WAV, MP3, FLAC, OGG/Opus, WebM, M4A/AAC or AIFF. Not a URL or a file path.
filename string yes Original file name, for example call.wav. Informational only.
display_name string or null no Optional label shown in the dashboard (max 128 characters).
idempotency_key string or null no Recommended. A unique value per call, for example a new UUID (1-128 printable ASCII characters). If you retry this call, pass the SAME value: the retry returns the stored result instead of running the operation again. Without it, a retry is a new operation. Use a new value for a new call.

Example call:

JSON
{
  "name": "enroll_speaker",
  "arguments": {
    "speaker_id": "alice",
    "audio_base64": "<the recording, base64-encoded>",
    "filename": "call.wav",
    "idempotency_key": "3f6c1f0e-6a52-4c1e-9d4b-2a7b8c9d0e1f"
  }
}

Result: the same JSON as Enroll a voice sample.

verify_speaker

Verify a speaker.

Compare a recording (3-60 s, at least 2 s of speech) with an enrolled speaker using Eidos.

Scope: speakers:verify (+ deepfake:detect with detect_deepfake=true, which runs a second, independent operation on the same audio). Decide with result.decision (match or no_match). result.similarity (-1..1, higher is more alike) is not a probability. Eidos rarely accepts the wrong person, so genuine speakers recorded in different conditions are rejected more often. Pass a new UUID as idempotency_key and reuse it on any retry, so a retry returns the stored result.

Arguments:

Name Type Required Description
speaker_id string yes Your identifier for the speaker: 1-64 characters from A-Z a-z 0-9 _ . : -. Unique per account.
audio_base64 string yes The audio file's bytes, base64-encoded (standard or URL-safe alphabet). Up to 25 MB decoded; use the REST API for larger files (up to 100 MB). WAV, MP3, FLAC, OGG/Opus, WebM, M4A/AAC or AIFF. Not a URL or a file path.
filename string yes Original file name, for example call.wav. Informational only.
detect_deepfake boolean no Also run deepfake detection on the same audio (a second operation; scope deepfake:detect).
idempotency_key string or null no Recommended. A unique value per call, for example a new UUID (1-128 printable ASCII characters). If you retry this call, pass the SAME value: the retry returns the stored result instead of running the operation again. Without it, a retry is a new operation. Use a new value for a new call.

Example call:

JSON
{
  "name": "verify_speaker",
  "arguments": {
    "speaker_id": "alice",
    "audio_base64": "<the recording, base64-encoded>",
    "filename": "call.wav",
    "idempotency_key": "3f6c1f0e-6a52-4c1e-9d4b-2a7b8c9d0e1f"
  }
}

Result: the same JSON as Verify a speaker.

list_speakers

List speakers (read-only).

List enrolled speakers in this account, newest first. Scope: speakers:read.

Arguments:

Name Type Required Description
limit integer no Page size, 1-100.
cursor string or null no next_cursor from the previous page.

Example call:

JSON
{
  "name": "list_speakers",
  "arguments": {}
}

Result: the same JSON as List speakers.

delete_speaker

Delete a speaker (deletes data).

Delete a speaker and its stored voice profile. Cannot be undone. Scope: speakers:delete.

Arguments:

Name Type Required Description
speaker_id string yes Your identifier for the speaker: 1-64 characters from A-Z a-z 0-9 _ . : -. Unique per account.

Example call:

JSON
{
  "name": "delete_speaker",
  "arguments": {
    "speaker_id": "alice"
  }
}

Result: the same JSON as Delete a speaker.

Noesis tools

Who or what answered? Tells a person, an IVR menu, voicemail and a voice agent apart on a phone call, live or from a recording. See Noesis for the API behind these tools.

analyze_call_recording

Analyze a call recording.

Find out who or what answered a recorded phone call: a person, voicemail, an IVR menu or another machine.

Scope: noesis:detect. Starts a background analysis and returns operation_id at once. The recording is replayed in real time, so the answer takes about as long as the recording: poll get_call_analysis(operation_id) every few seconds until status is succeeded or failed. Pass a new UUID as idempotency_key and reuse it on any retry, so a retry returns the same analysis.

Arguments:

Name Type Required Description
audio_base64 string yes The call recording's bytes, base64-encoded: a WAV file (PCM, float or G.711), 1 s to 15 min, up to 25 MB decoded. Not a URL or a file path.
filename string yes Original file name, for example call.wav. Informational only.
call_id string or null no Your id for the call (up to 200 characters).
language string or null no Language hint such as en or hi (optional).
remote_channel integer no Stereo files: the channel of the person called (0 or 1).
record boolean no Keep the recording and its transcript for 30 days (default true). Pass false to not keep them.
idempotency_key string or null no Recommended. A unique value per call, for example a new UUID (1-128 printable ASCII characters). If you retry this call, pass the SAME value: the retry returns the stored result instead of running the operation again. Without it, a retry is a new operation. Use a new value for a new call.

Example call:

JSON
{
  "name": "analyze_call_recording",
  "arguments": {
    "audio_base64": "<the recording, base64-encoded>",
    "filename": "call.wav",
    "idempotency_key": "3f6c1f0e-6a52-4c1e-9d4b-2a7b8c9d0e1f"
  }
}

get_call_analysis

Get a call analysis (read-only).

Status of a call-recording analysis: running (with progress from 0 to 1), succeeded (with the result: first and final answer and the timeline of answers) or failed (with the error; nothing is charged then). Scope: noesis:read.

Arguments:

Name Type Required Description
operation_id string yes The operation_id returned by analyze_call_recording (op_...).

Example call:

JSON
{
  "name": "get_call_analysis",
  "arguments": {
    "operation_id": "op_0123456789abcdef0123456789abcdef"
  }
}

get_call_session

Get a call session (read-only).

Read one Noesis call session of this account: live state while the call runs (status, latest answer, seconds of audio so far), the final answer afterwards. Scope: noesis:read.

Arguments:

Name Type Required Description
session_id string yes A Noesis session id (from a stream token, a ready message or a call analysis).

Example call:

JSON
{
  "name": "get_call_session",
  "arguments": {
    "session_id": "ses_0123456789abcdef"
  }
}

Result: the same JSON as Get a call session.

Account tools

Stored results of deepfake checks, enrollments and verifications, live call stream tokens and records, your balance, your usage and the service status.

get_operation

Get an operation (read-only).

Fetch a stored operation: status and, for 30 days, its result. Requires the scope of the operation's type.

Arguments:

Name Type Required Description
operation_id string yes An operation_id such as op_0123... from an earlier result or error.

Example call:

JSON
{
  "name": "get_operation",
  "arguments": {
    "operation_id": "op_0123456789abcdef0123456789abcdef"
  }
}

Result: the same JSON as Get a result.

get_credit_balance

Get credit balance (read-only).

Return the account's available and reserved credits. Scope: credits:read. Without an API key (free trial): how many trial checks are left.

No arguments.

Example call:

JSON
{
  "name": "get_credit_balance",
  "arguments": {}
}

Result: the same JSON as Get your balance.