Replicate MCP Server

Official

Thousands of open models on tap — run image, video and audio generation through Replicate's hosted API.

Local + remotestdiostreamable-httpTypeScriptApache-2.0 300

What is the Replicate MCP server?

Replicate hosts thousands of open-source models behind one billing relationship and one API — Flux and SDXL for images, video generators, whisper variants, upscalers, background removers and a long tail of research models. Its MCP server (available hosted at mcp.replicate.com with OAuth) hands your assistant that entire catalogue.

The shape of the workflow: describe what you want, let the assistant pick an appropriate model (or name one), run the prediction, and get the output — then iterate on prompt or parameters in conversation. "Generate a hero image of a mountain lake at dawn, photorealistic" runs Flux; "now make it more cinematic and upscale it" chains a second model onto the first's output. Model chaining through conversation is the quiet superpower: transcribe with one model, summarise with another, illustrate with a third.

Because the assistant can search the catalogue, discovery is included — "what's the best current model for restoring old photos?" returns live candidates with their capabilities, not a stale blog post's opinion. Predictions bill per-run through your Replicate account, typically cents for images; check pricing before video work, which runs hotter.

Against ElevenLabs (audio specialist) and native image tools: Replicate's edge is breadth and openness — when you want a specific open model or the latest research checkpoint, this is where it's runnable without owning a GPU.

Cost and model selection

Replicate bills by the second of hardware time, so which model gets picked matters more than how the prompt is worded.

  • Call get_model before the first run of anything unfamiliar. It returns the input schema and hardware tier, which is how you avoid learning a video model's per-run cost from the invoice.
  • Predictions are asynchronous: create_prediction returns straight away and get_prediction polls for the result. Rarely-used models cold-start, which can add tens of seconds before any real work happens.
  • Pin the version hash when an output is worth reproducing. A bare owner/model reference follows the latest push, and results drift quietly when the maintainer retrains.
  • Set a spend limit on your Replicate account before pointing an agent at the catalogue — it is the only hard stop between an enthusiastic iteration loop and a memorable bill.

What you can do with it

Image generation with model choice

Flux, SDXL and specialist models — picked per task, iterated in conversation.

Media pipelines

Chain transcription, generation and upscaling models without writing glue code.

Model discovery

Find the current best open model for a niche task from the live catalogue.

Available tools

ToolWhat it does
search_modelsFind models in the catalogue by capability
get_modelRead a model's inputs, outputs and pricing
create_predictionRun a model with given inputs
get_predictionCheck status and fetch outputs

How to install the Replicate MCP server

claude mcp add --transport http replicate https://mcp.replicate.com

Configuration

A Replicate account; predictions bill per run (images typically cents). OAuth for remote, API token for local.

VariableDescriptionRequired
REPLICATE_API_TOKENAPI token for local mode (remote uses OAuth)e.g. r8_...Optional

Example prompts to try

  • Generate three logo concepts for a coffee brand using a current Flux model.
  • What's the best model for removing backgrounds? Run it on this product photo.
  • Upscale this image 4x and then apply a film-grain style transfer.

Frequently asked questions

Per-prediction, per-model pricing billed to your Replicate account — most image generations are single-digit cents, video considerably more. The get_model tool surfaces pricing before you run.