Leonardo AI MCP Server
@nikolausm
About Leonardo AI MCP Server
MCP server for Leonardo AI API - Free daily credits for AI image generation
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"leonardo-ai": {
"command": "node",
"args": [
"/path/to/leonardo-ai-mcp-server/index.js"
],
"env": {
"LEONARDO_API_KEY": ""
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Leonardo AI MCP Server?
A Model Context Protocol server that provides access to Leonardo AI’s image generation API, offering 150 free image credits per day. It enables AI image generation directly from MCP-compatible clients like Claude Desktop.
How to use Leonardo AI MCP Server?
Clone the repository, install dependencies with npm install, set the LEONARDO_API_KEY environment variable, then add the server to your Claude Desktop configuration. Use tools like generate_image, check_credits, and list_models to create images, monitor credits, or browse available models.
Key features of Leonardo AI MCP Server
- Generate high-quality images using various AI models
- 150 free credits daily (resets at midnight UTC)
- Support for multiple art styles and models
- Batch generation (1–4 images at once)
- Save images locally or get URLs
- Check remaining credits
Use cases of Leonardo AI MCP Server
- Create children’s book illustrations with soft pastel colors
- Design educational posters with infographic-style layouts
- Generate anime or cartoon-style artwork
- Produce fantasy or dreamlike images using DreamShaper v7
- Rapidly prototype visual concepts for creative projects
FAQ from Leonardo AI MCP Server
How do I get an API key?
Sign up at https://leonardo.ai (free), go to API settings, generate an API key, and set it as the LEONARDO_API_KEY environment variable.
How many free credits do I get?
150 credits daily, resetting at midnight UTC. Each image costs about 2 credits, giving roughly 75 images per day for free.
Which models are available?
Leonardo Diffusion XL, Leonardo Vision XL, Leonardo Anime XL, DreamShaper v7, and Realistic Vision v5.
Can I generate multiple images at once?
Yes. Use the num_images parameter to request 1–4 images in a single call.
How do I check my remaining credits?
Call the check_credits function. It returns the current credit balance.
More Other MCP servers

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
Awesome Mlops
visengerA curated list of references for MLOps

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.
Comments