SightRadardocs

MCP server

Use SightRadar from Claude, ChatGPT, Cursor, VS Code or any MCP client: the hosted server at mcp.sightradar.com with sign-in, or the local sightradar-mcp package.

Last updated

The Model Context Protocol (MCP) lets an AI assistant call tools on your behalf. The SightRadar MCP server turns the API into 39 tools: create collections, index photos, find a person's photos from a selfie, run batches, manage webhooks, and check your balance and usage. You ask in plain language ("which photos in wedding-2026-10 is Priya in?") and the assistant picks the calls.

There are two ways to run it. Both expose the same tools.

Remote (hosted)Local
URL or commandhttps://mcp.sightradar.com/mcpnpx -y sightradar-mcp
Sign-inYour SightRadar account in the browser, or an API key headerSIGHTRADAR_API_KEY
InstallNothingNode.js 20 or newer
Images from your computerNo (URLs or base64)Yes, with file_path

Every call spends credits at the normal API prices. The assistant gets nothing that a key with the same permissions could not do through the REST API.

Remote server

Add https://mcp.sightradar.com/mcp to your client. The first time the assistant uses it, your browser opens sightradar.com to sign in.

On claude.ai or in Claude Desktop: Settings → Connectors → Add custom connector, paste https://mcp.sightradar.com/mcp, and choose Connect.

Signing in

  1. The client opens sightradar.com/oauth/authorize in your browser. If you are signed out, you sign in first (email and password, Google, or an email link) and come back to the same page.
  2. The page shows the app's name (and its verified domain, when it has one), the host it will send access to, the organization it connects to, and the permissions it asked for, each marked free or spends credits. Untick any you do not want, then choose Allow. Cancel sends the app an access_denied error and creates nothing.
  3. SightRadar creates an API key named MCP: <app name> for this connection and hands it to the MCP server directly. The key never passes through the browser or the app.
  4. The browser returns to the app, which can now call the tools.

Each connection appears under Connected AI apps on the API keys page. Disconnect signs the app out and revokes its key. Revoking the MCP: … key in the key list also cuts the app off: its calls fail and it asks you to connect again. Connecting the same app again replaces its old connection and key.

The connection uses the organization that is active in your console. To connect a different organization, switch to it in the console first.

Using an API key instead

If your client can send headers, you can skip the browser sign-in and pass a key from the console:

{
  "mcpServers": {
    "sightradar": {
      "url": "https://mcp.sightradar.com/mcp",
      "headers": {
        "Authorization": "Bearer frs_your_key",
        "X-SightRadar-Scopes": "read,search"
      }
    }
  }
}

Without X-SightRadar-Scopes a key gets every permission group, including account. Set the header to a comma-separated list to narrow it; an unknown name is rejected with a 400 so a typo never widens access.

Local server

The sightradar-mcp package runs the same tools over stdio on your machine. Create a key in the console, then add this to your client's config (Claude Desktop's claude_desktop_config.json, Cursor, Windsurf, Cline and most others accept it):

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

In Claude Code:

claude mcp add sightradar --env SIGHTRADAR_API_KEY=frs_your_key -- npx -y sightradar-mcp
VariableDefaultWhat it does
SIGHTRADAR_API_KEYrequiredThe API key the server calls with
SIGHTRADAR_SCOPESread,search,write,deleteWhich permission groups to expose. all adds account; read gives a read-only server
SIGHTRADAR_FILE_ROOTSyour home folderFolders file_path may read, separated by : on macOS and Linux or ; on Windows. none turns file_path off
SIGHTRADAR_BASE_URLhttps://api.sightradar.comAPI base URL
SIGHTRADAR_TIMEOUT_MS120000Per-request timeout in milliseconds
SIGHTRADAR_DEBUGunsetLog each tool call (tool name, scope, success) to stderr, without arguments or results

Permissions

Every tool belongs to one permission group. The sign-in page lists them as checkboxes, X-SightRadar-Scopes and SIGHTRADAR_SCOPES take the same names, and a tool outside the granted groups is not offered to the assistant at all.

