Cloudflare Workers AI MCP vs Openrouter

A side-by-side look at the Cloudflare Workers AI MCP and Openrouter MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Cloudflare Workers AI MCP logoCloudflare Workers AI MCPConversational AI · Local subprocess (stdio)Cloudflare Workers AI inference for AI agents: LLM chat completions (Llama 3.3 70B, Llama 3.1 8B, Llama 4 Scout, Qwen Coder 32B, DeepSeek R1 Distill), text embeddings (BGE small/base), and image generation (Flux 1 Schnell) — generous free tier, no infrastructure to run. npx -y @puspoaditya/cloudflare-workers-ai-mcp.59GoodAuth: not declaredOpenrouter logoOpenrouterConversational AI · Local subprocess (stdio)OpenRouter Models MCP.56GoodAuth: not declared

Verdict: choose Cloudflare Workers AI MCP for conversational ai work as a local process; choose Openrouter for conversational ai as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Cloudflare Workers AI MCP logoChoose Cloudflare Workers AI MCP when

  • You need dedicated capabilities in the Conversational AI domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like list_models, chat_completion, embed_text.
Explore Cloudflare Workers AI MCP

Openrouter logoChoose Openrouter when

  • You need dedicated capabilities in the Conversational AI domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like list_models, get_model, compare_models.
Explore Openrouter

Feature & specification comparison

Rows where the two servers differ are marked.

SpecCloudflare Workers AI MCP logoCloudflare Workers AI MCPOpenrouter logoOpenrouter
CategoryConversational AIConversational AI
Quality signal59/100 · Good56/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredNot declared
Required env varsNone listedNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars00
Directory activity 2 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
Tools43

Tools & capabilities

Cloudflare Workers AI MCP tools 4

  • list_modelsList the Cloudflare Workers AI models supported by this server. Use this tool to discover available model ids before calling chat_completion, embed_text, or generate_image — it returns the complete catalog of chat models, embedding models, and image models with their roles. This tool does not call the Cloudflare API and works without credentials.
  • chat_completionRun an LLM chat completion using Cloudflare Workers AI. Use this tool when you need direct LLM inference with an explicit message list (system/user/assistant roles) — for example summarization, translation, Q&A, classification, or code generation. The request is sent to the Workers AI OpenAI-compatible endpoint and the full assistant reply is returned as a single text block together with the model id and finish reason. No streaming is performed. Requires CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN environment variables; costs are billed to your Cloudflare account (free tier available).
  • embed_textGenerate numerical vector embeddings for one or more text inputs using Cloudflare Workers AI. Use this tool when you need semantic vector representations of text — for example similarity search, clustering, deduplication, or retrieval-augmented generation. Returns one embedding array (384-dimensional for BGE small, 768 for BGE base) per input text, in the same order as the inputs. Embeddings are generated by the native Workers AI endpoint and are deterministic for identical inputs. Requires CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN environment variables.
  • generate_imageGenerate an image from a text prompt using Cloudflare Workers AI (Flux 1 Schnell). Use this tool when the user asks for a picture, illustration, concept art, or visual asset — e.g. logos, scene descriptions, thumbnails, or design mockups. The image is generated by the Flux 1 Schnell model on Workers AI and returned as a base64-encoded string; decode it to obtain the image file (PNG or JPEG depending on the model output). Generation is asynchronous and typically takes a few seconds. Note: Cloudflare applies content moderation — prompts containing NSFW content are rejected with an error. Requires CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN environment variables.

Openrouter tools 3

  • list_modelsList LLMs from the OpenRouter catalog (~340 models across all major providers) with normalized $/1M-token pricing, context windows, and modality. Filter by search, free-only, minimum context, or modality (e.g. "image" for vision models). Sorted cheapest-first by completion price. Keyless.
  • get_modelGet full details for one OpenRouter model by id — normalized $/1M pricing (prompt, completion, plus per-request/image/web-search costs), context window, modality, supported parameters, tokenizer, knowledge cutoff. e.g. id "anthropic/claude-sonnet-4.5". Keyless.
  • compare_modelsSide-by-side comparison of pricing ($/1M tokens), context window, and modality for 2-5 OpenRouter models. Answers "is claude-sonnet-4.5 cheaper than gpt-4o". Keyless.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Cloudflare Workers AI MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "puspoaditya-cloudflare-workers-ai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@puspoaditya/cloudflare-workers-ai-mcp"
      ]
    }
  }
}

Openrouter

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "openrouter": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-openrouter"
      ]
    }
  }
}

Frequently asked questions

Cloudflare Workers AI MCP is categorized under Conversational AI and uses a local stdio subprocess. Openrouter belongs to Conversational AI and uses a local stdio subprocess. Pick Cloudflare Workers AI MCP for conversational ai work and Openrouter for conversational ai.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Cloudflare Workers AI MCP has no declared pricing — check the project's own site. Openrouter has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add puspoaditya-cloudflare-workers-ai-mcp and openrouter as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Cloudflare Workers AI MCP has a quality signal of 59/100 (Good) with 2 views, 0 installs and 0 GitHub stars. Openrouter has 56/100 (Good) with 1 views, 0 installs and 0 GitHub stars.