Lulu-The-Narwhal/dali-mcp

πŸŽ₯ Multimedia Process
0 Views
0 Installs

🐍 ☁️ - Scores AI image/video generation prompts (0-100) against 18 models (Veo 3, Sora, Kling, Runway, Seedance, Midjourney, Flux, and more) before you spend a generation credit, then rewrites weak ones. Free, hosted remote MCP + npm/PyPI packages.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "lulu-the-narwhal-dali-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lulu-the-narwhal-dali-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

Dali by Lulu

Dali by Lulu β€” creative intelligence MCP

dali.getlulu.dev Β Β·Β  Install Β Β·Β  Live stats Β Β·Β  Lulu

Dali by Lulu β€” featured on Product Hunt

PyPI version PyPI downloads npm version npm downloads MIT License MCP Server Live


Score your creative against what's actually winning in the ad market β€” before you spend the credit.

Most AI generation failures are predictable. A weak prompt, an off-formula creative β€” you can't tell until after you've burned the token. Dali scores it first, and it doesn't grade against opinions or generic "prompt tips." It grades against a real, living corpus of proven-winning ads β€” creatives still running in the market months after launch, scraped, embedded, and ranked. Two jobs:

  • score_prompt β€” judge the prompt before you generate (craft: camera, motion, lighting, model-native language).
  • score_creative β€” judge the actual image against proven winners (does it look like what converts, and what's missing).

Every wasted generation has a real cost β€” a Seedance retry is ~$6. The live dashboard tracks what the community has saved by catching bad creatives before they burned a credit.

You: "make a video ad for our glass serum bottle"

dali::score_prompt(prompt, "veo3")
β†’ 8/100  Grade: F
β†’ no camera move Β· no motion Β· no lighting Β· 8 words
β†’ Verdict: Generic stock footage guaranteed. Enhance first.
β†’ enhancement_brief included (score < 70):

  β‘  lead with camera β€” Veo 3's #1 lever: "Slow dolly", "Orbital push"
  β‘‘ describe physics: "a drop falls", "liquid ripples", "glass refracts"
  β‘’ lighting type + quality: "warm backlight", "rim-lit edges"
  ↳ [Camera]. [Subject + motion]. [Lighting]. [Mood]. [No text.]

✦ YOUR LLM rewrites using the brief:

  "Slow orbital push around a glass serum bottle on white marble. A single
   amber drop falls in extreme slow motion, catching warm backlight. Macro:
   liquid gold ripples outward from impact. Rim-lit edges, soft studio
   diffusion. Premium, clinical. No text."

dali::score_prompt(enhanced, "veo3")
β†’ 91/100  Grade: A  βœ“ Safe to generate.

The real winning data layer

This is what makes Dali more than a prompt linter. The scores are grounded in real ads that are actually winning, not hand-written rules.

How the corpus is built β€” longevity is the outcome signal. We scrape the public Meta Ad Library. An ad still running months after it launched is one the advertiser keeps paying for β€” a proven winner. That "still-running-after-N-days" longevity is a market-validated label you can't fake, and it's the spine of the whole dataset.

What's in it, today:

Ads ingested10,204 (14,100 raw archive)
Proven winners (long-running)3,808
Distinct advertisers4,121
Verticals8 β€” beauty, wellness, supplements, fitness, food, apparel, tech, pets
Winner creatives embedded800 (1408-dim, balanced ~100/vertical)
Longest-running winner seen2,431 days (6.6 years live)

The pipeline (offline β†’ serving). The tools never scrape or embed on the fly β€” they read pre-built stores:

scrape Meta Ad Library         β†’ proven winners (longevity label)
      β†’ Gemini vision           β†’ creative attributes (lighting, format, before/after, offer…)
      β†’ prevalence SQL          β†’ winning-pattern lift per vertical (winners vs baseline)
      β†’ Vertex embeddings       β†’ BigQuery VECTOR_SEARCH (nearest proven winners, cosine)
      β†’ graph edges (Memgraph)  β†’ (:Pattern)-[:WINS_IN {lift, n}]->(:Category)

So when score_creative runs, it embeds your image and finds the actual winning ads it most resembles by full visual signature β€” then tells you which winning attributes you're missing. When enhance_prompt runs with a category, the rewrite brief is backed by real market lift ("before/after shows up in 78% of winning wellness ads, 4Γ— baseline"), not craft opinion.

Honest scope. The winner label is longevity (a strong market-validated proxy), not per-ad conversion rate β€” measured CVR validation is in progress. The corpus grows on a schedule, so coverage per vertical keeps deepening. What you get today: your creative scored against what's demonstrably surviving in the live market.

dali::score_creative(image_url, "beauty")
β†’ score 62/100  β€” partial resemblance to proven winners
β†’ looks_like:      FrΓΈya Organics (ran 411d), tashportcosmetics (884d), Face Reality (346d)
β†’ what_to_change:  winners use "before/after" 4Γ— more Β· offer-visible 1.8Γ— more
β†’ defects:         none
β†’ Verdict: Partial β€” strong resemblance, but add the high-lift attributes before spending.

Contents


Install

Hosted MCP β€” connect once, scores every prompt and creative:

# Claude Code
claude mcp add --transport http dali https://dali.getlulu.dev/mcp
// Cursor / Windsurf β€” .cursor/mcp.json or windsurf settings
{
  "mcpServers": {
    "dali": { "url": "https://dali.getlulu.dev/mcp" }
  }
}
// stdio-only clients β€” npx wrapper around the hosted server, no Python needed
{
  "mcpServers": {
    "dali": { "command": "npx", "args": ["-y", "dali-mcp"] }
  }
}

β†’ Full install guide with all clients

Self-hosted β€” local, no auth required:

pip install dali-mcp
claude mcp add dali -- python -m dali.server

The self-hosted package exposes the prompt-scoring tools locally. The creative-scoring tools (score_creative, analyze_winning_formula) and the winning-ad corpus run on the hosted server β€” connect via the hosted MCP to use them.


Tools

Score the creative β€” against real winners

ToolWhat it does
score_creative(image_url, category)Score an actual ad image. Embedding similarity to proven winners is the headline score; also returns the winners it resembles, which winning attributes it's missing, and generation defects β€” in one call
score_creative_from_view(category, …)Score an image you're looking at (pasted/attached in the chat) β€” no URL. The model reads the creative's attributes and Dali scores them against the winning corpus (verdict + what to change). Use for images shared in-conversation; score_creative (URL) adds the embedding headline
analyze_winning_formula(csv, category, email)Paste your own ads export (creative URL + CPA/CTR/ROAS) β†’ your winning formula vs your losers, plus how you compare to the industry median

Score the prompt β€” before you generate

ToolWhat it does
score_prompt(prompt, model, category?)Grade 0–100 with a per-dimension breakdown and verdict. When the score is weak, the rewrite brief is returned in the same call. Reads intent with the conversation LLM (understands negation, any language)
enhance_prompt(prompt, model, category?)Returns a structured rewrite brief β€” YOUR LLM writes the enhanced prompt. With a category, the brief is backed by real winning-ad lift
track_enhancement(original, enhanced, generator)Record a before/after pair in the graph brain β€” trains community patterns
score_variations(prompts, generator)Rank a list of prompt variants in one call β€” highest to lowest
suggest_generator(concept, budget_usd_max)Pick the best model for your concept + budget

The graph brain & meta

ToolWhat it does
creative_patterns(model)Community top patterns for this model from the graph
community_benchmark(prompt, model)Compare your prompt against community top scorers
prompt_neighbors(prompt, model)Find A/B-grade prompts that share your patterns (score the prompt first, so its patterns are in the graph)
analyze_intent(prompt)Parse dimensions: camera, motion, lighting, style, mood, gaps
my_story()Your scoring history, model stats, grade distribution
list_generators()All supported models with medium and core strength
dali_version()Server version + changelog

Supported models

Video

ModelPlatformsBest forPrompt style
veo3Higgsfield, Google AI Studio (veo-3.1-generate-preview), RunwayCinematic brand films, narrative ads, photorealistic motionCamera move β†’ Subject β†’ Action β†’ Location β†’ Lighting β†’ Mood
seedanceHiggsfield, fal.ai (bytedance/seedance-2.0)UGC, social-native content, TikTok/Reels performance adsNatural language, motion-first, authentic feel
klingHiggsfield (kling3), Kling.ai (kling-v3-text-to-video)Character animation, product showcases, facial performanceScene β†’ Characters β†’ Action β†’ Camera β†’ Style; multi-shot labels
runwayRunway (gen4_turbo)VFX, character performance, cinematic motionMotion-first β€” describe what moves, not what exists
wanfal.ai (fal-ai/wan/v2.7/text-to-video)4K, 20-second clips, native audio, open-source workflowsScene β†’ Motion β†’ Sound β†’ Duration β†’ Mood
minimaxfal.ai (fal-ai/minimax/hailuo-02/pro/text-to-video)Cinematic storytelling, character animationNatural language + [camera movement] bracket syntax
higgsfieldHiggsfield (native model)Physics-driven motion β€” cloth, hair, fluid, particlesDescribe materials in motion, not motion abstractly

Sora 2 (OpenAI): API shutdown September 24, 2026. Do not build new dependencies on it β€” use Runway or Kling instead.

Image

ModelPlatformsBest forPrompt style
fluxBFL API (flux-pro-v1.1), fal.ai, ReplicatePhotorealism, technical photography, product shots30–80 words; camera body + lens specs; front-load subject
midjourneyMidjourney (v8.1)Artistic depth, editorial, stylized illustrationProse + params appended: --ar 16:9 --s 300 --v 8.1 --style raw
ideogramIdeogram API (V_4), fal.aiTypography, logos, text-in-image, graphic designDescribe text exactly in quotes inside the prompt
fireflyAdobe Firefly 5 (enterprise)IP-indemnified commercial assets, 4MP brand contentNatural language + contentClass and style.presets API params

Imagen 4 (Google): deprecated β€” use gemini-3.5-flash with image output. Dali still scores legacy Imagen prompts via the imagen model key but don't build new things on it.


Platform supersets

Higgsfield and Runway are aggregator platforms β€” they proxy multiple underlying models under one API. The model you pick matters more than the platform name:

PlatformModel selectorUnderlying model
Higgsfieldveo3Google Veo 3.1
HiggsfieldseedanceByteDance Seedance 2.0
Higgsfieldkling3Kling 3
Higgsfieldwan2-7Wan 2.7
Higgsfieldimage2videoHiggsfield native
Runwayveo3Google Veo 3.1
Runwaygen4_turboRunway Gen 4.5
RunwayseedanceByteDance Seedance 2.0

Dali scores for the underlying model's native prompt language, not the platform wrapper. Pass the model name (veo3, kling, seedance…), not the platform name.


Why model-specific?

Generic prompt optimizers don't know that:

  • Veo 3.1 needs camera movement specified above everything else
  • Kling 3 supports multi-shot scene labels natively in the prompt
  • Flux responds to camera body and lens names like a photographer ("Sony A7 IV, 85mm f/1.4")
  • Midjourney V8.1 reads prose + parameters, not keyword lists
  • Higgsfield simulates physics β€” you describe materials in motion, not motion abstractly
  • Minimax uses [Pan left] bracket syntax for camera moves β€” plain text camera commands are ignored
  • Ideogram V4 needs text quoted exactly in the prompt for typography accuracy
  • Wan 2.7 generates native audio β€” include sound descriptions alongside visuals

Dali has a separate scoring rubric and rewrite brief for each model. Your LLM does the creative rewriting β€” Dali provides the intelligence.


MCP resources

creative://guide/veo3       β†’ Veo 3.1 camera language guide
creative://guide/seedance   β†’ Seedance UGC motion guide
creative://guide/kling      β†’ Kling multi-shot + expression guide
creative://guide/runway     β†’ Runway motion-first guide
creative://guide/wan        β†’ Wan 2.7 audio + motion guide
creative://guide/minimax    β†’ Minimax bracket camera guide
creative://guide/higgsfield β†’ Higgsfield physics-motion guide
creative://guide/sora       β†’ Sora 2 guide (API shutdown Sep 24, 2026)
creative://guide/flux       β†’ Flux photography brief guide
creative://guide/midjourney β†’ Midjourney V8.1 + parameters guide
creative://guide/ideogram   β†’ Ideogram V4 typography guide
creative://guide/firefly    β†’ Firefly 5 commercial content guide
creative://guide/imagen     β†’ Imagen 4 guide (deprecated Aug 17, 2026)
creative://models           β†’ All models overview

Contributing

Model guides live in dali/data/guides/{model}.json on the hosted server. Found practitioner patterns that consistently produce high-grade results? Open an issue with the model, the pattern, and a sample prompt + result. The best contributions come from Reddit, Discord, and YouTube β€” real practitioners, not official docs.

β†’ Prompt best practices by model β€” cheat sheets, do/don't tables, top patterns per model β†’ Dali creative flow skill β€” install this skill so your LLM follows the score β†’ enhance β†’ generate workflow automatically


MIT License Β· Built by Lulu Β· dali.getlulu.dev

Related MCP Servers

06ketan/slideshot

πŸ“‡ 🏠 🍎 πŸͺŸ 🐧 - Convert HTML to PDF/PNG/WebP/PPTX slide carousels with 11 themes (LinkedIn, Instagram, pitch decks, infographics). Pixel-perfect Puppeteer rendering, dimension-aware reflow for portrait/landscape, token-efficient JSON mode. npx slideshot-mcp.

πŸŽ₯ Multimedia Process0 views
1000ri-jp/atsurae

🐍 ☁️ 🍎 πŸͺŸ 🐧 - AI-powered video editing MCP server with 10 tools for timeline editing, 5-layer compositing, semantic operations, and FFmpeg rendering (1920x1080, 30fps H.264+AAC).

πŸŽ₯ Multimedia Process0 views
a-y-ibrahim/after-effects-mcp

πŸ“‡ 🏠 🍎 πŸͺŸ - Control Adobe After Effects from any MCP client: arbitrary ExtendScript, background rendering, deep comp/layer inspection, and first-class Arabic/RTL & multilingual support (works on AE in any UI language). 47 tools.

πŸŽ₯ Multimedia Process0 views
AceDataCloud/MCPSuno

🐍 ☁️ - Suno AI music generation, lyrics, covers, and vocal extraction via Ace Data Cloud API.

πŸŽ₯ Multimedia Process0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it β†’
β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.