Skip to main content
Glama
OjasKord

local-model-suitability-mcp

by OjasKord

Local Model Suitability MCP

ToolRank

Cloud inference is expensive. Everything that can run locally should.

This MCP server tells your agent — before every cloud API call — whether the task can be handled by a local model instead. Route to Ollama, LM Studio, or llama.cpp when you can. Only pay for cloud when you must.

The Tool

check_local_viability

Call this BEFORE every cloud inference call. If verdict is LOCAL, skip the cloud call entirely and route to your local model. Only use cloud when this tool returns CLOUD.

Inputs:

Field

Required

Description

task

The exact task you are about to send to a cloud model

quality_threshold

Optional

PRODUCTION (default) / PROTOTYPE / BEST_EFFORT

data_sensitivity

Optional

PUBLIC (default) / INTERNAL / CONFIDENTIAL

CONFIDENTIAL forces LOCAL regardless of task complexity — data never leaves the machine.

Response:

{
  "verdict": "LOCAL",
  "confidence": "HIGH",
  "reason": "Simple text summarisation — no reasoning depth required. Any 7B+ local model handles this well.",
  "estimated_cost_saving": "$0.002-0.008 saved per call at claude-sonnet pricing",
  "recommended_local_models": ["llama3.2:8b", "mistral-7b", "phi3:medium"],
  "cloud_justified_reason": null,
  "analysis_type": "AI-powered cost routing — NOT a simple lookup"
}

Related MCP server: local-llm-delegation-mcp

Data Sources

  • AI reasoning: Anthropic Claude (claude-sonnet) — cost routing analysis

  • No external data sources — pure AI reasoning

Pricing

Plan

Calls

Price

Free

20/month

$0

Starter

500-call bundle

$20

Pro

2,000-call bundle

$70

Subscribe at kordagencies.com

Setup

{
  "mcpServers": {
    "local-model-suitability": {
      "command": "npx",
      "args": ["-y", "local-model-suitability-mcp"],
      "env": {
        "ANTHROPIC_API_KEY": "your-key",
        "API_KEY": "your-lms-api-key-for-paid-tier"
      }
    }
  }
}

Free tier requires no API key — tracked by IP.

Harness Integration

Claude Code / Claude Desktop (.mcp.json)

{
  "mcpServers": {
    "local-model-suitability": {
      "type": "http",
      "url": "https://local-model-suitability-mcp-production.up.railway.app"
    }
  }
}

LangChain (Python)

from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
    "local-model-suitability": {
        "url": "https://local-model-suitability-mcp-production.up.railway.app",
        "transport": "http"
    }
})
tools = await client.get_tools()

OpenAI Agents SDK (Python)

from agents import Agent, HostedMCPTool
agent = Agent(
    name="Assistant",
    tools=[HostedMCPTool(tool_config={
        "type": "mcp",
        "server_label": "local-model-suitability",
        "server_url": "https://local-model-suitability-mcp-production.up.railway.app",
        "require_approval": "never"
    })]
)

LangGraph

Same as LangChain above — langchain-mcp-adapters works with LangGraph natively.

Results are for cost-optimisation guidance only and do not constitute technical advice. Full terms: kordagencies.com/terms.html

Available Tools

1 tool
check_local_viabilityAInspect

Checks whether a task can be handled by a local model instead of a cloud API. Call this BEFORE your agent routes any task to a cloud model — at the moment a task is ready to be sent and the model has not yet been selected. Use this when your agent is about to make a cloud inference call and wants to determine whether a local model could handle it at lower cost. Returns LOCAL/CLOUD/EITHER verdict with recommended model. If verdict is LOCAL, skip the cloud call entirely — saves cost on every routable inference call. Pass data_sensitivity=CONFIDENTIAL to force LOCAL verdict for tasks that must not leave the machine. Do not route to cloud without checking local viability first.

ParametersJSON Schema
NameRequiredDescriptionDefault
taskYesThe exact task you are about to send to a cloud model. Be specific — include what the input is and what output you need.
data_sensitivityNoCONFIDENTIAL forces LOCAL verdict regardless of task complexity — data must not leave the machine. Defaults to PUBLIC.
quality_thresholdNoPRODUCTION = output quality matters and errors are costly. PROTOTYPE = approximate results acceptable. BEST_EFFORT = speed and cost trump quality. Defaults to PRODUCTION.

Output Schema

ParametersJSON Schema
NameRequiredDescription
reasonYes
verdictYes
checked_atYes
confidenceYes
_disclaimerYes
analysis_typeNo
data_sensitivityNo
estimated_cost_savingNo
cloud_justified_reasonNoNon-null only when verdict is CLOUD
task_quality_thresholdNo
recommended_local_modelsNoPresent when verdict is LOCAL or EITHER
data_sensitivity_overrideNoPresent only when data_sensitivity=CONFIDENTIAL forced a LOCAL verdict

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It fully discloses return value (LOCAL/CLOUD/EITHER with recommended model), behavior with CONFIDENTIAL, and cost-saving implications. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is well-structured and front-loaded with purpose. Slightly verbose in middle sentences but no wasted words. Could be tightened, but still effective.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

All aspects covered: purpose, when to use, parameter details, output nature, and behavioral notes (cost savings). No gaps given the complexity and presence of output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, but description adds significant context: task should be 'exact task', data_sensitivity forces LOCAL, quality_threshold defines PRODUCTION/PROTOTYPE/BEST_EFFORT implications. Enhances schema meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool checks if a task can be handled locally vs cloud API, with specific verb 'Checks' and resource 'local model'. No sibling tools exist, but it distinguishes itself by its specific cost-saving role.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when to call: 'Call this BEFORE your agent routes any task to a cloud model'. Provides strong guidance: 'Do not route to cloud without checking local viability first'. Also explains scenarios for using data_sensitivity and quality_threshold.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool updatev1.1.29
    • First observedcheck_local_viability

TDQS

A4.5/5.0
Disambiguation5/5

With only one tool, there is no possibility of confusion between tools.

Naming Consistency5/5

The single tool follows a clear verb_noun pattern (check_local_viability), which is consistent and readable.

Tool Count2/5

A single tool is too few for a server with the stated purpose; users would expect additional tools for managing local model configurations or listing available models.

Completeness2/5

The server only provides a viability check, lacking tools for model listing, configuration, or feedback, which are natural extensions of the domain.

Maintenance

ActivityActive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OjasKord/local-model-suitability-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server