TC

timoncool/civitai-mcp-ultimate

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

26 stars 7 forks 품질 84 트렌드 20MIT

Civitai API 용 궁극적 인 MCP 서버 - 검색 모델, 프롬프트와 상단 이미지를 검색, LoRAs / 체크 포인트를 다운로드, 동향 분석. 한국어 (EN/RU). 파이썬 + FastMCP.

개요

모든 AI 조수. Civitai 공개 REST API v1의 100 %를 덮는 14 도구. 2026-03-24에 실제 Civitai API에 대해 확인 된 모든 API 매개 변수. 추측, 깨진 구현에서 복사 없음. - — 빠르고 정확한 텍스트 검색 (Civitai REST API 검색은 5 월 2025) 이후 깨집니다 - 체크포인트, LoRAs, 40 + 기본 모델 필터와 ControlNets (SD 1.5 → Flux.2) - - - - 반응, 의견, 수집 정렬. 전체 세대 패러ms 받기 - — auth, ComfyUI 경로 자동 매핑과 함께 컬/PowerShell 명령 - - API 키 (None/Soft/Mature/X 필터링)와 전체 NSFW 액세스 - - - - 자동 다운로드 미리보기 ~/.civitai-mcp-cache/, 24h 자동 세척 - - - 영어 및 러시아어 (CIVITAI MCP LANG=ru) - - HTTPx async, 클라이언트 재시동률 100% 공개 SD 1.5, SD 1.5 LCM, SD 1.5 하이퍼, SD 2.0, SD 2.1, SDXL 1.0, SDXL 번개, SDXL 하이퍼, Flux.1 S, Flux.1 D, Flux.1 Krea, Flux.1 Kontext, Flux.2 D, 플럭스.

개요(AI 번역)

** Civitai API의 가장 완벽한 MCP 서버 - 검색 모델, 검색 이미지와 프롬프트, 다운로드 LoRAs/Checkpoints, 분석 동향.**

모든 AI 조수. Civitai 공개 REST API v1의 100 %를 덮는 14 도구.

2026-03-24에 진짜 Civitai API에 대하여 확인되는 모든 API 모수. 추측, 깨진 구현에서 복사 없음.


특징

  • Meilisearch-powered search - 빠르고 정확한 텍스트 검색 (Civitai REST API 검색은 5 월 2025) 이후 깨집니다.
  • 검색 모델 — Checkpoints, LoRAs, ControlNets with 40+ 기본 모델 필터 (SD 1.5 → Flux.2) -Top images with prompts - 반응, 의견, 수집에 의해 정렬. 전체 세대 params
  • ** 명령 다운로드 ** - auth, ComfyUI 경로 자동 매핑과 컬/PowerShell 명령
  • ** NSFW 지원** - API 키 (None/Soft/Mature/X 필터링)로 전체 NSFW 액세스 -Image/video cache - 자동 다운로드 미리보기 ~/.civitai-mcp-cache/, 24시간 자동 청소
  • ** 다국어 출력 ** - 영어 및 러시아어 (CIVITAI_MCP_LANG=ru)
  • Async & fast - HTTPx async 클라이언트, 속도 제한에 백오프와 재시동
  • **14 도구 ** Civitai 공개 REST API v1의 100 % 커버

빠른 시작

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

All from your AI assistant. 14 tools covering 100% of the Civitai public REST API v1.

All API parameters verified against real Civitai API on 2026-03-24. No guessing, no copying from broken implementations.


Features

  • Meilisearch-powered search — fast, accurate text search (Civitai REST API search is broken since May 2025)
  • Search models — Checkpoints, LoRAs, ControlNets with 40+ base model filters (SD 1.5 → Flux.2)
  • Top images with prompts — sort by reactions, comments, collections. Get full generation params
  • Download commands — curl/PowerShell commands with auth, ComfyUI path auto-mapping
  • NSFW support — full NSFW access with API key (None/Soft/Mature/X filtering)
  • Image/video cache — auto-download previews to ~/.civitai-mcp-cache/, 24h auto-cleanup
  • Bilingual output — English and Russian (CIVITAI_MCP_LANG=ru)
  • Async & fast — httpx async client, retry with backoff on rate limits
  • 14 tools covering 100% of the Civitai public REST API v1

Quick Start

Install from PyPI

pip install civitai-mcp-ultimate

Claude Code

claude mcp add civitai -e CIVITAI_API_KEY=your_key_here -- uvx civitai-mcp-ultimate

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "civitai": {
      "command": "uvx",
      "args": ["civitai-mcp-ultimate"],
      "env": {
        "CIVITAI_API_KEY": "your_key_here"
      }
    }
  }
}

pip

pip install civitai-mcp-ultimate
civitai-mcp-ultimate

Tools

Models (6 tools)

Tool Description
search_models Search via Meilisearch (text) or REST API (filters). Type, base model, tag, creator, sort
get_model Full model details by ID
get_model_version Version details: files, trigger words, download URLs
get_model_version_by_hash Find model by file hash
get_top_checkpoints Top checkpoints by base model (SDXL, Flux, Pony…)
get_top_loras Top LoRAs by base model

Images (4 tools)

Tool Description
browse_images Browse images with filters and sorting
get_top_images Top images by reactions/comments/collections
GitHub에서 전체 README 보기

설치

uvx civitai-mcp-ultimate
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "civitai": { "command": "uvx", "args": ["civitai-mcp-ultimate"], "env": { "CIVITAI_API_KEY": "your_key_here" } } } }