Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Provides access to 700+ AI models for text, image, video, and audio generation via the NanoGPT API, enabling direct use from Claude Code or any MCP-compatible client.

README.md

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.

Features

| Tool | Description | |------|-------------| | nano_chat | Chat with 700+ text models (GPT, Claude, Gemini, Llama, DeepSeek, Qwen, Mistral, etc.) | | nano_generate_image | Generate images (GPT Image 1.5, Flux, Stable Diffusion, Recraft, HiDream, etc.) | | nano_generate_video | Generate videos (Kling, Sora 2, Veo 3, Wan, MiniMax, etc.) | | nano_list_models | Browse available models by type (text/image/video/audio) with pricing | | nano_check_balance | 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 install

3. 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-mini
  • anthropic/claude-sonnet-4-5-20250929, anthropic/claude-opus-4
  • google/gemini-2.5-flash, google/gemini-2.5-pro
  • deepseek/deepseek-r1, deepseek/deepseek-v3
  • meta-llama/llama-3.3-70b, meta-llama/llama-4-maverick
  • qwen/qwen3-235b, mistralai/mistral-large
  • ...and hundreds more

Image (30+)

  • gpt-image-1.5 - OpenAI's latest
  • hidream-i1-fast - Fast high-quality generation
  • flux-1.1-pro - Black Forest Labs
  • recraft-v3 - Design-focused
  • stable-diffusion-3.5-large - Stability AI
  • nano-banana - Budget-friendly

Video (20+)

  • kling-v26-pro - Text & image to video with audio
  • sora-2 - OpenAI video generation
  • veo3-video - Google Veo 3
  • wan-wavespeed-25 - Fast generation
  • minimax-hailuo-02-pro - High quality

How it works

The MCP server translates tool calls into NanoGPT API requests:

  • Chat: OpenAI-compatible /v1/chat/completions endpoint
  • Images: /v1/images/generations endpoint (returns URLs or base64)
  • Videos: /v1/video/generations endpoint
  • Models: /v1/models, /v1/image-models, /v1/video-models, /v1/audio-models

License

MIT

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Developer Tools servers.