fal-mcp
Image generation for Claude using every model on fal.ai, inline in conversations. Supports FLUX Schnell, Ideogram, SDXL, and more with privacy option via Venice.ai.
README
fal-mcp
Image generation for Claude — every model fal.ai has, inline in your conversation.
ChatGPT has DALL-E built in. Claude doesn't — yet. This MCP server closes the gap, and then some: instead of one model, you get FLUX Schnell, FLUX Pro, Ideogram, Recraft, SDXL, and more. Privacy option via Venice.ai (prompts never logged).
You: generate an image of a red fox sitting in snow, golden hour
Claude: [image appears inline]
Install
git clone https://github.com/yourname/fal-mcp
cd fal-mcp
pip install -r requirements.txt
Get a fal.ai key at fal.ai — free tier available.
Add to Claude Code
claude mcp add fal-image python /full/path/to/fal-mcp/server.py --env FAL_KEY=your-key
Test it: start a new Claude Code session and say "generate an image of a moonlit forest".
Add to Claude Desktop
Edit claude_desktop_config.json (find it via Claude Desktop → Settings → Developer):
{
"mcpServers": {
"fal-image": {
"command": "python",
"args": ["/full/path/to/fal-mcp/server.py"],
"env": {
"FAL_KEY": "your-fal-key-here"
}
}
}
}
Restart Claude Desktop. A small plug icon appears when the MCP is active.
Smoke test (no Claude needed)
FAL_KEY=your-key python server.py --test "a red fox in snow"
# saves test-output.jpg in current directory
Models
| Key | Model | Best for |
|---|---|---|
flux-schnell |
FLUX Schnell | Fast generation, everyday use (default) |
flux-dev |
FLUX Dev | Higher quality, worth the wait |
flux-pro |
FLUX Pro | Best FLUX quality |
flux-realism |
FLUX Realism | Photorealistic images |
ideogram |
Ideogram v2 | Text inside images, logos, typography |
recraft |
Recraft v3 | Design, vector, illustration style |
sdxl |
Stable Diffusion XL | Classic, reliable |
sana |
Sana | Fast high-resolution |
Just ask Claude to use a specific model: "generate with recraft, a minimalist poster of..."
Privacy mode (Venice.ai)
Venice routes generation through decentralized GPUs and does not log prompts.
Add VENICE_KEY to your env — Claude will automatically route privacy-sensitive
requests through Venice when you ask for it.
(Venice support: coming in v1.1)
Usage examples
Once installed, just talk to Claude naturally:
- "Draw me a portrait of a Victorian octopus with a monocle"
- "Generate 4 variations of a logo concept: geometric mountain, minimal, dark background"
- "Make an image of Einstein riding a bicycle through Aarau, impressionist style"
- "What models are available?" → Claude lists them
- "Use flux-pro for the best quality version of..."
Cost
fal.ai bills per image. Rough guide:
- FLUX Schnell: ~$0.003/image
- FLUX Dev: ~$0.025/image
- FLUX Pro: ~$0.05/image
Free tier available at fal.ai. No subscription required.
Why not just use ChatGPT?
You're already using Claude. This gives you image generation without switching apps, with your choice of model instead of one locked option, and with the option to keep your prompts private.
License
Do with it what thou willst. (MIT)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.