Skip to main content
Glama
SightRadar MCP Server

SightRadar MCP Server

Official

There are two ways to connect. Both expose the same tools.

Remote (hosted)

Local (this package)

URL / command

https://mcp.sightradar.com/mcp

npx -y sightradar-mcp

Sign-in

SightRadar account (email + password, Google or email link), or an API key as a Bearer token

SIGHTRADAR_API_KEY

Install

Nothing

Node.js 20+

Images from your computer

No (URLs or base64)

Yes, file_path

Add https://mcp.sightradar.com/mcp as a custom connector. On first use your browser opens sightradar.com, you sign in and choose what the assistant may do. Each connection gets its own revocable key, listed under API keys as MCP: <app name>.

  • Claude (claude.ai, Desktop): Settings → Connectors → Add custom connector → paste the URL.

  • ChatGPT: Settings → Apps & Connectors → Create → paste the URL, authentication OAuth.

  • Claude Code: claude mcp add --transport http sightradar https://mcp.sightradar.com/mcp

  • Cursor (~/.cursor/mcp.json) / VS Code (.vscode/mcp.json, key servers):

    { "mcpServers": { "sightradar": { "url": "https://mcp.sightradar.com/mcp" } } }
  • Kiro: Add to Kiro (one click), or add the same url to your Kiro MCP config.

Prefer an API key? Send it as a header instead of signing in:

{
  "mcpServers": {
    "sightradar": {
      "url": "https://mcp.sightradar.com/mcp",
      "headers": { "Authorization": "Bearer frs_your_key" }
    }
  }
}

Related MCP server: SandBase CLI

Local server

Create an API key at sightradar.com/dashboard/keys, then:

{
  "mcpServers": {
    "sightradar": {
      "command": "npx",
      "args": ["-y", "sightradar-mcp"],
      "env": { "SIGHTRADAR_API_KEY": "frs_your_key" }
    }
  }
}

That block works in Claude Desktop (claude_desktop_config.json), Cursor, Windsurf, Cline and most clients. Claude Code:

claude mcp add sightradar --env SIGHTRADAR_API_KEY=frs_your_key -- npx -y sightradar-mcp

Variable

Default

SIGHTRADAR_API_KEY

(required)

API key

SIGHTRADAR_SCOPES

read,search,write,delete

Which tool groups to expose. all adds account; read gives a read-only server.

SIGHTRADAR_FILE_ROOTS

your home folder

Folders file_path may read (separated by : on macOS/Linux, ; on Windows). none turns file_path off.

SIGHTRADAR_BASE_URL

https://api.sightradar.com

API base URL

SIGHTRADAR_TIMEOUT_MS

120000

Per-request timeout

SIGHTRADAR_DEBUG

unset

Log each tool call (no arguments or results) to stderr

Tools

Credits: 100,000 credits = US$1. Every billable tool states its price in its description, and accepts an idempotency_key so a retry is never charged twice.

read — free

Tool

list_collections

Collections with photo, face and selfie counts; search and paging

get_collection

One collection's status and counts (verify recounts from the vector store)

get_deletion_status

Progress of a collection deletion

list_batches / get_batch / get_batch_photos

Batch jobs, status (one or up to 5000 at once) and per-photo results

list_webhooks / list_webhook_failures

Webhook endpoints and dead-lettered deliveries

get_balance / get_usage

Credit balance; usage summary, daily series or storage

search — spends credits, stores nothing

Tool

Credits

search_faces

93

Find every photo in a collection containing the person in a selfie (or an embedding)

search_by_point_id

62

Repeat a registered selfie's search without re-sending it

detect_faces

93

Faces, bounding boxes and quality in an image

compare_faces

93 per image

Are two faces the same person?

write — spends credits / stores data

Tool

Credits

index_photo

93

Store a photo's faces in a collection

register_selfie

93

Store a person's selfie; returns its point id and embedding

submit_batch

62 per photo

Up to 1000 photo URLs, index or match, processed in the background

requeue_failed_batch_photos

62 per photo

Retry failed batch photos (preview, then execute)

create_collection / recreate_collection

free

create_webhook / replay_webhook_failures

free

Signed deliveries for batch and deletion events

delete — free

Tool

delete_collection

Soft delete with a 7-day restore window by default; immediate or compliance erase permanently

restore_collection

Undo a soft delete

delete_photo / restore_photo

Remove or restore one photo's faces

delete_webhook

Stop deliveries to an endpoint

account — free, off by default on the local server

Tool

list_api_keys / create_api_key / revoke_api_key

API keys

get_profile / update_profile

Name and organization

get_billing_settings / update_auto_recharge / get_invoice

Auto-recharge, orders and invoice PDFs

