Open source · MCP-ready · free
Illustrations your agent can draw.
1,628 hand-inked drawings and an engine that turns a few lines of JSON into covers, 3D icons, little isometric worlds and charts. No image model, no API key.
MIT code · CC BY 4.0 drawings · Claude, Codex, Cursor · Browse 1,628 drawings
1628 drawings, 3409 variants, 15 shelves: tech, money, food, health, people, film, nature and more. Open the library
Your colours, every drawing.
A scene names its inks once. Switch them and the whole library follows: every prop, panel and texture. Riso is the house look, miniature the first style pack, and your brand is one line of JSON.
{ "style": "riso", "elements": [ … ] }Write a scene. Read the critic. Ship the cover.
scene.json
{
"seed": 5,
"clip": [60, 52, 1080, 569],
"elements": [
{ "type": "panel",
"color": "blue",
"x": 60, "y": 52,
"w": 1080, "h": 569 },
{ "type": "sunburst",
"color": "mustard",
"x": 780, "y": 300,
"size": 420 },
{ "type": "prop",
"name": "rocket",
"x": 780, "y": 300,
"size": 380, "rot": 20,
"shadow": true },
{ "type": "crowd",
"highlight": "coral",
"x": 90, "y": 560,
"w": 520, "rows": 2 },
{ "type": "label",
"text": "Launch / Space",
"x": 100, "y": 104,
"color": "paper" }
]
}
$ npx levni render scene.json \
cover.webp
- critic: no layout problems found- Place drawings on a 1200 × 673 canvas: props, panels, textures, crowds, small isometric rooms.
- Render. Every line is inked, the plates misregister, the paper gets grain. Same seed, same picture.
- Fix what the critic reports: off-canvas, accidental crops, lopsided weight, no focal point. Then ship PNG, SVG or WebP.
About 500 covers, one hand.
Ortak Alan draws every article image with Levni. A few of them. How they keep one style · The full gallery







Give your agent an illustrator.
One MCP server, five tools (three more for Ghost). The agent searches the library, writes the scene, reads the critic and saves the file, without a person in the loop until the picture is right.
list_props- search the library by word, tag or shelf
show_props- a contact sheet of drawings and their variants
render_scene- draw a scene, return a preview and the critic’s notes
critique_scene- only the notes, for quick iterations
scene_guide- every element type, colour and style pack
claude mcp add levni -- npx -y github:BoraGkc/levni mcp{
"mcpServers": {
"levni": {
"command": "npx",
"args": ["-y", "github:BoraGkc/levni", "mcp"]
}
}
}{
"mcpServers": {
"levni": {
"command": "npx",
"args": ["-y", "github:BoraGkc/levni", "mcp"]
}
}
}{
"servers": {
"levni": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:BoraGkc/levni", "mcp"]
}
}
}npm install github:BoraGkc/levni
npx levni list cat
npx levni render scene.json cover.pngThen ask: “Illustrate this article with Levni and fix what the critic reports.”
Guides
Open, and growing every week.
The code is MIT. The drawings are CC BY 4.0: use them anywhere, commercially too, with credit “drawings by Ortak Alan”. Missing an object? Draw it as one JSON file of paths, check it with npx levni check and open a pull request.
Questions
What is Levni?
An open illustration library (1628 hand-inked drawings and growing) and the open-source engine that composes them into covers, spot illustrations, icons and social images, in one consistent style. It runs on Node with sharp; there is no image model and no API key.
Can I use the drawings on their own?
Yes. Browse the Library, pick a drawing and place it in a scene by name. The drawings are CC BY 4.0: free for commercial work with credit “drawings by Ortak Alan”.
How do AI agents use it?
An agent writes the scene JSON, renders it, and reads the layout critic’s notes (off-canvas elements, accidental crops, lopsided weight, no focal point) before a person looks. Because it is JSON in and image out, it maps directly onto an MCP tool.
What does it cost?
Nothing per image. Levni is MIT-licensed code that runs on your own machine or in CI. The Levni Folio drawings are CC BY 4.0: credit “drawings by Ortak Alan”.
Can it draw in my brand colours?
Yes. Set "style" to a map of your own inks, for example { "blue": "#6A1B9A", "mustard": "#00BFA5" }, and every drawing, panel and texture follows. Riso and miniature are the two built-in packs.
Is there an MCP server?
Yes: run npx levni mcp. It gives assistants five tools: the scene guide, library search, a contact sheet of props, render with preview, and the critic. Agents without MCP use the same engine through the CLI.



















































