Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.houtini-ai/lm

NPM · @HOUTINI/LM · SCANNED AUG 7

Connect Claude to any OpenAI-compatible LLM endpoint and offload routine work to a local model.

Available components

59 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security86
  • No malware found by supply-chain analysis.Pass
  • Known CVEs were checked across the 94 of 98 dependencies we could resolve, so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Dependency health was assessed across the 94 of 98 dependencies we could resolve, so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency19
Schema Quality & AI Usability73
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 3291 tokens (~365/item across 9 items; 8 tools + 1 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
  • Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass

Unverified: 1 category

A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @houtini/lm

# add to Claude Code
claude mcp add houtini-ai-lm -- npx -y @houtini/lm
# add to Codex CLI
codex mcp add houtini-ai-lm -- npx -y @houtini/lm
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "houtini-ai-lm": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@houtini/lm"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add houtini-ai-lm --command npx --arg -y --arg @houtini/lm
# ~/.hermes/config.yaml
mcp_servers:
  houtini-ai-lm:
    command: "npx"
    args: ["-y", "@houtini/lm"]
// mcp.json
{
  "mcpServers": {
    "houtini-ai-lm": {
      "command": "npx",
      "args": [
        "-y",
        "@houtini/lm"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 5 Aug 26 +29
    • Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
    • Tool coverage: unverified → 100 functional
    • Schema quality: unverified → 100 functional
    • MCP protocol: unverified → pass functional
    • First check of Schema quality: fail functional
    • First check of Schema quality: excellent functional
    • First check of Schema quality: fail functional
    • First check of Tool coverage: 100 functional
  • 4 Aug 26 30

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 7 Aug 2026 · Analysed npm/@houtini/[email protected]

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm
Dependencies 94 packages
Packages resolved 94
Deprecated 94
Stale 29
Tree resolution Partial

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools · 8 exposed · ~3,085 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
chat ~876

Send a task to a local LLM — a sidekick running on the user's hardware or a configured OpenAI-compatible endpoint. It does not consume the user's Claude quota. Trades latency for tokens: local inference is typically 3-30× slower than frontier models, so delegation wins when the task is bounded and self-contained. Good fit: • Explain or summarise code/docs you already have in context • Generate boilerplate, test stubs, type definitions, mock data • Answer factual questions about languages, frameworks, APIs • Draft commit messages, PR descriptions, comments • Translate or reformat content (JSON↔YAML, snake_case↔camelCase) • Brainstorm approaches before committing to one Less good when: the task needs tool access, depends on multi-file context you have not captured, or is quick enough for you to answer directly before the round-trip completes. Prompt tips (local models take instructions literally): (1) Send COMPLETE context — the local LLM cannot read files. (2) Be explicit about output format ("respond as a JSON array", "return only the function"). (3) Specific system persona beats generic — "Senior TypeScript dev" not "helpful assistant". (4) State constraints — "no preamble", "reference line numbers", "max 5 bullets". (5) Leave max_tokens UNSET — the server sizes the budget from the model's real context window. Tiny caps like 256 waste the model: reasoning burns the budget before any visible output. Routing picks the best loaded model automatically. Call `discover` to see what is loaded and, after the first real call, its measured speed. The footer shows cumulative tokens kept in the user's quota.

NameTypeReqDescription
frequency_penaltynumberOpenAI-style frequency penalty, -2 to 2.
json_schemaobjectForce structured JSON output. Provide a JSON Schema object and the response will be guaranteed valid JSON conforming to it. Example: {"name":"result","schema":{"type":"object","properties":{"answer":…
max_tokensnumberResponse token budget. OMIT THIS — when omitted the server checks the live model's context window and allocates 25% of it (e.g. ~32,000 tokens on a 128k-context model), which is right for almost ever…
messagestringyesThe task. Be specific about expected output format. Include COMPLETE code/context — never truncate.
modelstringOptional: pin to a specific model id (e.g. "nvidia/nemotron-3-nano-30b-a3b:free" on OpenRouter, "qwen.qwen3-coder-30b-a3b-instruct" on LM Studio). When set, overrides automatic routing. Useful on pro…
presence_penaltynumberOpenAI-style presence penalty, -2 to 2.
repeat_penaltynumberPenalise repetition, 0–2 (1 = off, ~1.1 typical).
seedintegerDeterministic sampling seed — same seed + same prompt → reproducible output. Useful for testing.
stopstring|arrayStop sequence(s) — generation halts when one is produced (up to 4).
systemstringPersona for the local LLM. Be specific: "Senior TypeScript dev" not "helpful assistant".
temperaturenumber0.1 for factual/code, 0.3 for analysis (default), 0.7 for creative. Stay under 0.5 for code.
top_kintegerSample only from the top-K tokens (e.g. 40). 0/omitted = disabled.
top_pnumberNucleus sampling 0–1 (e.g. 0.9). Lower = more focused. Alternative to temperature.

No output schema declared.

No examples provided.

code_task ~525

Send a code-specific task to the local LLM, wrapped with an optimised code-review system prompt. Temperature is locked low (0.2 or the routed model's hint) for deterministic output. Good fit: • Explain what a function/class does • Find bugs or suggest improvements • Generate unit tests or type definitions for existing code • Add error handling, logging, or validation • Convert between languages or patterns For best results: • Provide COMPLETE source — the local LLM cannot read files. • Include imports and type definitions so the model has full context. • Be specific: "Write 3 Jest tests for the error paths in fetchUser" beats "Write tests". • Set the language field — it shapes the system prompt and improves accuracy. Verify generated code compiles, handles edge cases, and follows project conventions before committing.

NameTypeReqDescription
codestringyesCOMPLETE source code. Never truncate. Include imports and full function bodies.
frequency_penaltynumberOpenAI-style frequency penalty, -2 to 2.
languagestringProgramming language: "typescript", "python", "rust", etc.
max_tokensnumberResponse token budget. OMIT THIS — the server sizes it from the live model's context window (25%, e.g. ~32,000 on a 128k-context model). Values below 4,096 are IGNORED (tiny caps strangle reasoning m…
modelstringOptional: pin to a specific model id. When set, overrides automatic routing.
presence_penaltynumberOpenAI-style presence penalty, -2 to 2.
repeat_penaltynumberPenalise repetition, 0–2 (1 = off, ~1.1 typical).
seedintegerDeterministic sampling seed — same seed + same prompt → reproducible output. Useful for testing.
stopstring|arrayStop sequence(s) — generation halts when one is produced (up to 4).
taskstringyesWhat to do: "Find bugs", "Explain this", "Add error handling to fetchData", "Write tests".
top_kintegerSample only from the top-K tokens (e.g. 40). 0/omitted = disabled.
top_pnumberNucleus sampling 0–1 (e.g. 0.9). Lower = more focused. Alternative to temperature.

No output schema declared.

No examples provided.

code_task_files ~625

Like code_task, but the local LLM reads files directly from disk — source never passes through the MCP client's context window. Use when reviewing multiple files or a single large file. How it works: • Provide absolute paths. Relative paths are rejected. • Files are read in parallel (Promise.allSettled) — one unreadable file does not sink the call. • Files are concatenated with `=== filename ===` headers and sent to the same code-review pipeline as code_task. • Read failures are surfaced inline with the reason so the LLM can still reason about the rest. • Pre-flight prefill estimate: if measured per-model data shows the input would exceed the MCP client's ~60s request timeout during prompt processing, the call is refused early with a diagnostic instead of hanging. Split or trim when this fires. Good fit: • Reviewing related files together (module + its tests, client + server pair) • Auditing a single large file too big to paste comfortably • Any code_task where keeping source out of the Claude context window matters Size guidance: on slow hardware (< 25 tok/s generation), keep total input under ~8,000 tokens (~32,000 chars) to stay safely under the client timeout. Faster hardware handles much more — the pre-flight estimator adapts once you've done a few calls and real per-model timings are in the SQLite cache. Same review discipline as code_task — verify the output before acting on it.

NameTypeReqDescription
frequency_penaltynumberOpenAI-style frequency penalty, -2 to 2.
languagestringOptional language hint: "typescript", "python", etc. Shapes the system prompt.
max_tokensnumberResponse token budget. OMIT THIS — the server sizes it from the live model's context window (25%). Values below 4,096 are IGNORED and the dynamic budget applies. Only set to raise the ceiling.
modelstringOptional: pin to a specific model id. When set, overrides automatic routing.
pathsarrayyesAbsolute file paths to analyse. Relative paths are rejected — always pass absolute.
presence_penaltynumberOpenAI-style presence penalty, -2 to 2.
repeat_penaltynumberPenalise repetition, 0–2 (1 = off, ~1.1 typical).
seedintegerDeterministic sampling seed — same seed + same prompt → reproducible output. Useful for testing.
stopstring|arrayStop sequence(s) — generation halts when one is produced (up to 4).
taskstringyesWhat to do: "Find bugs", "Explain this module", "Suggest a cleaner API", etc.
top_kintegerSample only from the top-K tokens (e.g. 40). 0/omitted = disabled.
top_pnumberNucleus sampling 0–1 (e.g. 0.9). Lower = more focused. Alternative to temperature.

No output schema declared.

No examples provided.

custom_prompt ~644

Structured analysis via the local LLM with explicit system/context/instruction separation. The 3-part format prevents context bleed in smaller models — the local LLM acknowledges the context in a fake assistant turn before receiving the instruction. Good fit when prompt structure matters: • Code review — paste full source, ask for bugs/improvements • Comparison — paste two implementations, ask which is better and why • Refactoring suggestions — paste code, ask for a cleaner version • Content analysis — paste text, ask for structure/tone/issues • Any task where separating context from instruction improves clarity Field guidance (each has a job — keep them focused): • system: persona + constraints, under 30 words. "Expert Python developer focused on performance and correctness." • context: COMPLETE data — full source, full logs, full text. Never truncate. • instruction: exactly what to produce, under 50 words. Specify format: "Return a JSON array of {line, issue, fix}." Review the output before acting on it — local model capability varies.

NameTypeReqDescription
contextstringThe COMPLETE data to analyse. Full source code, full logs, full text. NEVER truncate.
frequency_penaltynumberOpenAI-style frequency penalty, -2 to 2.
instructionstringyesWhat to produce. Specify format: "List 3 bugs as bullet points" or "Return a JSON array of {line, issue, fix}".
json_schemaobjectForce structured JSON output. Provide a JSON Schema object and the response will be guaranteed valid JSON conforming to it.
max_tokensnumberResponse token budget. OMIT THIS — the server sizes it from the live model's context window (25%, e.g. ~32,000 on a 128k-context model). Values below 4,096 are IGNORED (tiny caps strangle reasoning m…
modelstringOptional: pin to a specific model id. When set, overrides automatic routing.
presence_penaltynumberOpenAI-style presence penalty, -2 to 2.
repeat_penaltynumberPenalise repetition, 0–2 (1 = off, ~1.1 typical).
seedintegerDeterministic sampling seed — same seed + same prompt → reproducible output. Useful for testing.
stopstring|arrayStop sequence(s) — generation halts when one is produced (up to 4).
systemstringPersona. Be specific: "Expert Node.js developer focused on error handling and edge cases."
temperaturenumber0.1 for bugs/review, 0.3 for analysis (default), 0.5 for suggestions.
top_kintegerSample only from the top-K tokens (e.g. 40). 0/omitted = disabled.
top_pnumberNucleus sampling 0–1 (e.g. 0.9). Lower = more focused. Alternative to temperature.

No output schema declared.

No examples provided.

discover ~86

Check whether the local LLM is online and what model is loaded. Returns model name, context window size, response latency, and cumulative session stats (tokens offloaded so far). Call this if you are unsure whether the local LLM is available before delegating work. Fast — typically responds in under 1 second, or returns an offline status within 5 seconds if the host is unreachable.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

embed ~103

Generate text embeddings via the local LLM server. Requires an embedding model to be loaded (e.g. Nomic Embed). Returns a vector representation of the input text for semantic search, similarity comparison, or RAG pipelines. Uses the OpenAI-compatible /v1/embeddings endpoint.

NameTypeReqDescription
inputstringyesThe text to embed. Can be a single string.
modelstringEmbedding model ID. If omitted, uses whatever embedding model is loaded.

No output schema declared.

No examples provided.

list_models ~90

List all models on the local LLM server — both loaded (ready) and available (downloaded but not active). Shows rich metadata for each model: type (llm/vlm/embeddings), architecture, quantization, context window, and a capability profile describing what the model is best at. Use this to understand which models are available and suggest switching when a different model would suit the task better.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

stats ~136

Show user stats: tokens offloaded, calls made, per-model performance — for the current session AND lifetime (persisted in SQLite at ~/.houtini-lm/model-cache.db). Unlike `discover` which includes the model catalog, `stats` returns just the numbers in a compact markdown table — cheap to call repeatedly to see the 💰 Claude-quota savings counter climb. Useful for quantifying how much work the local model is genuinely doing, and for noticing when a model's reasoning-token ratio is drifting.

NameTypeReqDescription
modelstringOptional: filter output to a single model ID. Omit to see all models this workstation has used.

No output schema declared.

No examples provided.