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 121 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
Applemusic MCP
epheterson/applemusic-mcp
Apple Music MCP server: playlists, library, catalog, playback and Up Next, on Mac/Windows/Linux.
Active · last commit Oct 23, 2026
Developer toolsPythonpmndrs docs
pmndrs/docs
Search and read the docs and examples of react-three-fiber, drei, zustand, jotai...
Active · last commit Oct 13, 2026
Developer toolsTypeScriptPerforce P4 MCP Server
perforce/p4mcp-server
Perforce P4 MCP server for version control and P4 DAM digital asset management.
Active · last commit Sep 25, 2026
OfficialDeveloper toolsPythonGitHits
githits-com/githits-cli
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Active · last commit Oct 25, 2026
OfficialDeveloper toolsTypeScriptScrcpy MCP
JuanCF/scrcpy-mcp
MCP server for Android device control via ADB and scrcpy.
Maintained · last commit Sep 23, 2026
Developer toolsTypeScriptDvalincode
arthurpanhku/dvalincode
Deterministic security scanning, no model or API key, plus offline-verifiable proof a fix worked.
Active · 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.