{"id":49271562,"url":"https://github.com/ojaskord/local-model-suitability-mcp","last_synced_at":"2026-04-25T14:01:12.193Z","repository":{"id":351706221,"uuid":"1209160843","full_name":"OjasKord/local-model-suitability-mcp","owner":"OjasKord","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-23T06:27:27.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-23T08:24:38.596Z","etag":null,"topics":["cost-optimisation","cost-optimization","cost-reduction","local-llm","mcp","mcp-server","model-routing","ollama","privacy"],"latest_commit_sha":null,"homepage":"https://kordagencies.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OjasKord.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-13T06:41:38.000Z","updated_at":"2026-04-23T06:27:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/OjasKord/local-model-suitability-mcp","commit_stats":null,"previous_names":["ojaskord/local-model-suitability-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OjasKord/local-model-suitability-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OjasKord%2Flocal-model-suitability-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OjasKord%2Flocal-model-suitability-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OjasKord%2Flocal-model-suitability-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OjasKord%2Flocal-model-suitability-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OjasKord","download_url":"https://codeload.github.com/OjasKord/local-model-suitability-mcp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OjasKord%2Flocal-model-suitability-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32264431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cost-optimisation","cost-optimization","cost-reduction","local-llm","mcp","mcp-server","model-routing","ollama","privacy"],"created_at":"2026-04-25T14:01:11.204Z","updated_at":"2026-04-25T14:01:12.183Z","avatar_url":"https://github.com/OjasKord.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local Model Suitability MCP\n\n**Cloud inference is expensive. Everything that can run locally should.**\n\nThis 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.\n\n## The Tool\n\n### `check_local_viability`\n\nCall 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`.\n\n**Inputs:**\n| Field | Required | Description |\n|---|---|---|\n| `task` | ✅ | The exact task you are about to send to a cloud model |\n| `quality_threshold` | Optional | `PRODUCTION` (default) / `PROTOTYPE` / `BEST_EFFORT` |\n| `data_sensitivity` | Optional | `PUBLIC` (default) / `INTERNAL` / `CONFIDENTIAL` |\n\n`CONFIDENTIAL` forces `LOCAL` regardless of task complexity — data never leaves the machine.\n\n**Response:**\n```json\n{\n  \"verdict\": \"LOCAL\",\n  \"confidence\": \"HIGH\",\n  \"reason\": \"Simple text summarisation — no reasoning depth required. Any 7B+ local model handles this well.\",\n  \"estimated_cost_saving\": \"$0.002-0.008 saved per call at claude-sonnet pricing\",\n  \"recommended_local_models\": [\"llama3.2:8b\", \"mistral-7b\", \"phi3:medium\"],\n  \"cloud_justified_reason\": null,\n  \"analysis_type\": \"AI-powered cost routing — NOT a simple lookup\"\n}\n```\n\n## Data Sources\n\n- AI reasoning: Anthropic Claude (claude-sonnet) — cost routing analysis\n- No external data sources — pure AI reasoning\n\n## Pricing\n\n| Plan | Price | Calls/month |\n|---|---|---|\n| Free | $0 | 20 |\n| Pro | $99/month | 2,000 |\n| Enterprise | $299/month | Unlimited |\n\n[Subscribe at kordagencies.com](https://kordagencies.com)\n\n## Setup\n\n```json\n{\n  \"mcpServers\": {\n    \"local-model-suitability\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"local-model-suitability-mcp\"],\n      \"env\": {\n        \"ANTHROPIC_API_KEY\": \"your-key\",\n        \"API_KEY\": \"your-lms-api-key-for-paid-tier\"\n      }\n    }\n  }\n}\n```\n\nFree tier requires no API key — tracked by IP.\n\n## Legal\n\nResults are for cost-optimisation guidance only and do not constitute technical advice. Full terms: [kordagencies.com/terms.html](https://kordagencies.com/terms.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fojaskord%2Flocal-model-suitability-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fojaskord%2Flocal-model-suitability-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fojaskord%2Flocal-model-suitability-mcp/lists"}