Karanfil Labs Visual DNA
OfficialKaranfil Labs — Visual DNA MCP Server

Official Model Context Protocol (MCP) server for the Karanfil Labs Visual DNA API — enabling Claude Desktop, Cursor, Windsurf, and any MCP-compatible AI agent to identify movies & TV episodes from video frames or search across 88M+ 768-d visual fingerprints using plain-language prompts.
🇬🇧 English Guide • 🇹🇷 Türkçe Kılavuz • 🌐 Live Demo & API Key • 📖 Swagger Docs
🇬🇧 English Guide
Available MCP Tools
identify_scene_from_image— Identify the movie or TV episode (SxxExx), release year,tmdb_id, and similarity confidence from any local screenshot file path (PNG,JPG,WEBP) or direct image URL (POST /v1/identify). Works even on cropped or subtitled frames.search_scenes_by_text— Semantic text-to-scene discovery across millions of cinema and TV frames using natural English descriptions like "rainy neon street car chase" (POST /v1/search).check_visual_dna_status— Keyless health check returning live server status and real-time indexed 768-d vector count (GET /health).
Privacy & Catalog Note
Volatile RAM Processing: Submitted image frames are converted into 768-d mathematical vectors strictly in volatile server RAM and discarded immediately — zero full images or copyrighted videos are hosted or written to disk.
Growing Catalog & Thresholds: While 88M+ frame vectors are online (heavily covering TV series, anime, and feature films), not every movie ever made is indexed yet. True matches from indexed titles typically score 82% – 95%+; scores below 80% indicate closest visual similarity when a title is not yet in the index.
1. Get Your Free API Key (50 Free Credits)
Sign up in 15 seconds at karanfillabs.com/#portal (no credit card required) to receive 50 free API test credits and your kl_live_... key.
2. Quick Configuration (Claude Desktop / Cursor / Windsurf)
Requires uv (pip install uv or brew install uv). Add the following block to your claude_desktop_config.json or .cursor/mcp.json:
Option A — Run directly from GitHub (Works Immediately):
{
"mcpServers": {
"karanfillabs": {
"command": "uvx",
"args": [
"--from",
"git+[https://github.com/karanfillabs/karanfillabs-mcp](https://github.com/karanfillabs/karanfillabs-mcp)",
"karanfillabs-mcp"
],
"env": {
"KARANFIL_API_KEY": "kl_live_your_api_key_here"
}
}
}
}Option B — Run from PyPI (Once published on PyPI):
{
"mcpServers": {
"karanfillabs": {
"command": "uvx",
"args": ["karanfillabs-mcp"],
"env": {
"KARANFIL_API_KEY": "kl_live_your_api_key_here"
}
}
}
}3. Example Prompts in Claude or Cursor
"Check Karanfil Labs Visual DNA server status and how many vectors are online."
"Identify the movie or series episode in
/Users/alex/Desktop/frame.jpgusing Karanfil Labs.""Search Karanfil Labs for cinema scenes matching 'spaceship approaching a black hole'."
Related MCP server: VZT Video-Intel
🇹🇷 Türkçe Kılavuz
Karanfil Labs Visual DNA API için resmi Model Context Protocol (MCP) köprü paketi. Tek satır kod yazmadan Claude Desktop, Cursor ve Windsurf içerisinden bilgisayarınızdaki bir film/dizi karesini taratabilir veya 88M+ adet 768 boyutlu görsel parmak izi arasında sahne araması yapabilirsiniz.
Sunulan Araçlar (Tools)
identify_scene_from_image— Bilgisayarınızdaki bir ekran görüntüsü yolundan (PNG,JPG,WEBP) veya doğrudan görsel bağlantısından hangi film/dizi bölümü (SxxExx) olduğunu, yılını,tmdb_idbilgisini ve güven skorunu döndürür (POST /v1/identify).search_scenes_by_text— Doğal dil sahne tarifleriyle milyonlarca sinema/dizi karesi içinde anlamsal sahne araması yapar (POST /v1/search). Türkçe yazsanız bile yapay zeka asistanınız tarifi otomatik İngilizceye çevirerek sorgular.check_visual_dna_status— Anahtar gerektirmeden sunucu sağlık durumunu ve o an aktif olan canlı vektör sayısını döndürür (GET /health).
Gizlilik ve Katalog Notu
Anlık RAM İşleme (KVKK / GDPR Uyumlu): Gönderilen kareler yalnızca geçici sunucu belleğinde (RAM) 768 boyutlu vektöre çevrilip salisesinde silinir; diske ham görsel yazılmaz ve telifli video barındırılmaz.
Büyüyen Katalog ve Skor Eşiği: Katalogda 88M+ kare vektörü aktif olsa da henüz tarihteki tüm filmler indekslenmemiştir. İndekste bulunan yapımlar genelde %82 – %95+ bandında eşleşir; %80 altındaki skorlar aranan yapımın henüz katalogda olmayabileceğini gösterir.
1. Ücretsiz API Anahtarı Alın (50 Hediye Kredi)
karanfillabs.com/#portal adresinden kredi kartı gerekmeden ücretsiz hesap açarak 50 test kredisi ve kl_live_... anahtarınızı hemen alabilirsiniz.
2. Kurulum (Claude Desktop / Cursor)
claude_desktop_config.json veya .cursor/mcp.json dosyanıza yukarıdaki Option A JSON bloğunu ekleyip KARANFIL_API_KEY kısmına kendi kl_live_... anahtarınızı yazmanız yeterlidir.
3. Örnek Kullanım Komutları
"Karanfil Labs sunucu durumunu ve aktif vektör sayısını kontrol et."
"Masaüstümdeki
C:\Users\Kullanici\Desktop\sahne.pngkaresinin hangi dizi ve bölüm olduğunu Karanfil Labs ile bul.""Yağmurlu bir gecede neon ışıklı sokakta geçen araba kovalamacası sahnelerini Karanfil Labs'te ara."
License
Available Tools
3 toolscheck_visual_dna_statusA
Check Karanfil Labs Visual DNA API server health and live indexed 768-d frame vector count (no API key required).
Inputs: no named parameters. Returns: result
identify_scene_from_imageA
Identify a movie or TV series episode from a local video frame file path or direct image URL.
Args:
image_source: Local image path (PNG, JPG, WEBP) or direct http/https image URL.
top_k: Number of closest scene candidates to return (1 to 10, default 3).
min_score: Minimum cosine similarity threshold between 0.0 and 1.0 (default 0.70; 0.82+ recommended for strict matching).
Inputs: image_source (required), top_k, min_score. Returns: result
search_scenes_by_textA
Search millions of cinema and TV frames using an English natural-language scene description.
Args:
query: English scene description (e.g. 'car chase in rainy neon street'). Translate non-English prompts to English before calling.
top_k: Number of closest matching scenes to return (1 to 10, default 5).
min_score: Minimum text-to-image similarity threshold (0.0 to 1.0, default 0.22).
Inputs: query (required), top_k, min_score. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools target clearly distinct operations: image-based scene identification, text-based scene search, and API health/status. The input modality (image file/URL vs. English query) makes the boundary between the two search tools unambiguous.
All tools use consistent snake_case with a leading action verb (identify_, search_, check_) and noun-oriented phrasing. No mixed conventions or casing deviations.
Three tools is a small but well-scoped surface for a focused visual search API, with each tool earning its place. It leans slightly thin—there is no separate metadata or detail-retrieval tool—but nothing is redundant.
Both core retrieval modalities (image and text) plus a status endpoint are covered, which supports the primary workflows. Minor gaps exist around fetching detailed scene metadata by ID, filtering by title/genre, or paginating beyond top_k, but agents can work around these via search results.
Maintenance
Related MCP Connectors
Video analysis AI: transcripts, summaries, visual scenes/shots, clips, answers in natural language.
Video knowledge base for agents: search your library's transcripts, keyframes and on-screen text.
Search visual references, explore similar frames and manage your Refsee moodboards.
Search your video library with natural language and retrieve relevant moments through MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to watch YouTube videos by extracting frames at scene changes and visual references, pairing each frame with the exact words spoken at that timestamp. Provides dense frame-transcript interleaving for any model.6MIT

VZT Video-Intelofficial
AlicenseNot gradedqualityDmaintenanceSelf-hosted video intelligence pipeline that turns video into structured, citable, queryable JSON scene graphs, enabling AI assistants to analyze and search across video libraries without re-processing.12 npm1MIT- AlicenseNot gradedqualityBmaintenanceEnables search across videos you've watched via transcripts, on-screen text, and frames, citing exact timestamps. Point it at videos, channels, or playlists; it indexes everything locally and answers queries with deep links to the exact second.3MIT
- FlicenseCqualityDmaintenanceEnables AI assistants to search and retrieve structured video material, including dialogue, jokes, story structure, and video details through natural language queries.28-