lm
local MCP serverlm is a local MCP server: Connect Claude to any OpenAI-compatible LLM endpoint and offload routine work to a local model. Install it from npm as @houtini/lm.
Installation
Terminal
claude mcp add lm -e HOUTINI_LM_ENDPOINT_URL=... -e HOUTINI_LM_API_KEY=... -e HOUTINI_LM_MODEL=... -e HOUTINI_LM_PROVIDER=... -- npx -y @houtini/lm
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"lm": {
"command": "npx",
"args": [
"-y",
"@houtini/lm"
],
"env": {
"HOUTINI_LM_ENDPOINT_URL": "...",
"HOUTINI_LM_API_KEY": "...",
"HOUTINI_LM_MODEL": "...",
"HOUTINI_LM_PROVIDER": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
HOUTINI_LM_ENDPOINT_URL,HOUTINI_LM_API_KEY,HOUTINI_LM_MODEL,HOUTINI_LM_PROVIDER
Summary
Connect Claude to any OpenAI-compatible LLM endpoint and offload routine work to a local model.
lm vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| lm | 119 | Local | Yes | npm |
| ros-mcp-server | 1,479 | Local | No | pypi |
| Persome | 1,324 | Local | No | pypi |
| openflowkit-mcp | 816 | Local | No | npm |
| telemem | 492 | Local | Yes | pypi |
Questions
It reads 4 environment variables: HOUTINI_LM_ENDPOINT_URL, HOUTINI_LM_API_KEY, HOUTINI_LM_MODEL, HOUTINI_LM_PROVIDER. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
lm is a local MCP server distributed as the npm package @houtini/lm.
Run: claude mcp add lm -e HOUTINI_LM_ENDPOINT_URL=... -e HOUTINI_LM_API_KEY=... -e HOUTINI_LM_MODEL=... -e HOUTINI_LM_PROVIDER=... -- npx -y @houtini/lm
Run: codex mcp add lm --env HOUTINI_LM_ENDPOINT_URL=... --env HOUTINI_LM_API_KEY=... --env HOUTINI_LM_MODEL=... --env HOUTINI_LM_PROVIDER=... -- npx -y @houtini/lm
Similar MCP servers
NameStars
- ros-mcp-serverio.github.robotmcp/ros-mcp-server1,479
- Persomeio.github.Intuition-Lab/personal-model1,324
- openflowkit-mcpio.github.Vrun-design/openflowkit-mcp816
- telememio.github.TeleAI-UAGI/telemem492
- evalview-mcpio.github.hidai25/evalview-mcp135
- freellmpoolio.github.0xzr/freellmpool117
- Huntress MCPio.github.Servosity/huntress-mcp46
- ImmyBot MCPio.github.Servosity/immybot-mcp46