GroupAllowsSpends credits
readView collections, batches, webhooks, balance and usageNo
searchSearch, detect and compare faces. Stores nothingYes
writeCreate collections, index photos, register selfies, submit batches, add webhooksYes
deleteDelete and restore collections and photos, delete webhooksNo
accountManage API keys, profile, notifications, auto-recharge, orders and teamNo, but update_auto_recharge can charge your card

Sign-in pre-selects the groups the app asked for (read, search, write and delete when it asks for nothing narrower). account always starts unticked, with a warning, even when the app asks for it; tick it yourself if the app needs it. A read-only connection cannot spend credits or change data.

Tools

100,000 credits = $1, and billing is per photo processed, never per face. Every billable tool states its price in its description and accepts an idempotency_key, so a retried call is not charged twice.

read

ToolWhat it does
list_collectionsCollections with photo, face and selfie counts; search and paging
get_collectionOne collection's status and counts
get_deletion_statusProgress of a collection deletion
list_batches, get_batch, get_batch_photosBatch jobs, their status and per-photo results
list_webhooks, list_webhook_failuresWebhook endpoints and failed deliveries
get_balance, get_usageCredit balance; usage summary, daily series or storage
ToolCreditsWhat it does
search_faces93Find every photo in a collection that contains the person in a selfie (or an embedding)
search_by_point_id62Repeat a registered selfie's search without sending the image again
detect_faces93Faces, bounding boxes and quality in an image, stored nowhere
compare_faces93 per imageWhether two faces are the same person. 186 for two images, 93 for an image and an embedding

write

ToolCreditsWhat it does
index_photo93Store a photo's faces in a collection
register_selfie93Store a person's selfie; returns its point id and embedding
submit_batch62 per photoUp to 1,000 photo URLs, indexed or matched in the background
requeue_failed_batch_photos62 per photoRetry failed batch photos: a free preview first, then the run
create_collection, recreate_collectionfreeCreate a collection, or bring back a fully deleted one, empty, under the same id
create_webhook, replay_webhook_failuresfreeSigned deliveries for batch and deletion events

delete

ToolWhat it does
delete_collectionSoft delete with a 7-day restore window; immediate or compliance erase permanently
restore_collectionUndo a soft delete
delete_photo, restore_photoRemove or restore one photo's faces
delete_webhookStop deliveries to an endpoint

account

ToolWhat it does
list_api_keys, create_api_key, revoke_api_keyAPI keys
get_profile, update_profileName and organization
get_billing_settings, update_auto_recharge, get_invoiceAuto-recharge, orders and invoice PDFs
get_notification_settings, update_notification_settings, manage_notification_recipientEmail alerts and extra recipients
list_team_membersOrganization members

Images

Tools that take an image accept 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. Up to 10 MB on the remote server and 30 MB on the local one.
  • file_path (local server only): a JPEG, PNG, WebP, GIF, BMP, TIFF or HEIC file inside SIGHTRADAR_FILE_ROOTS.

Base64 data and files are checked to be real images before anything is uploaded. For large files, prefer image_url. See Images for what makes a photo match well.

Safety

  • Tools carry MCP annotations (readOnlyHint, destructiveHint), so clients that support them ask you before a destructive call.
  • Deletes are soft by default. Permanent erasure happens only when immediate or compliance is set, and erasing a collection that still holds faces needs a second, confirmed call.
  • requeue_failed_batch_photos shows the number of photos and the estimated cost before it spends anything, and update_auto_recharge tells the assistant to confirm amounts with you first.
  • The local server reads only image files inside SIGHTRADAR_FILE_ROOTS, after resolving symlinks.
  • API errors come back to the assistant as tool results with the error code, a hint and the request id, never as stack traces.
  • A selfie is biometric data. Register selfies only with the person's consent, as the Acceptable Use Policy requires.
  • Agent skill: instructions for coding agents that call the REST API or CLI directly.
  • Agent setup: point any agent at the Markdown docs and llms.txt.
  • Authentication: how API keys work and how to keep them out of client code.

On this page