Civitai

v0.2.1
io.github.pipeworx-io/civitai Checked 4 days ago Published 1 month ago

Civitai MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_models

Search Civitai's catalog of community AI image-generation models (Stable Diffusion checkpoints, LoRAs, textual-inversion embeddings, ControlNets) by text query and/or type. Returns download stats, base model (SDXL / Pony / Flux / SD 1.5), creator and trained trigger words. Defaults to Safe-For-Work (mature content excluded). Keyless.

ParameterTypeDescription
include_maturebooleanInclude mature/NSFW models. Default false (Safe-For-Work — sends nsfw=false to the API).
limitnumberNumber of results, 1-25. Default 10.
querystringText search over model names/descriptions, e.g. "realistic", "anime", "pixel art".
sortstringSort order: "Highest Rated", "Most Downloaded", or "Newest". Default "Most Downloaded".
typestringModel type filter. One of: Checkpoint, LORA, TextualInversion, LoCon, Controlnet.

get_model

Get full details for a single Civitai model by id — description, type, creator, tags, download/rating stats, and every version with its base model, trigger words and downloadable files. Try id 4201 ("Realistic Vision V6.0 B1", a SFW checkpoint). Defaults Safe-For-Work; nsfw flag is surfaced. Keyless.

ParameterTypeDescription
id *numberCivitai model id, e.g. 4201 (Realistic Vision), 133005 (Juggernaut XL).

list_by_type

Browse the top community models of a given type on Civitai (most-downloaded first), optionally filtered to a specific base model. Great for "best SDXL checkpoints" or "top Flux LoRAs". Defaults to Safe-For-Work (mature excluded). Keyless.

ParameterTypeDescription
type *stringModel type. One of: Checkpoint, LORA, TextualInversion, LoCon, Controlnet.
base_modelstringOptional base-model filter (client-side), e.g. "SDXL 1.0", "Flux.1 D", "Pony", "SD 1.5".
include_maturebooleanInclude mature/NSFW models. Default false (Safe-For-Work).
limitnumberNumber of results, 1-25. Default 15.