nano-gpt-mcp
Provides access to Google's Gemini models for text chat through the NanoGPT gateway.
Provides access to Meta's Llama models for text chat through the NanoGPT gateway.
Provides access to OpenAI's GPT and o-series models for text chat, image generation (e.g., GPT Image 1.5), and video generation (e.g., Sora 2) through the NanoGPT gateway.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nano-gpt-mcpAsk gpt-4o to explain quantum computing in simple terms."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
nano-gpt-mcp
An MCP (Model Context Protocol) server for NanoGPT — giving you access to 700+ AI models for text, image, video, and audio generation directly from Claude Code or any MCP-compatible client.
What is NanoGPT?
NanoGPT is a pay-as-you-go AI gateway that provides access to models from OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, and many more — all through a single API key. No subscriptions required.
Related MCP server: Muapi
Features
Tool | Description |
| Chat with 700+ text models (GPT, Claude, Gemini, Llama, DeepSeek, Qwen, Mistral, etc.) |
| Generate images (GPT Image 1.5, Flux, Stable Diffusion, Recraft, HiDream, etc.) |
| Generate videos (Kling, Sora 2, Veo 3, Wan, MiniMax, etc.) |
| Browse available models by type (text/image/video/audio) with pricing |
| Check your account balance |
All responses include cost and remaining balance.
Setup
1. Get a NanoGPT API Key
Sign up at nano-gpt.com and get your API key from the dashboard.
2. Install
git clone https://github.com/mageaustralia/nano-gpt-mcp.git
cd nano-gpt-mcp
npm install3. Configure Claude Code
Add to your ~/.claude/settings.json to make it available globally (all projects):
{
"mcpServers": {
"nano-gpt": {
"command": "node",
"args": ["/path/to/nano-gpt-mcp/server.mjs"],
"env": {
"NANO_GPT_API_KEY": "your-api-key-here"
}
}
}
}Or add to a project-specific .claude/settings.json for per-project use.
4. Restart Claude Code
The MCP server will be available after restarting Claude Code.
Usage Examples
Chat with any model
"Use nano_chat to ask GPT-4o what the best sorting algorithm is for nearly-sorted data"
"Ask DeepSeek R1 to solve this math problem using nano_chat"
"Use nano_chat with google/gemini-2.5-flash to review this code snippet"
Generate images
"Use nano_generate_image with hidream-i1-fast to create a product photo of a laptop on a white background"
"Generate an image with gpt-image-1.5: a watercolor painting of a coastal town at sunset"
"Use nano-banana to generate a logo for a coffee shop called 'Bean There'"
Generate videos
"Use nano_generate_video with kling-v26-pro to create a 5-second video of ocean waves"
"Generate a video with wan-wavespeed-25: a timelapse of flowers blooming"
List models and pricing
"Use nano_list_models to show me all image models"
"List video models on nano-gpt"
"Search for 'llama' in nano-gpt text models"
Check balance
"Check my nano-gpt balance"
Available Models (highlights)
Text (700+)
openai/gpt-4o,openai/gpt-4o-mini,openai/o3,openai/o4-minianthropic/claude-sonnet-4-5-20250929,anthropic/claude-opus-4google/gemini-2.5-flash,google/gemini-2.5-prodeepseek/deepseek-r1,deepseek/deepseek-v3meta-llama/llama-3.3-70b,meta-llama/llama-4-maverickqwen/qwen3-235b,mistralai/mistral-large...and hundreds more
Image (30+)
gpt-image-1.5- OpenAI's latesthidream-i1-fast- Fast high-quality generationflux-1.1-pro- Black Forest Labsrecraft-v3- Design-focusedstable-diffusion-3.5-large- Stability AInano-banana- Budget-friendly
Video (20+)
kling-v26-pro- Text & image to video with audiosora-2- OpenAI video generationveo3-video- Google Veo 3wan-wavespeed-25- Fast generationminimax-hailuo-02-pro- High quality
How it works
The MCP server translates tool calls into NanoGPT API requests:
Chat: OpenAI-compatible
/v1/chat/completionsendpointImages:
/v1/images/generationsendpoint (returns URLs or base64)Videos:
/v1/video/generationsendpointModels:
/v1/models,/v1/image-models,/v1/video-models,/v1/audio-models
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Multi-model AI image and video generator. 14 models behind one OAuth-secured MCP endpoint.
Create images & video from any MCP agent — 17 models, spend limits, one URL.
Image, video, music and text generation across 100+ models through one endpoint.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceGenerate videos, images, audio, and 3D models from any MCP-compatible AI agent — Claude, Cursor, ChatGPT, and more.MIT- AlicenseNot gradedqualityBmaintenanceAccess 400+ generative AI models directly from your AI assistant — generate images (FLUX, Midjourney, GPT-4o), create videos (Veo3, Kling), make music (Suno), and enhance photos, all via a single MCP server.10MIT
- AlicenseAqualityBmaintenanceHosted multi-model AI media + chat MCP server. Generates images, video, audio, face-swaps and talking-avatars, and chats across 300+ models (Claude, GPT, Gemini, DeepSeek…) - all from one balance and one API key.16MIT

Createya MCP & APIofficial
AlicenseNot gradedqualityDmaintenanceEnables AI agents and developers to generate images, videos, audio, and text using 100+ models via MCP or REST with a single API key.4MIT