Skip to main content
Glama

Civitai MCP Server

search_models

Search and filter AI models on Civitai by name, type, base model, or sorting criteria to discover specific models efficiently. Manage results with pagination and limit options.

Instructions

Search for AI models on Civitai with various filters

Input Schema

NameRequiredDescriptionDefault
baseModelsNoFilter by base model types (e.g., ["SD 1.5", "SDXL 1.0"])
limitNoNumber of results (1-100, default 20)
nsfwNoInclude NSFW content
pageNoPage number for pagination
periodNoTime period for sorting
queryNoSearch query to filter models by name
sortNoSort order for results
typesNoFilter by model types

Input Schema (JSON Schema)

{ "properties": { "baseModels": { "description": "Filter by base model types (e.g., [\"SD 1.5\", \"SDXL 1.0\"])", "items": { "type": "string" }, "type": "array" }, "limit": { "description": "Number of results (1-100, default 20)", "maximum": 100, "minimum": 1, "type": "number" }, "nsfw": { "description": "Include NSFW content", "type": "boolean" }, "page": { "description": "Page number for pagination", "minimum": 1, "type": "number" }, "period": { "description": "Time period for sorting", "enum": [ "AllTime", "Year", "Month", "Week", "Day" ], "type": "string" }, "query": { "description": "Search query to filter models by name", "type": "string" }, "sort": { "description": "Sort order for results", "enum": [ "Highest Rated", "Most Downloaded", "Newest" ], "type": "string" }, "types": { "description": "Filter by model types", "items": { "enum": [ "Checkpoint", "TextualInversion", "Hypernetwork", "AestheticGradient", "LORA", "Controlnet", "Poses" ], "type": "string" }, "type": "array" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cicatriiz/civitai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server