local-model-suitability-mcp 1.1.14 → 1.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.16] - 2026-06-16
4
+ - feat: ATO optimisation — purpose verb, usage context, required fields, ToolRank badge
5
+
6
+ ## [1.1.15] - 2026-06-11
7
+ - feat: add /.well-known/mcp/server-card.json static metadata endpoint
8
+
3
9
  ## [1.1.14] - 2026-06-11
4
10
  - fix: bump version past existing npm publish (1.1.13 already on registry)
5
11
 
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  # Local Model Suitability MCP
4
4
 
5
+ [![ToolRank](https://toolrank.dev/badge/dominant.svg)](https://toolrank.dev/ranking)
6
+
5
7
  **Cloud inference is expensive. Everything that can run locally should.**
6
8
 
7
9
  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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "local-model-suitability-mcp",
3
3
  "mcpName": "io.github.OjasKord/local-model-suitability-mcp",
4
- "version": "1.1.14",
4
+ "version": "1.1.16",
5
5
  "description": "AI model router for agents. Checks whether a local model can handle the task before calling cloud inference. LOCAL/CLOUD verdict saves cost on every call.",
6
6
  "main": "src/server.js",
7
7
  "type": "module",
package/smithery.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: Local Model Suitability MCP
2
- description: "Before routing any task to a cloud model, call check_local_viability. Returns LOCAL/CLOUD/EITHER verdict with recommended model - saves inference cost on every routable call."
2
+ description: "Before routing any task to a cloud model, call check_local_viability. Returns LOCAL/CLOUD/EITHER verdict with recommended model - saves inference cost on every routable call. 2 focused tools. Compact schema. Minimal agent context overhead."
3
3
  categories:
4
4
  - Dev Tools
5
5
  - AI
package/src/server.js CHANGED
@@ -3,7 +3,7 @@ import { createHmac, timingSafeEqual } from 'crypto';
3
3
  import { readFileSync, writeFileSync } from 'fs';
4
4
  import Anthropic from '@anthropic-ai/sdk';
5
5
 
6
- const VERSION = '1.1.14';
6
+ const VERSION = '1.1.16';
7
7
  const PRO_UPGRADE_URL = 'https://buy.stripe.com/cNibJ08wd7zf6NS0h2ebu0p';
8
8
  const ENTERPRISE_UPGRADE_URL = 'https://buy.stripe.com/28E9AS27PbPvfkoe7Sebu0q';
9
9
  const PERSIST_FILE = '/tmp/lms_stats.json';
@@ -227,7 +227,7 @@ const CLOUD_PRICING = {
227
227
  const TOOL_DEFINITION = {
228
228
  name: 'check_local_viability',
229
229
  idempotent: true,
230
- description: '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. 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.',
230
+ description: '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.',
231
231
  inputSchema: {
232
232
  type: 'object',
233
233
  properties: {
@@ -503,7 +503,7 @@ const server = createServer(async (req, res) => {
503
503
  // Server card (Smithery)
504
504
  if (req.url === '/.well-known/mcp/server-card.json') {
505
505
  res.writeHead(200, { ...cors, 'Content-Type': 'application/json' });
506
- res.end(JSON.stringify({ name: 'local-model-suitability-mcp', version: VERSION, description: 'Check whether a task can run locally instead of cloud — save money on every call that doesn\'t need cloud inference.', tools: [TOOL_DEFINITION], transport: 'streamable-http', homepage: 'https://kordagencies.com', author: 'ojas1', token_footprint_min: 204, token_footprint_max: 230, token_footprint_avg: 217, idempotent_tools: ['check_local_viability'], circuit_breaker: false, health_endpoint: '/health', ready_endpoint: '/ready' }));
506
+ res.end(JSON.stringify({ serverInfo: { name: 'local-model-suitability-mcp', version: VERSION }, tools: [{ name: TOOL_DEFINITION.name, description: TOOL_DEFINITION.description.slice(0, 150) }], resources: [], prompts: [] }));
507
507
  return;
508
508
  }
509
509