1. Conduid
  2. Communication
  3. Openrouter MCP Multimodal
MCP server · Communication

Openrouter MCP Multimodal

MCP server for OpenRouter — chat with 300+ LLMs (Claude, Gemini, GPT), analyze images / audio / video, generate images / speech / music / video (Veo 3.1, Seedance, Kling, Wan) from Claude Desktop, Cursor, Kiro, VS Code.

Unclaimed Apache-2.0 comms
75Good

Scored 4 hours ago · breakdown

About Openrouter MCP Multimodal

Openrouter MCP Multimodal is an MCP server published by stabgan in the Communication category: mCP server for OpenRouter — chat with 300+ LLMs (Claude, Gemini, GPT), analyze images / audio / video, generate images / speech / music / video (Veo 3.1, Seedance, Kling, Wan) from Claude Desktop, Cursor, Kiro, VS Code. Conduid read 21 tools from its source: analyze_audio, analyze_image, analyze_video, chat_completion, decide, embed_text and 15 more. It is published to npm as @stabgan/openrouter-mcp-multimodal and starts with npx.

The repository has 105 stars and 29 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v5.1.0 (11 Oct 2026): New Tools (21 total — complete OpenRouter modality coverage) | Tool | Endpoint | What it does | |------|----------|-------------| | embed_text | POST /api/v1/embeddings… It follows v5.0.1 (5 Sep 2026), and the 5 most recent releases go back to v4.7.0 (2 Sep 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include comms.

Install

Claude Code
claude mcp add openrouter-mcp-multimodal -- npx -y @stabgan/openrouter-mcp-multimodal
npx
npx -y @stabgan/openrouter-mcp-multimodal
From source
git clone https://github.com/stabgan/openrouter-mcp-multimodal

Tools (21)

analyze_audioTranscribe / analyze audio files
ParameterTypeDescription
audio_path *stringLocal file path (sandboxed), http(s) URL, or data URL (base64-encoded audio).
cache_inputboolean
modelstringMultimodal model ID (default: google/gemini-2.5-flash).
providerobjectProvider routing overrides (order, sort, allow_fallbacks, etc.).
questionstringQuestion or instruction. Default: "Please transcribe and analyze this audio file."
analyze_imageVision — local path, URL, or data URL + `question`
ParameterTypeDescription
cache_inputbooleanAttach `cache_control: ephemeral` to the image block for Anthropic / Gemini prompt caching.
image_path *stringLocal path (OPENROUTER_INPUT_DIR sandbox), https URL, or data URL. Good: `"photo.jpg"`. Bad: `"url": "..."` (wrong key), `"/etc/passwd"` (UNSAFE_PATH).
modelstringVision model ID (optional; server default is a free multimodal model).
providerobjectProvider routing overrides (order, sort, allow_fallbacks, etc.).
questionstringOptional question. Default: "What's in this image?". Bad: using `prompt` (wrong key for this tool).
analyze_videoDescribe / Q&A over video files
ParameterTypeDescription
cache_inputboolean
modelstringVideo-capable model ID (default: google/gemini-2.5-flash).
providerobjectProvider routing overrides (order, sort, allow_fallbacks, etc.).
questionstringOptional question. Default: "Describe what happens in this video, step by step."
video_path *stringLocal file path (sandboxed), http(s) URL, or base64 data URL. Supported containers: mp4, mpeg, mov, webm.
chat_completionText chat, web search, provider routing, caching, reasoning, structured output
ParameterTypeDescription
frequency_penaltynumberPenalize new tokens based on their existing frequency in the text so far. Between -2.0 and 2.0. Positive values reduce repetition.
fusionbooleanEnable `openrouter:fusion` — multi-model deliberation. Multiple models answer in parallel, an analyst synthesizes. Higher quality but ~2-5x latency.
include_reasoningbooleanSurface the model's chain-of-thought on `_meta.reasoning` for R1 / Opus / Gemini Thinking models.
logprobsbooleanReturn log probabilities of output tokens. When true, each token includes its log probability in `_meta.logprobs`.
max_tokensintegerMax completion tokens. Falls back to `OPENROUTER_MAX_TOKENS` env var if unset.
messages *any
modelstringModel ID (optional, uses server default). Append `:nitro` (fastest), `:floor` (cheapest), `:free`, `:online` (web search), or `:exacto` (tool accuracy). Example: `openai/gpt-4o:nitro`. Or pass `online: true` for programmatic web search.
onlinebooleanEnable OpenRouter's web-search plugin (Exa-backed, $4 / 1000 results).
presence_penaltynumberPenalize new tokens based on whether they appear in the text so far. Between -2.0 and 2.0. Positive values encourage new topics.
providerobjectOpenRouter provider-routing overrides. Merges on top of `OPENROUTER_PROVIDER_*` env defaults. See https://openrouter.ai/docs/features/provider-routing
reasoning_effortstringControl reasoning depth for thinking models (o1, o3, Claude extended thinking, etc.). Common values: `low`, `medium`, `high`. Higher effort = more reasoning tokens = better quality but slower and costlier. Passed through to the provider.
response_formatobjectRequest structured output. `{ "type": "json_object" }` forces valid JSON. `{ "type": "json_schema", "json_schema": { "name": "my_schema", "schema": {...} } }` enforces a specific JSON Schema. `{ "type": "text" }` is the default (plain text).
response_healingbooleanEnable `openrouter:response_healing` — auto-fix malformed JSON (missing brackets, trailing commas, markdown wrappers). Reduces JSON defects by 80%+.
seedintegerDeterministic sampling seed for reproducible outputs. Repeated requests with the same seed and parameters should return the same result.
stopanyUp to 4 sequences where the API will stop generating further tokens. Pass a single string or an array of strings.
subagentanyEnable `openrouter:subagent` — model can delegate subtasks to a smaller, cheaper worker model mid-generation. Pass `true` or `{model: "..."}` to specify the worker.
temperaturenumberDefault: 1.
top_logprobsintegerNumber of most likely tokens to return at each position, with their log probabilities. Requires `logprobs: true`. Between 0 and 20.
top_pnumberNucleus sampling: only tokens with top_p cumulative probability are considered. Alternative to temperature. Between 0 and 1.
web_blocked_domainsarrayBlock specific domains from web search results (e.g. `["reddit.com", "pinterest.com"]`).
web_max_resultsintegerMax web-search results when `online: true` (default 5).
decideStructured decisions with calibrated probabilities (System One models)
ParameterTypeDescription
modelstringDecision model. Default: typesafe/jev-1.13. Also: upstage/solar-decide, microsoft/decision-1.
questions *objectMap of question names to definitions. Each: { type: "noul"|"choice"|"score", instructions: string, criteria: {...} }.
stateobjectContext/state for the decision (e.g. ticket text, user info).
embed_textVector embeddings (37+ models: text-embedding-3-small/large, Nomic, etc.)
ParameterTypeDescription
dimensionsintegerOutput vector dimensions (model-dependent).
modelstringEmbedding model. Default: openai/text-embedding-3-small. Browse: openrouter.ai/collections/embedding-models
texts *anyText or array of texts to embed (max 2048).
generate_audioText-to-speech / music via chat completions
ParameterTypeDescription
formatstringOutput audio format (default: pcm16, auto-wrapped as WAV when needed).
modelstringChat-completions audio model (default: openai/gpt-audio).
prompt *stringText prompt for speech or music generation.
providerobjectProvider routing overrides (order, sort, allow_fallbacks, etc.).
save_pathany
voicestringVoice ID (default: alloy). Model-specific.
generate_imageText-to-image via chat completions with reference images
ParameterTypeDescription
aspect_ratiostringOptional aspect ratio (provider-dependent).
image_sizestringOptional resolution tier for supported models.
input_imagesarrayReference images (local path, URL, or data URL) for style/identity conditioning. Max 20.
max_tokensintegerOptional completion token cap.
modalitiesarrayResponse modalities (default: `["image","text"]`).
modelstringImage model ID (default: google/gemini-2.5-flash-image). Chat-completions route.
prompt *stringText prompt describing the image to generate.
providerobjectProvider routing overrides (order, sort, allow_fallbacks, etc.).
save_pathany
generate_image_dedicatedText-to-image via dedicated `/api/v1/images` (resolution, quality, format)
ParameterTypeDescription
aspect_ratiostringAspect ratio (same enum as generate_image).
input_referencesarrayReference images for image-to-image. Each entry: local path, http(s) URL, or data URL. Max 20.
modelstringImage model ID. Default: google/gemini-2.5-flash-image. Browse: https://openrouter.ai/collections/image-models
nintegerNumber of images to request (default 1; only images[0] is saved/inlined).
output_formatstringOutput image format.
prompt *stringText prompt describing the image to generate.
providerobjectProvider routing overrides (order, sort, allow_fallbacks, etc.).
qualitystringImage quality level (default: auto).
resolutionstringNormalized resolution tier. Provider maps to closest supported size.
save_pathany
generate_videoText-to-video (async, resumable)
ParameterTypeDescription
aspect_ratiostringProvider-specific aspect ratio (e.g. "16:9", "9:16"). No server-side enum.
durationintegerClip duration in seconds (provider-dependent).
first_frame_imagestringOptional first-frame image (path, URL, or data URL).
last_frame_imagestringOptional last-frame image (path, URL, or data URL).
max_wait_msintegerMax time to poll before returning JOB_STILL_RUNNING (ms). Default: 600000 (10 min) via OPENROUTER_VIDEO_MAX_WAIT_MS.
modelstringVideo model ID (default: google/veo-3.1). Passed through to provider.
poll_interval_msintegerPoll interval while waiting (ms). Default: 15000 via OPENROUTER_VIDEO_POLL_INTERVAL_MS.
prompt *stringText prompt describing the video to generate.
providerobjectProvider routing overrides.
reference_imagesarrayOptional reference images for style/subject guidance. Max 50 (seedance-2.5 supports up to 50 reference assets).
resolutionstringProvider-specific resolution (e.g. "720p", "1080p"). No server-side enum.
save_pathany
seedintegerOptional reproducibility seed.
generate_video_from_imageImage-to-video (narrower schema)
ParameterTypeDescription
aspect_ratiostringProvider-specific aspect ratio.
durationintegerClip duration in seconds.
image *stringFirst-frame image (path, URL, or data URL). Required.
max_wait_msintegerMax poll wait (ms) before JOB_STILL_RUNNING. Default: 600000.
modelstringVideo model ID (default: google/veo-3.1).
poll_interval_msintegerPoll interval (ms). Default: 15000.
prompt *stringMotion/scene prompt describing the video.
providerobjectProvider routing overrides.
resolutionstringProvider-specific resolution.
save_pathany
seedintegerOptional reproducibility seed.
get_chat_completion_statusPoll / retrieve async completion results
ParameterTypeDescription
job_id *stringThe job_id returned by start_chat_completion.
get_model_infoPricing, context, modalities
ParameterTypeDescription
model *stringFull OpenRouter model slug (e.g. `openai/gpt-4o`).
get_video_statusPoll / resume video jobs
ParameterTypeDescription
save_pathany
video_id *stringVideo job id from generate_video / generate_video_from_image.
health_checkAPI key + reachability probe
rerank_documentsRelevance ranking for RAG
ParameterTypeDescription
documents *array
modelstringReranker model (default: cohere/rerank-v3.5).
query *stringSearch query to rank documents against.
return_documentsbooleanWhen true, include original document text in each result.
top_nintegerReturn only the top N results.
search_modelsPaginated model catalog search
ParameterTypeDescription
capabilitiesobject
limitintegerPage size (default 20, max 50).
offsetintegerPagination offset (default 0).
providerstringFilter by provider slug prefix (e.g. `google`).
querystringSubstring match against model id or name.
speech_to_textDedicated STT (`/api/v1/audio/transcriptions`) — Whisper, GPT-4o Transcribe, Voxtral, ElevenLabs Scribe
ParameterTypeDescription
audio_path *stringAudio file: local path (sandboxed), http(s) URL, or base64 data URL. Formats: mp3, wav, flac, ogg, webm, mp4, m4a.
languagestringISO-639-1 language code (e.g. "en", "es", "fr"). Improves accuracy.
modelstringSTT model. Default: openai/whisper-1. Also: openai/gpt-4o-transcribe, openai/gpt-4o-mini-transcribe, mistralai/mistral-small-transcribe (Voxtral), elevenlabs/scribe-v1 (ElevenLabs Scribe). Discover current models with GET /api/v1/models?output_modalities=text&input_modalities=audio.
providerobjectProvider routing overrides (order, sort, allow_fallbacks, etc.).
response_formatstringOutput format for transcription. Default: json.
temperaturenumberSampling temperature for transcription (0–1).
start_chat_completionAsync background job for long-running reasoning models
ParameterTypeDescription
frequency_penaltynumberPenalize tokens by existing frequency. Between -2 and 2.
fusionbooleanEnable `openrouter:fusion` — multi-model deliberation.
include_reasoningboolean
logprobsbooleanReturn log probabilities of output tokens (same as chat_completion).
max_tokensinteger
messages *any
modelstringModel ID (same options as chat_completion).
onlineboolean
presence_penaltynumberPenalize tokens by whether they appeared already. Between -2 and 2.
providerobject
reasoning_effortstringControl reasoning depth for thinking models. Common values: `low`, `medium`, `high`.
response_formatobjectRequest structured output (same as chat_completion). `{ "type": "json_object" }` or `{ "type": "json_schema", "json_schema": {...} }`.
response_healingbooleanEnable `openrouter:response_healing` — auto-fix malformed JSON.
seedintegerDeterministic sampling seed (same as chat_completion).
stopanyUp to 4 sequences where the API will stop generating further tokens.
subagentanyEnable `openrouter:subagent` — delegate subtasks to a cheaper model.
temperaturenumber
top_logprobsintegerNumber of most likely tokens at each position (0–20). Requires `logprobs: true`.
top_pnumberNucleus sampling (alternative to temperature). Between 0 and 1.
web_blocked_domainsarrayBlock specific domains from web search results.
web_max_resultsinteger
text_to_speechDedicated TTS (`/api/v1/audio/speech`) — Deepgram, ElevenLabs, OpenAI; voices, speed, mp3/pcm
ParameterTypeDescription
input *stringText to convert to speech.
instructionsstringTone/style instructions (e.g. "speak in a warm, friendly tone"). OpenAI models only.
modelstringTTS model for OpenRouter POST /audio/speech. Default: ${DEFAULT_TTS_MODEL}. Discover current models with GET /api/v1/models?output_modalities=speech.
providerobjectProvider routing overrides (order, sort, allow_fallbacks, etc.).
response_formatstringOutput audio format. Default: ${DEFAULT_TTS_RESPONSE_FORMAT}. PCM output is auto-wrapped in a WAV container.
save_pathany
speednumberSpeed of speech (0.25–4.0). Default: 1.0.
voicestringVoice ID (model-specific). Default: ${DEFAULT_TTS_VOICE} for ${DEFAULT_TTS_MODEL}; pass a voice supported by another model.
validate_modelCheap model ID existence check
ParameterTypeDescription
model *stringFull OpenRouter model slug to check.

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.6K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json and python/uv.lock.
  • ✓No dynamic code executionScanned 54 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/index.ts:7
Starts other programs
2 callspython/mcp_server_openrouter_multimodal/launcher.py:51, python/mcp_server_openrouter_multimodal/launcher.py:82
Outbound network calls
3 callssrc/openrouter-api.ts:95, src/tool-handlers/fetch-utils.ts:466, src/tool-handlers/fetch-utils.ts:486
Writes or deletes files
8 callssrc/tool-handlers/async-chat.ts:197, src/tool-handlers/async-chat.ts:198, src/tool-handlers/async-chat.ts:200
Lockfile
package-lock.json and python/uv.lock

Pattern matches on the source text of 54 files: places to read, not proof of what the code does at run time.

Releases

v5.1.0v5.1.0: Embeddings, Decisions, 150+ Bug Fixes · 11 Oct 2026What's New New Tools (21 total — complete OpenRouter modality coverage) | Tool | Endpoint | What it does | |------|----------|-------------| | `embed_text` | `POST /api/v1/embeddings` | Vector embeddings for RAG, semantic search,…
v5.0.1v5.0.1 · 5 Sep 2026[5.0.1] — 2026-09-05 Patch release: dependency security updates and refreshed security policy documentation. Security npm transitive dependency updates — `fast-uri` 3.1.5 → 3.1.7 (high: SSRF/host-confusion in URI parsing, via…
v5.0.0v5.0.0 · 4 Sep 2026[5.0.0] — 2026-09-02 Major release: retired default models replaced, minimum Node.js raised to 22, OpenAI SDK v7, modernized CI/CD and supply chain, and toolchain updates across Docker, GitHub Actions, and dev dependencies. Fixed Default…
v4.8.0v4.8.0 · 2 Sep 2026[4.8.0] — 2026-09-02 Minor release: security hardening across outbound fetches and path sandbox, correctness fixes for audio/STT/caching/model lookup, and expanded validation and observability. Security DNS-rebinding SSRF closed — Outbound…
v4.7.0v4.7.0 · 2 Sep 2026[4.7.0] — 2026-09-02 Minor release: canonical MCP binary result policy, security hardening, and contract documentation. Added `src/tool-handlers/tool-result-payload.ts` — Shared `buildBinaryToolResult()` policy for image/audio/video…

README

The repository's README runs to about 3.6K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Openrouter MCP Multimodal

How do I install Openrouter MCP Multimodal?

In Claude Code, run claude mcp add openrouter-mcp-multimodal -- npx -y @stabgan/openrouter-mcp-multimodal. Other MCP clients take the command after "--" in their server configuration.

Is Openrouter MCP Multimodal safe to use with an AI agent?

Its trust score is 75 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 54 source files found that it serves MCP over stdio, starts other programs (2 calls), makes outbound network calls (3 calls) and writes or deletes files (8 calls). Its dependencies are pinned by package-lock.json and python/uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Openrouter MCP Multimodal still maintained?

Yes — the latest release is v5.1.0 (11 Oct 2026), and the last commit was 14 hours ago. The repository has 105 stars and 10 open issues.

What tools does Openrouter MCP Multimodal provide?

Conduid read 21 tools from the source: analyze_audio, analyze_image, analyze_video, chat_completion, decide, embed_text, generate_audio, generate_image and 13 more. 20 of them publish their parameters, listed under Tools above.

What license is Openrouter MCP Multimodal released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v5.1.0, as well.