npm local-model-suitability-mcpstreamable-httpMITupdated 15d ago
Cloud inference is expensive. Everything that can run locally should.
Local Model Suitability MCP で何ができる?
Local 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
インストール
Local Model Suitability MCP をクライアントに追加します。お使いのものを選んでください。
{
"servers": {
"local-model-suitability-mcp": {
"type": "http",
"url": "https://local-model-suitability-mcp-production.up.railway.app"
}
}
}Add to `.vscode/mcp.json` in your workspace.
claude mcp add local-model-suitability-mcp -- npx -y local-model-suitability-mcpcodex mcp add local-model-suitability-mcp -- npx -y local-model-suitability-mcpamp mcp add local-model-suitability-mcp -- npx -y local-model-suitability-mcp{
"mcpServers": {
"local-model-suitability-mcp": {
"command": "npx",
"args": [
"-y",
"local-model-suitability-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"local-model-suitability-mcp": {
"command": "npx",
"args": [
"-y",
"local-model-suitability-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"mcpServers": {
"local-model-suitability-mcp": {
"command": "npx",
"args": [
"-y",
"local-model-suitability-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"local-model-suitability-mcp": {
"command": "npx",
"args": [
"-y",
"local-model-suitability-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"local-model-suitability-mcp": {
"command": "npx",
"args": [
"-y",
"local-model-suitability-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"local-model-suitability-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"local-model-suitability-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"local-model-suitability-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"local-model-suitability-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y local-model-suitability-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
スコア
39 / 100
情報不足
- ドキュメント22/25
- メンテナンス25/25
- 信頼性13/20
- 機能0/15
- 導入のしやすさ15/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 8 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 18 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
バージョン履歴
| バージョン | 公開日 |
|---|---|
| 1.1.23最新 | 2026年6月25日 |
| 1.1.22 | 2026年6月24日 |
| 1.1.6 | 2026年5月2日 |
| 1.1.5 | 2026年4月28日 |
| 1.1.4 | 2026年4月26日 |
| 1.1.3 | 2026年4月26日 |
| 1.1.2 | 2026年4月25日 |
| 1.1.1 | 2026年4月23日 |
| 1.1.0 | 2026年4月20日 |
| 1.0.1 | 2026年4月13日 |