mcpbeat Sign in

Civitai Skill for Claude

Discover Civitai models with the BUILT-IN search_civitai_models tool and install/generate them locally — find a checkpoint/LoRA/embedding on Civitai, download it into ComfyUI, and use its trigger words. Optionally pair the official Civitai MCP for community features (images browsing, posting, collections).

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
481
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/artokun/comfyui-mcp --skill civitai

The instruction itself

5 sections, as written by the author

Civitai + comfyui-mcp

comfyui-mcp has native Civitai search built insearch_civitai_models

plus the local half of the loop: download, wire, queue, tag. The full flow

(find → install → generate) needs no other server, no API key, and works on

EVERY backend, including small local models behind the compact router.

The built-in flow (default path)

search_civitai_models({ query, types: ["LORA"], base_models: ["Flux.1 D"] })
        │                    each hit: model_id · model_version_id · trigger words
        ▼
download_civitai_model({ model_version_id, target_subfolder: "loras" })
        │
        ▼
list_local_models  →  panel_add_node loader / generate_image   # use it
  • ALWAYS filter base_models when the user's checkpoint family is known —

a Flux LoRA will not load on an SDXL checkpoint (see model-compatibility).

CivitAI labels: Flux.1 D, SDXL 1.0, SD 1.5, Pony, Illustrious,

Wan Video.

  • target_subfolder must match the model type: checkpoints, loras, vae,

controlnet, embeddings, upscale_models, …

  • Results are SFW-only by default (nsfw: true to opt in).
  • Each hit carries trigger words — put them in the prompt after installing.
  • Prefer model_version_id over model_id — a Civitai page can list several

versions and the user usually means a specific one.

API key (optional). Search needs none. CIVITAI_API_TOKEN (from

civitai.com/user/account) unlocks gated/early-access downloads and gated

search results — set it once (panel Settings › "Set CivitAI token…" or env).

Recipes

"Find me a good anime LoRA for Flux and install it"

  • search_civitai_models({ query: "anime style", types: ["LORA"], base_models: ["Flux.1 D"] }).
  • Present the top 3–5 with name, creator, base model, downloads, and the

version id. Let the user pick.

  • download_civitai_model({ model_version_id, target_subfolder: "loras" }).
  • In the panel: panel_add_node a LoraLoader, panel_set_widget the

lora_name, wire it between checkpoint and sampler — and use the hit's

trigger words in the prompt. Headless: generate_image / build the workflow.

"Download this Civitai page for me" (user pastes a URL)

  • Parse the modelVersionId from the URL if present; otherwise pass the model

id from the URL to download_civitai_model (it resolves the latest version).

A raw civitai.com/api/download/... URL also works via download_model

with CIVITAI_API_TOKEN set.

Optional: the official Civitai MCP (community surface)

For features beyond search→install — browsing example images and their

generation params, collections, posting, reviews, bounties — pair the official

remote server (no longer auto-bundled; add it once):

claude mcp add --transport http civitai https://mcp.civitai.com/mcp \
  --header "Authorization: Bearer YOUR_CIVITAI_API_KEY"

Then mcp__civitai__* tools appear alongside comfyui-mcp's. Its discovery

results hand off identically (modelVersions[].iddownload_civitai_model).

Boundaries: that server also exposes write/social tools (post,

comment, review, DM, follow). Those publish on the user's behalf — surface

what you're about to post and get an explicit yes first. This skill is about

discovery → local install → generation; don't post or message without being

asked.

See also

  • model-registry — curated direct download URLs (HF + Civitai notes)
  • model-compatibility — base-model / VAE / CLIP pairing (why a LoRA won't load)
  • prompt-engineering — Civitai image params are a prompt goldmine

Other skills for the same job

different authors, same section of the catalogue
Histolab
by christophacham
×3

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

18k tokens
Omero Integration
by christophacham
×3

Microscopy data management platform. Access images via Python, retrieve datasets, analyze pixels, manage ROIs/annotations, batch processing, for high-content screening and microscopy workflows.

32k tokens
Transformers
by christophacham
×3

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.

13k tokens
Transformers
by ComeOnOliver
×3

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.

29k tokens
Histolab
by ComeOnOliver
×2

Digital pathology image processing toolkit for whole slide images (WSI). Use this skill when working with histopathology slides, processing H&E or IHC stained tissue images, extracting tiles from gigapixel pathology images, detecting tissue regions, segmenting tissue masks, or preparing datasets for computational pathology deep learning pipelines. Applies to WSI formats (SVS, TIFF, NDPI), tile-based analysis, and histological image preprocessing workflows.

30k tokens
Omero Integration
by ComeOnOliver
×2

Microscopy data management platform. Access images via Python, retrieve datasets, analyze pixels, manage ROIs/annotations, batch processing, for high-content screening and microscopy workflows.

51k tokens
Pathml
by ComeOnOliver
×2

Computational pathology toolkit for analyzing whole-slide images (WSI) and multiparametric imaging data. Use this skill when working with histopathology slides, H&E stained images, multiplex immunofluorescence (CODEX, Vectra), spatial proteomics, nucleus detection/segmentation, tissue graph construction, or training ML models on pathology data. Supports 160+ slide formats including Aperio SVS, NDPI, DICOM, OME-TIFF for digital pathology workflows.

31k tokens
Histolab
by K-Dense-AI
×1

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing, tissue detection, tile extraction, and stain normalization for H&E images. Best for simple pipelines, dataset preparation, and quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

19k tokens

How to use it

Copy the folder

Take artokun/civitai from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.