
LM MCP Server
by houtini-aiio.github.houtini-ai/lmv3.3.4
Connect Claude to any OpenAI-compatible LLM endpoint and offload routine work to a local model.
context tax
queued
security
queued
cold start
queued
freshness
Active3d ago
Install LM MCP server
Install in Claude Code
claude mcp add lm -e HOUTINI_LM_API_KEY='<houtini-lm-api-key>' -- npx -y @houtini/lmInstall in Cursor
{
"mcpServers": {
"lm": {
"command": "npx",
"args": [
"-y",
"@houtini/lm"
],
"env": {
"HOUTINI_LM_API_KEY": "<houtini-lm-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"lm": {
"command": "npx",
"args": [
"-y",
"@houtini/lm"
],
"env": {
"HOUTINI_LM_API_KEY": "<houtini-lm-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"lm": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@houtini/lm"
],
"env": {
"HOUTINI_LM_API_KEY": "<houtini-lm-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"lm": {
"command": "npx",
"args": [
"-y",
"@houtini/lm"
],
"env": {
"HOUTINI_LM_API_KEY": "<houtini-lm-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| HOUTINI_LM_ENDPOINT_URL | — | — | Base URL of the OpenAI-compatible API endpoint (e.g. http://localhost:1234, https://openrouter.ai/api). Legacy alias: LM_STUDIO_URL. |
| HOUTINI_LM_API_KEY | — | yes | Bearer token for API authentication (no auth if blank). Legacy aliases: LM_STUDIO_PASSWORD, LM_PASSWORD, OPENROUTER_API_KEY. |
| HOUTINI_LM_MODEL | — | — | Model identifier to use for requests (auto-detected if not set). Legacy alias: LM_STUDIO_MODEL. |
| HOUTINI_LM_PROVIDER | — | — | Optional provider override: 'openrouter' forces OpenRouter-specific handling (attribution headers, reasoning.exclude, no inference serialisation). Auto-detected from the endpoint URL when possible. |
Freshness
Active — last maintenance signal 3d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-06 · 3d ago · GitHub
Latest release
2026-03-18 · 7mo ago · GitHub · v2.8.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-07 · 3d ago · official registry · v3.3.4
FAQ
›How do I install the LM MCP server in Claude Code?
Run: claude mcp add lm -e HOUTINI_LM_API_KEY='<houtini-lm-api-key>' -- npx -y @houtini/lm. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does LM require an API key?
Yes. It expects HOUTINI_LM_API_KEY, of which 1 is a secret.
›Can I use LM as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is LM in the official MCP registry?
Yes, as io.github.houtini-ai/lm.
Alternatives to LM
Other ai & llm tools MCP servers.