get_notification_settings / update_notification_settings / manage_notification_recipient

Email alerts and extra recipients

list_team_members

Organization members

Prompts and resources

Clients that show MCP prompts (Claude's "+" menu, / commands) get three ready-made workflows:

Prompt

What it does

find_person_in_event

Checks the balance, searches a collection with a selfie and lists the matching photos

index_event_photos

Picks index_photo or submit_batch by photo count and states the cost before starting

account_health

Balance, recent usage, failed batch photos and failed webhook deliveries

Resources: sightradar://docs/pricing-and-limits (credits per operation, rate limits, image and deletion limits) and sightradar://collections/{collection_id} (one collection's counts, needs the read scope).

Images

Image tools take exactly one of:

  • image_url: a public http(s) URL. SightRadar downloads it, so it must be reachable from the internet.

  • gcs_key: an object key on the CDN configured for your account.

  • image_base64: the bytes as base64 or a data: URL. The remote server accepts up to 10 MB; the local server up to 30 MB.

  • file_path (local server only): a JPEG, PNG, WebP, GIF, BMP, TIFF or HEIC file inside SIGHTRADAR_FILE_ROOTS.

Files and base64 data are checked to be real images before anything is uploaded.

Example prompts

  • "Create a collection called wedding-2026-10 and index every photo in ~/Pictures/wedding."

  • "Here is a selfie of Priya: which photos in wedding-2026-10 is she in?"

  • "Submit these 600 photo URLs as a batch into marathon-7 and tell me when it's done."

  • "How many credits did I spend this week, and on what?"

  • "Delete the test-event collection." (The assistant confirms first, and the delete can be undone for 7 days.)

Safety

  • Tools carry MCP annotations (readOnlyHint, destructiveHint), so clients can ask before destructive calls.

  • Deletes are soft by default. Permanent erasure needs immediate or compliance to be set explicitly.

  • Scopes limit what a connection can do. A read-only connection cannot spend credits or change data.

  • The local server reads files only inside SIGHTRADAR_FILE_ROOTS, after resolving symlinks, and only image files.

  • API errors come back as tool results with the error code, a hint and the request id, never as stack traces.

Troubleshooting

You see

Meaning

401 / unauthorized

The API key was revoked or mistyped. Create a new one at sightradar.com/dashboard/keys; remote connections: reconnect.

402 / insufficient_credits

Top up at sightradar.com/dashboard/billing.

409 / duplicate_request_already_processed

That idempotency_key was already used and charged; the earlier call succeeded.

file_path ... is outside the folders this server may read

Add the folder to SIGHTRADAR_FILE_ROOTS (:-separated on macOS/Linux, ; on Windows).

429

Over the per-key request rate (50 per second) or the account's in-flight cap. Wait and retry.

Development

npm install
npm test          # unit tests against a mocked API
npm run build
SIGHTRADAR_API_KEY=frs_... node scripts/smoke.mjs   # free live calls over stdio

createSightRadarServer({ api, scopes }) and TOOLS are exported for embedding the same tools in another host.

Privacy and support

MIT licensed.

Available Tools

27 tools
compare_facesCompare two facesA
Idempotent
Inspect

Check whether two images (or embeddings) show the same person. Uses the best face on each side. Returns face_found, similarity (0-1, null when a side has no face), match and the threshold used. Each side is a public URL, a CDN key or a 512-number embedding. Costs 93 credits per image processed: 186 for two images, 93 for one image and one embedding, 93 for two embeddings.

Inputs: source_url, target_url, source_gcs_key, target_gcs_key, +3 more.

create_collectionCreate a collectionA
Idempotent
Inspect

Create a face collection (for example one per event). Creating one that already exists and is active succeeds without change; one that is being deleted or was deleted returns 409 (use restore_collection or recreate_collection). Indexing into a missing collection also creates it, so this is optional. Free.

Inputs: collection_id (required).

create_webhookAdd a webhookAInspect

Register a public HTTPS URL to receive batch-completion and deletion events. Each delivery is signed: X-SightRadar-Signature = hex HMAC-SHA256(secret, '.'). If you omit secret one is generated and returned ONCE in this answer: tell the user to store it. Free.

Inputs: url (required), secret.

delete_collectionDelete a collectionA
DestructiveIdempotent
Inspect

Delete a collection and every face, selfie and photo record in it. By default this is a SOFT delete: the collection is hidden at once and purged after a 7-day grace period, and restore_collection undoes it until then. immediate=true starts the purge now and cannot be undone. compliance=true records an audited erasure (GDPR/BIPA) and cannot be restored. An immediate or compliance erase of a collection that still holds faces or selfies is refused with confirmation_required until confirm_erase=true. Confirm with the user before calling this. Free.

Inputs: collection_id (required), immediate, compliance, confirm_erase.

delete_photoDelete a photo's facesA
DestructiveIdempotent
Inspect

Remove every face indexed from one photo. Soft by default (restore_photo undoes it); immediate=true or compliance=true is permanent. Deleting a photo that is already gone, or a photo_id that was never indexed, still answers deleted=true, so check the photo_id before telling the user something was removed. Free.

Inputs: photo_id (required), collection_id (required), immediate, compliance.

delete_webhookDisable a webhookA
DestructiveIdempotent
Inspect

Stop deliveries to a webhook endpoint. Already-disabled endpoints succeed again. Free.

Inputs: webhook_endpoint_id (required).

detect_facesDetect facesA
Idempotent
Inspect

Find the faces in an image without storing anything. Returns detected_face_count, gated_face_count (faces that pass the quality gate) and per face: bounding box (ratios), det_score, min_px and quality_passed. Useful to check a photo or selfie before indexing. Costs 93 credits.

Inputs: gcs_key, file_path, image_url, image_base64, +1 more.

get_balanceGet credit balanceA
Read-onlyIdempotent
Inspect

Current credit balance of the account. 100,000 credits = US$1. Real-time index, search, selfie, detect = 93 credits; compare = 93 per image; batch photo and search_by_point_id = 62. Free.

Inputs: no named parameters.

get_batchGet batch statusA
Read-onlyIdempotent
Inspect

Status of one or many batch jobs: status, total_photos, succeeded, failed, pending. Pass batch_id for one, or batch_ids (up to 5000) for many at once; ids you don't own are left out. Free.

Inputs: batch_id, batch_ids.

get_batch_photosGet per-photo batch resultsA
Read-onlyIdempotent
Inspect

Per-photo results of a batch: external_id, status, face_count and reason_code for failures. Page with after_index = next_after_index. Free.

Inputs: batch_id (required), limit, after_index.

get_collectionGet a collectionA
Read-onlyIdempotent
Inspect

Show one collection: status, photo_count, face_count, selfie_count, created_at and purge_after when a deletion is pending. Set verify=true to recount from the vector store instead of the cached counters. Free.

Inputs: collection_id (required), verify.

get_deletion_statusCheck a collection deletionA
Read-onlyIdempotent
Inspect

Track a collection deletion: phase (not_deleting, deletion_pending, deleting, completed, blocked), whether the data is verified gone (verified_zero), purge_after, attempts and the last error. Free.

Inputs: collection_id (required).

get_usageGet usageA
Read-onlyIdempotent
Inspect

Calls and credits spent, per operation. granularity=summary (default) gives totals per op; daily gives a day-by-day series including storage charges; storage gives the daily stored-vector count and storage credits. Use days (1-365) or a from/to date range (YYYY-MM-DD). Free.

Inputs: to, days, from, granularity.

index_photoIndex a photoAInspect

Detect every face in a photo and store them in a collection so they can be found later by search_faces. Returns each face's point_id, bounding box (ratios of image width/height), detection score and pixel size. Faces below the quality gate (det_score < 0.6 or under 24 px) are counted as rejected. Indexing the same photo_id twice fails with already_indexed unless override=true. Use a photo_id that is unique across all your collections: on some older accounts photo ids are shared between collections, so reusing one moves its faces out of the other collection (or is refused with photo_id_in_other_collection). The collection is created if missing. Costs 93 credits.

Inputs: collection_id (required), gcs_key, override, photo_id, +4 more.

list_batchesList batch jobsA
Read-onlyIdempotent
Inspect

List recent batch jobs newest first with status and succeeded/failed/pending counts. For the next page pass next_before_created and next_before_id from the previous answer. Free.

Inputs: limit, before_id, before_created.

list_collectionsList collectionsA
Read-onlyIdempotent
Inspect

List the face collections on this SightRadar account, with photo, face and selfie counts. Supports substring search and paging. Free.

Inputs: limit, query, offset, status.

list_webhook_failuresList failed webhook deliveriesA
Read-onlyIdempotent
Inspect

Deliveries that gave up after all retries (9 attempts): delivery_id, endpoint, url, attempts, last status code and error. Free.

Inputs: limit.

list_webhooksList webhooksA
Read-onlyIdempotent
Inspect

List webhook endpoints (id, url, status, created_at). Optionally filter by status. Free.

Inputs: status.

recreate_collectionRecreate a purged collectionA
Idempotent
Inspect

Bring back an empty collection under the same id after it has been fully deleted (status deleted). The old faces are not recovered. Free.

Inputs: collection_id (required).

register_selfieRegister a selfieAInspect

Store a user's selfie in a collection so they can be matched against its photos. Returns face_found, the selfie's point_id (use with search_by_point_id) and its 512-number embedding. face_found=false with reason=no_face means no face was found; a face that fails the quality gate (det_score < 0.6 or under 24 px) is refused with HTTP 422 and not stored. Retrying with the same idempotency_key returns the original point_id without a second charge. Costs 93 credits.

Inputs: user_id (required), collection_id (required), gcs_key, file_path, +4 more.

replay_webhook_failuresReplay failed webhook deliveriesA
Idempotent
Inspect

Send failed deliveries again. Pass delivery_ids to replay specific ones, or omit to replay all of them. Returns how many were requeued. Free.

Inputs: delivery_ids.

requeue_failed_batch_photosRetry failed batch photosAInspect

Retry batch photos that failed for a given reason, in two steps. First call with execute=false to get a preview: how many photos match, the estimated credit cost and a preview_id (valid 10 minutes, usable once). Show that to the user, then call again with execute=true and the preview_id. Requeued photos are charged when processed, usually 62 credits each; the preview's credits_per_photo and estimated_credits give the exact price.

Inputs: execute (required), limit, preview_id, reason_code, +3 more.

restore_collectionRestore a deleted collectionA
Idempotent
Inspect

Undo a soft delete while the collection is still in its grace period (status deletion_pending). Fails once the purge has started or for a compliance erasure. Free.

Inputs: collection_id (required).

restore_photoRestore a deleted photoA
Idempotent
Inspect

Undo a soft photo deletion made with delete_photo. Free.

Inputs: photo_id (required), collection_id (required).

search_by_point_idSearch by a stored faceA
Idempotent
Inspect

Find a registered person's photos again without re-sending their selfie: pass the point_id returned by register_selfie for this collection. Cheaper than search_faces. Only selfie point ids (a UUID or an unsigned integer) work here; face point ids from index_photo return reason=point_not_found. Returns matches [{photo_id, score}]. Costs 62 credits.

Inputs: point_id (required), collection_id (required), limit, threshold, +1 more.

search_facesSearch a collection by faceA
Idempotent
Inspect

Find the photos in a collection that contain the person in a query image (typically a selfie) or a 512-number embedding. Returns matches [{photo_id, score}] best first, plus photo_ids. When nothing matches, reason says why: no_face (no face found in the query) or low_quality_selfie. Costs 93 credits.

Inputs: collection_id (required), limit, gcs_key, embedding, +5 more.

submit_batchSubmit a batch jobAInspect

Queue up to 1000 photo URLs for background processing. op=index stores their faces in the collection; op=match matches them against the collection. Submitting is free; each photo costs 62 credits when it is processed (some accounts pay the real-time 93 for a batch of one photo). The collection is created if missing; one that is being deleted is refused with 409 collection_not_writable. Only URLs are accepted, not base64. Returns batch_id; poll get_batch or register a webhook to hear when it finishes. op=index results are readable with get_batch_photos. op=match results (the matched photo ids per photo) are delivered only to a webhook today: without webhook_endpoint_id the matches are charged but cannot be read back, so prefer search_faces for a few photos. URLs are not checked at submit time: unreachable ones fail individually later.

Inputs: op (required), photos (required), collection_id (required), override, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 27 tools

    Disambiguation4/5

    Most tools have sharply distinct roles, and the descriptions explicitly disambiguate the tricky pairs (search_faces vs search_by_point_id vs compare_faces; index_photo vs submit_batch; detect_faces vs register_selfie). The main friction points are clusters like create_collection/restore_collection/recreate_collection and get_batch/get_batch_photos/list_batches, which require reading the descriptions to pick correctly but are at least well documented.

    Naming Consistency5/5

    Every tool follows a consistent snake_case verb_noun pattern (list_collections, index_photo, delete_webhook, get_balance), including the longer requeue_failed_batch_photos and search_by_point_id. No camelCase or bare-noun outliers, so the pattern is fully predictable.

    Tool Count3/5

    27 tools is on the heavy side for a face-recognition API; the surface spans six sub-domains (collections, indexing, search, batches, webhooks, billing) and each is reasonably staffed, but there is consolidation headroom (e.g. get_batch vs get_batch_photos, three separate collection-creation tools). It is defensible but borderline bloated rather than tightly scoped.

    Completeness4/5

    Collection lifecycle is fully covered (create/get/list/delete/restore/recreate/status), and indexing, search, batch, webhook and billing workflows all have entry points. Minor gaps remain: there is no list_photos or get_photo to browse what is indexed in a collection (only counts and search), no face-level delete, and no update_webhook.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers