MCP directory
OM

Openrouter Multimodal

by github.com/stabgan · v4.5.1 · updated May 4, 2026

Chat with 300+ LLMs via OpenRouter. Analyze and generate images, audio, and video from MCP.

npmDocker

Run it locally

Install the package and point your AI client at it.

npm

npx -y @stabgan/[email protected]

Environment variables

  • OPENROUTER_API_KEYrequiredsecret

    OpenRouter API key. Get one free at https://openrouter.ai/keys

  • OPENROUTER_DEFAULT_MODEL

    Default model for chat + analyze tools. Defaults to nvidia/nemotron-nano-12b-v2-vl:free.

  • OPENROUTER_OUTPUT_DIR

    Sandbox root for save_path on generate_* tools. Defaults to the current working directory.

  • OPENROUTER_MAX_TOKENS

    Default max_tokens for chat_completion when unset in the request.

  • OPENROUTER_PROVIDER_SORT

    price / throughput / latency

  • OPENROUTER_PROVIDER_IGNORE

    CSV of provider slugs to exclude.

  • OPENROUTER_PROVIDER_ORDER

    JSON array or CSV of preferred provider IDs.

  • OPENROUTER_PROVIDER_QUANTIZATIONS

    CSV of quantization levels (fp16,int8).

  • OPENROUTER_PROVIDER_REQUIRE_PARAMETERS

    true/false. Require providers to support all request params.

  • OPENROUTER_PROVIDER_DATA_COLLECTION

    allow/deny

  • OPENROUTER_PROVIDER_ALLOW_FALLBACKS

    true/false

  • OPENROUTER_CACHE_RESPONSES

    Enable response caching server-wide. Sends X-OpenRouter-Cache: true on every chat/analyze call unless overridden per-request. Zero tokens billed on cache hits.

  • OPENROUTER_INCLUDE_REASONING

    Enable reasoning tokens passthrough server-wide. Adds _meta.reasoning to chat_completion responses for DeepSeek R1 / Gemini Thinking / Opus 4.7.

Docker

docker run -i --rm docker.io/stabgan/openrouter-mcp-multimodal:4.5.1

Environment variables

  • OPENROUTER_API_KEYrequiredsecret

    OpenRouter API key. Get one free at https://openrouter.ai/keys

More from github.com/stabgan

More MCP servers