Ai Model Router

io.github.lazymac2xPublished by GitHub account lazymac2xv1.0.0Updated Oct 24, 2026

Cloudflare Workers MCP server: ai-model-router

The publisher's own server: 370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation

VerifiedStreamable HTTPWeb executableAI & ML

Overview

AI-generated overview

A remote MCP server that helps an assistant pick, compare and list AI models by task type, cost and provider preference.

What you can do
Choose the best-fit AI model for a task based on task type, cost and provider preferences (GPT-4, Claude, Gemini). Compare cost and task fit across supported models for a given prompt or token count. List all supported models with their pricing and capabilities.
When to use it
Useful when deciding which AI model to call for a task and weighing cost against fit, or when you want a quick pricing and capability overview of the supported models before choosing a provider.
Requirements
A remote endpoint at api.lazy-mac.com; no packages, environment variables or headers are declared, and no authentication is declared. Network access to the endpoint is needed.
Before you install
The server only returns model recommendations and pricing information; verify pricing and capability claims before relying on them for real spending decisions. No credentials are requested in the manifest.

Installation

In SourceWeft

  1. Open Ai Model Router in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.lazymac2x%2Fai-model-router/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "ai-model-router": {
      "type": "http",
      "url": "https://api.lazy-mac.com/ai-model-router/mcp"
    }
  }
}

README

ai-model-router-api

Cloudflare Workers MCP server: ai-model-router. REST + MCP (JSON-RPC 2.0). Live: api.lazy-mac.com/ai-model-router

Source: README.md at commit 9d60aa4

Tools

3

route_model

Select the optimal AI model (GPT-4, Claude, Gemini) for a task based on type, cost, and provider preferences.

Parametersprompttask_typeprefer_tierinput_tokensmax_cost_usdoutput_tokensprefer_provider

compare_models

Compare cost and task fit across all supported AI models for a given prompt or token count.

Parametersprompttask_typeinput_tokensoutput_tokens

list_models

List all supported AI models with pricing and capabilities.

Takes no parameters.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.

Other Router integrations