Lm
Lm is an MCP server that connects Claude to any OpenAI-compatible LLM endpoint and offload routine work to a local model. It has 122 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @houtini/lm. It works with Claude Desktop, Claude Code, Cursor and VS Code and needs an API key.
github.com/houtini-ai/houtini-lm (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
- Needs API key
- Developer tools
- Apache-2.0
- Maintained
Install Lm
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"lm": {
"command": "npx",
"args": [
"-y",
"@houtini/lm"
],
"env": {
"HOUTINI_LM_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env HOUTINI_LM_API_KEY=your-value --transport stdio lm -- npx -y @houtini/lmCursor
{
"mcpServers": {
"lm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@houtini/lm"
],
"env": {
"HOUTINI_LM_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "houtini_lm_api_key",
"description": "HOUTINI_LM_API_KEY",
"password": true
}
],
"servers": {
"lm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@houtini/lm"
],
"env": {
"HOUTINI_LM_API_KEY": "${input:houtini_lm_api_key}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
HOUTINI_LM_ENDPOINT_URL | No | Base URL of the OpenAI-compatible API endpoint (e.g. http://localhost:1234, https://openrouter.ai/api). Legacy alias: LMSTUDIOURL. |
HOUTINI_LM_API_KEYsecret | No | Bearer token for API authentication (no auth if blank). Legacy aliases: LMSTUDIOPASSWORD, LMPASSWORD, OPENROUTERAPI_KEY. |
HOUTINI_LM_MODEL | No | Model identifier to use for requests (auto-detected if not set). Legacy alias: LMSTUDIOMODEL. |
HOUTINI_LM_PROVIDER | No | Optional provider override: 'openrouter' forces OpenRouter-specific handling (attribution headers, reasoning.exclude, no inference serialisation)… |
About Lm
Houtini LM is an MCP server that lets Claude (or any MCP client) hand bounded work to another model - a local LLM on your GPU, OpenAI's latest GPT models, a LiteLLM router, OpenRouter or a cheap cloud API - while you carry on working in the AI platform you already like. It cuts your token bill, and it gives you a second model to review your code whenever you want one.
- ai-agents
- claude-mcp
- code-generation
- developer-tool
- developer-tools
- lm-studio
- local-llm
- mcp
- mcp-client
- mcp-server
Similar MCP servers
More developer tools MCP servers
Agent Security Scanner MCP
sinewaveai/agent-security-scanner-mcp
Security layer for AI agents: blocks prompt injection, detects fake packages, scans vulnerabilities.
Active · last commit Sep 2, 2026
Developer toolsJavaScriptDvalincode
arthurpanhku/dvalincode
Deterministic security scanning, no model or API key, plus offline-verifiable proof a fix worked.
Active · last commit Nov 16, 2026
Developer toolsTypeScriptSuede AI Skills MCP
JasonColapietro/suede-creator-skills
Routes tasks to Suede skills, grades live pages A-F for Google and AI search, and checks copy.
Active · last commit Nov 15, 2026
Developer toolsJavaScriptMCP Observatory
KryptosAI/mcp-observatory
MCP security scanner. CI-native testing, attack simulation, health scoring, and SARIF.
Active · last commit Nov 12, 2026
Developer toolsTypeScriptMonkeymcp
jamesmontemagno/MonkeyMCP
MCP server providing monkey data, journeys, and location services for various monkey species.
Maintained · last commit Sep 29, 2026
Developer toolsJupyter Notebookviberank
sculptdotfun/viberank
Submit your AI coding usage (Claude Code, Codex, Gemini CLI) to viberank and read the leaderboard.
Maintained · last commit Oct 26, 2026
Developer toolsTypeScript
How do I install the Lm MCP server?
Add the command npx -y @houtini/lm to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Lm free?
The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (HOUTINI_LM_API_KEY) for the service it connects to, which may require a paid account.
Is Lm actively maintained?
The most recent commit was on Oct 25, 2026. The latest release is v2.8.0, published Mar 18, 2026. appsgit only lists MCP servers with a commit in the last six months.