About Local Model Suitability Mcp
Local Model Suitability MCP is an MCP server that assesses whether a task can use a local model before cloud inference. It is for agents making model-routing decisions and returns a LOCAL or CLOUD verdict, reasoning, and local-model suggestions; confidential data always receives a LOCAL verdict.
Key features
- 01Assess local viability before inference
- 02LOCAL or CLOUD verdict
- 03Configurable quality and sensitivity inputs
- 04Suggested local models
- 05Confidential data forced to local
Use cases
- 01Choose a route before a cloud inference call
- 02Select local or cloud models by quality needs
- 03Keep confidential data from leaving the machine
- 04Review a routing verdict and its rationale
MCP support
The MCP server exposes `check_local_viability` to clients for assessing whether a task suits a local model. It returns a verdict, explanation, and model recommendations rather than performing model routing itself.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://local-model-suitability-mcp-production.up.railway.appclaude mcp add --transport http local-model-suitability https://local-model-suitability-mcp-production.up.railway.app{"mcpServers":{"local-model-suitability":{"type":"http","url":"https://local-model-suitability-mcp-production.up.railway.app"}}}Open in Cursor{"servers":{"local-model-suitability":{"type":"http","url":"https://local-model-suitability-mcp-production.up.railway.app"}}}Open in VS Code{"mcpServers":{"local-model-suitability":{"type":"http","url":"https://local-model-suitability-mcp-production.up.railway.app"}}}{"mcpServers":{"local-model-suitability":{"serverUrl":"https://local-model-suitability-mcp-production.up.railway.app"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
1| Parameter | Type | Required | Description |
|---|---|---|---|
| task | string | Yes | The exact task you are about to send to a cloud model. Be specific — include what the input is and what output you need. |
| data_sensitivity | enum | No | CONFIDENTIAL forces LOCAL verdict regardless of task complexity — data must not leave the machine. Defaults to PUBLIC.PUBLIC | INTERNAL | CONFIDENTIAL |
| quality_threshold | enum | No | PRODUCTION = output quality matters and errors are costly. PROTOTYPE = approximate results acceptable. BEST_EFFORT = speed and cost trump quality. Defaults to PRODUCTION.PRODUCTION | PROTOTYPE | BEST_EFFORT |
Details
From the project READMELocal Model Suitability MCP
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"
}
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 |
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.
Legal
Results are for cost-optimisation guidance only and do not constitute technical advice. Full terms: kordagencies.com/terms.html
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.