Civitai logo

Civitai

Search, inspect, and rank Civitai image-generation models through MCP tools over HTTP or local stdio.

Install Civitai

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "civitai": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-civitai"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly (Today).

Overview

Civitai MCP server connects AI clients to Civitai's catalog of community image-generation models. Its three tools search models, retrieve detailed records by ID, and rank models by type with optional base-model filtering. The gateway endpoint adds shared Pipeworx tools, while the standalone package exposes only the Civitai tools over local stdio. Reach for it when an agent needs model metadata, trigger words, version files, or download-based discovery without manually browsing Civitai.

Use cases

  • Search for image-generation checkpoints by prompt or model type
  • Inspect model versions, trigger words, and downloadable files
  • Find popular LoRAs for a specific base model
  • Compare creators, ratings, and download statistics

Key features

  • Text and type-based model search
  • Detailed model and version lookup
  • Popularity-ranked browsing by model type
  • Base-model filtering for discovery
  • Safe-For-Work defaults with NSFW status exposure

Tools3

What Civitai lets your agent do. Expand a tool for its parameters.

Verified live~638 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

9/9 checks healthy over the last 56d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age144 days
Maintainers1

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @pipeworx/mcp-civitai (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads5.6kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.

How Civitai works

What Civitai does

Civitai MCP server exposes catalog lookup for community models used in AI image generation. It covers Stable Diffusion checkpoints, LoRAs, textual-inversion embeddings, and ControlNets. Agents can search by text and model type, inspect one model in depth, or browse popular models within a type.

Returned information includes creators, tags, download and rating statistics, base-model families such as SDXL, Pony, Flux, and SD 1.5, plus trained trigger words. Detailed model lookups also include descriptions, all available versions, version-specific trigger words, and downloadable files. The tools default to Safe-For-Work results, and model details expose the NSFW state through an nsfw flag.

How it works

The hosted MCP endpoint is available at https://gateway.pipeworx.io/civitai/mcp. It lists the Civitai tools together with shared Pipeworx meta-tools, so the tool list is larger than the three catalog tools described here. The gateway's ask_pipeworx tool can route natural-language questions across Pipeworx's wider catalog, including from the Civitai endpoint.

A full Pipeworx connection at https://gateway.pipeworx.io/mcp provides direct access to every pack. Both hosted URLs use the same gateway and data sources; they differ in which pack's tools are listed directly.

For a focused local connection, the @pipeworx/mcp-civitai package communicates over stdin and stdout. The standalone process handles MCP initialization, tool discovery, and tool calls for the Civitai pack without the gateway's shared meta-tools or routing layer.

The tools can also be called over HTTP without an MCP client. For example, the hosted tool endpoint accepts a JSON POST for civitai_search_models, and tool inspection is available through the corresponding /v1/tools/ endpoint.

Setup and configuration

Add the hosted endpoint to an MCP client with a server entry such as:

config.json
{
  "mcpServers": {
    "civitai": {
      "url": "https://gateway.pipeworx.io/civitai/mcp"
    }
  }
}

For a local, account-free stdio process, configure the package through npx:

config.json
{
  "mcpServers": {
    "civitai": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-civitai"]
    }
  }
}

The package can also be started directly with npx -y @pipeworx/mcp-civitai. No environment variables are required for the documented hosted or standalone configurations, and the gateway's first calls do not require an account.

Tools and capabilities

  • search_models finds catalog entries using a text query, model type, or both. Results can include download statistics, creator details, base-model information, and trigger words. Results default to Safe-For-Work content.
  • get_model retrieves a model by numeric ID, including its description, type, creator, tags, ratings, downloads, versions, base models, trigger words, and downloadable files. The example ID 4201 refers to the “Realistic Vision V6.0 B1” checkpoint.
  • list_by_type returns top models for a selected type in most-downloaded order. An optional base-model filter supports queries such as SDXL checkpoints or Flux LoRAs.

Limitations and notes

This is an independent, unofficial Civitai integration and is not affiliated with, endorsed by, or published by Civitai. The hosted pack endpoint includes Pipeworx meta-tools in addition to the Civitai-specific tools. The local package does not include those shared tools. Safe-For-Work filtering is the default behavior for the catalog tools, so clients should account for the exposed nsfw field when handling model details.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Civitai

Civitai is an MCP server that connects AI clients to Civitai's community image-generation model catalog. Its main tools search models, retrieve full model records by ID, and list popular models by type with optional base-model filtering. Results include creators, versions, trigger words, statistics, and downloadable files.

Install it by adding the hosted MCP URL or running the standalone npm package with `npx`. Use `https://gateway.pipeworx.io/civitai/mcp` for the hosted gateway, or configure `@pipeworx/mcp-civitai` as a local stdio command with the `-y` flag.

Yes, Civitai works with Cursor through the hosted MCP endpoint. Add `https://gateway.pipeworx.io/civitai/mcp` as an MCP server, or use the standalone stdio configuration with `npx -y @pipeworx/mcp-civitai`.

Yes, the hosted tools can be called over HTTP. Send JSON POST requests to the relevant `/v1/tools/` endpoint, such as `civitai_search_models`, and inspect a tool with its corresponding GET endpoint.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCivitai AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/civitai?style=directory)](https://allmcps.com/mcp/civitai)
HTML Embed
<a href="https://allmcps.com/mcp/civitai"><img src="https://allmcps.com/api/badge/civitai?style=directory" alt="Civitai on AllMCPs" /></a>