L

Localize

by JoblessJoe · io.github.JoblessJoe/localize

Enables Claude to offload noisy commands, large files, and web research to a local OpenAI-compatible LLM, receiving only concise cited answers instead of the raw material. It also optionally delegates writing a single file inside an isolated git worktree, retrying until a Claude-authored test passes.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-joblessjoe-localize": {
      "command": "npx",
      "args": [
        "-y",
        "localize-mcp"
      ],
      "env": {
        "LLW_BASE_URL": "http://localhost:11434",
        "LLW_MODEL": "",
        "LLW_SEARCH_URL": "",
        "LLW_API": "auto",
        "LLW_API_KEY": "",
        "LLW_HEADERS": "{}",
        "LLW_NUM_CTX": "32768",
        "LLW_AUTO_USE": "offload, research",
        "LLW_LOG_PATH": "~/.local-llm-worker/runs.jsonl",
        "LLW_LINK_DIRS": "node_modules, .venv, venv, vendor",
        "LLW_KEEP_ALIVE": "",
        "LLW_MAX_TOKENS": "8192",
        "LLW_TIMEOUT_MS": "600000",
        "LLW_CONCURRENCY": "4",
        "LLW_MAX_ATTEMPTS": "3",
        "LLW_OFFLOAD_MODEL": "",
        "LLW_DELEGATE_MODEL": "",
        "LLW_RESEARCH_MODEL": "",
        "LLW_PAGE_TIMEOUT_MS": "30000",
        "LLW_TEST_TIMEOUT_MS": "600000",
        "LLW_RESEARCH_SOURCES": "3",
        "LLW_ALLOW_PRIVATE_URLS": "false"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-joblessjoe-localize": {
      "command": "npx",
      "args": [
        "-y",
        "localize-mcp"
      ],
      "env": {
        "LLW_BASE_URL": "http://localhost:11434",
        "LLW_MODEL": "",
        "LLW_SEARCH_URL": "",
        "LLW_API": "auto",
        "LLW_API_KEY": "",
        "LLW_HEADERS": "{}",
        "LLW_NUM_CTX": "32768",
        "LLW_AUTO_USE": "offload, research",
        "LLW_LOG_PATH": "~/.local-llm-worker/runs.jsonl",
        "LLW_LINK_DIRS": "node_modules, .venv, venv, vendor",
        "LLW_KEEP_ALIVE": "",
        "LLW_MAX_TOKENS": "8192",
        "LLW_TIMEOUT_MS": "600000",
        "LLW_CONCURRENCY": "4",
        "LLW_MAX_ATTEMPTS": "3",
        "LLW_OFFLOAD_MODEL": "",
        "LLW_DELEGATE_MODEL": "",
        "LLW_RESEARCH_MODEL": "",
        "LLW_PAGE_TIMEOUT_MS": "30000",
        "LLW_TEST_TIMEOUT_MS": "600000",
        "LLW_RESEARCH_SOURCES": "3",
        "LLW_ALLOW_PRIVATE_URLS": "false"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-joblessjoe-localize": {
      "command": "npx",
      "args": [
        "-y",
        "localize-mcp"
      ],
      "env": {
        "LLW_BASE_URL": "http://localhost:11434",
        "LLW_MODEL": "",
        "LLW_SEARCH_URL": "",
        "LLW_API": "auto",
        "LLW_API_KEY": "",
        "LLW_HEADERS": "{}",
        "LLW_NUM_CTX": "32768",
        "LLW_AUTO_USE": "offload, research",
        "LLW_LOG_PATH": "~/.local-llm-worker/runs.jsonl",
        "LLW_LINK_DIRS": "node_modules, .venv, venv, vendor",
        "LLW_KEEP_ALIVE": "",
        "LLW_MAX_TOKENS": "8192",
        "LLW_TIMEOUT_MS": "600000",
        "LLW_CONCURRENCY": "4",
        "LLW_MAX_ATTEMPTS": "3",
        "LLW_OFFLOAD_MODEL": "",
        "LLW_DELEGATE_MODEL": "",
        "LLW_RESEARCH_MODEL": "",
        "LLW_PAGE_TIMEOUT_MS": "30000",
        "LLW_TEST_TIMEOUT_MS": "600000",
        "LLW_RESEARCH_SOURCES": "3",
        "LLW_ALLOW_PRIVATE_URLS": "false"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-joblessjoe-localize": {
      "command": "npx",
      "args": [
        "-y",
        "localize-mcp"
      ],
      "env": {
        "LLW_BASE_URL": "http://localhost:11434",
        "LLW_MODEL": "",
        "LLW_SEARCH_URL": "",
        "LLW_API": "auto",
        "LLW_API_KEY": "",
        "LLW_HEADERS": "{}",
        "LLW_NUM_CTX": "32768",
        "LLW_AUTO_USE": "offload, research",
        "LLW_LOG_PATH": "~/.local-llm-worker/runs.jsonl",
        "LLW_LINK_DIRS": "node_modules, .venv, venv, vendor",
        "LLW_KEEP_ALIVE": "",
        "LLW_MAX_TOKENS": "8192",
        "LLW_TIMEOUT_MS": "600000",
        "LLW_CONCURRENCY": "4",
        "LLW_MAX_ATTEMPTS": "3",
        "LLW_OFFLOAD_MODEL": "",
        "LLW_DELEGATE_MODEL": "",
        "LLW_RESEARCH_MODEL": "",
        "LLW_PAGE_TIMEOUT_MS": "30000",
        "LLW_TEST_TIMEOUT_MS": "600000",
        "LLW_RESEARCH_SOURCES": "3",
        "LLW_ALLOW_PRIVATE_URLS": "false"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-joblessjoe-localize": {
      "command": "npx",
      "args": [
        "-y",
        "localize-mcp"
      ],
      "env": {
        "LLW_BASE_URL": "http://localhost:11434",
        "LLW_MODEL": "",
        "LLW_SEARCH_URL": "",
        "LLW_API": "auto",
        "LLW_API_KEY": "",
        "LLW_HEADERS": "{}",
        "LLW_NUM_CTX": "32768",
        "LLW_AUTO_USE": "offload, research",
        "LLW_LOG_PATH": "~/.local-llm-worker/runs.jsonl",
        "LLW_LINK_DIRS": "node_modules, .venv, venv, vendor",
        "LLW_KEEP_ALIVE": "",
        "LLW_MAX_TOKENS": "8192",
        "LLW_TIMEOUT_MS": "600000",
        "LLW_CONCURRENCY": "4",
        "LLW_MAX_ATTEMPTS": "3",
        "LLW_OFFLOAD_MODEL": "",
        "LLW_DELEGATE_MODEL": "",
        "LLW_RESEARCH_MODEL": "",
        "LLW_PAGE_TIMEOUT_MS": "30000",
        "LLW_TEST_TIMEOUT_MS": "600000",
        "LLW_RESEARCH_SOURCES": "3",
        "LLW_ALLOW_PRIVATE_URLS": "false"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-joblessjoe-localize": {
      "command": "npx",
      "args": [
        "-y",
        "localize-mcp"
      ],
      "env": {
        "LLW_BASE_URL": "http://localhost:11434",
        "LLW_MODEL": "",
        "LLW_SEARCH_URL": "",
        "LLW_API": "auto",
        "LLW_API_KEY": "",
        "LLW_HEADERS": "{}",
        "LLW_NUM_CTX": "32768",
        "LLW_AUTO_USE": "offload, research",
        "LLW_LOG_PATH": "~/.local-llm-worker/runs.jsonl",
        "LLW_LINK_DIRS": "node_modules, .venv, venv, vendor",
        "LLW_KEEP_ALIVE": "",
        "LLW_MAX_TOKENS": "8192",
        "LLW_TIMEOUT_MS": "600000",
        "LLW_CONCURRENCY": "4",
        "LLW_MAX_ATTEMPTS": "3",
        "LLW_OFFLOAD_MODEL": "",
        "LLW_DELEGATE_MODEL": "",
        "LLW_RESEARCH_MODEL": "",
        "LLW_PAGE_TIMEOUT_MS": "30000",
        "LLW_TEST_TIMEOUT_MS": "600000",
        "LLW_RESEARCH_SOURCES": "3",
        "LLW_ALLOW_PRIVATE_URLS": "false"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
LLW_BASE_URL No Backend root. A trailing `/v1` is stripped. Default: http://localhost:11434
LLW_MODEL No Default model for both tools.
LLW_SEARCH_URL No SearXNG instance for research (JSON output enabled).
LLW_API No API type: auto, ollama, or openai. Auto probes /api/version. Default: auto
LLW_API_KEY No Sent as Authorization: Bearer. Shown as (set), never printed. Plugin users can set it under the plugin's settings instead, which keeps it in the OS keychain.
LLW_HEADERS No Extra HTTP headers for a gateway, e.g. {"X-Api-Key": "..."}. Values shown as (set). Default: {}
LLW_NUM_CTX No Context window (Ollama). Default: 32768
LLW_AUTO_USE No Tools Claude uses on its own, via a short session-start reminder. delegate is opt-in. Every tool still works when you ask for it; [] turns the reminder off. Default: offload, research
LLW_LOG_PATH No Run log; "" disables. Default: ~/.local-llm-worker/runs.jsonl
LLW_LINK_DIRS No Symlinked into each worktree. Default: node_modules, .venv, venv, vendor
LLW_KEEP_ALIVE No Ollama only: how long the model stays loaded, e.g. "30m" or -1 (forever). "" keeps the server default (5 min).
LLW_MAX_TOKENS No Output limit per answer, sent on both APIs (num_predict on Ollama). A cut-off answer is reported, not tested. Default: 8192
LLW_TIMEOUT_MS No Per LLM request, counted from slot acquisition. Default: 600000
LLW_CONCURRENCY No Max in-flight LLM requests per server process. Default: 4
LLW_MAX_ATTEMPTS No Delegate rounds (cap 10). Default: 3
LLW_OFFLOAD_MODEL No Override for offload (e.g. long-context).
LLW_DELEGATE_MODEL No Override for delegate (e.g. a coder).
LLW_RESEARCH_MODEL No Override for research (e.g. long-context).
LLW_PAGE_TIMEOUT_MS No Per page download and per search. Default: 30000
LLW_TEST_TIMEOUT_MS No Per test / command run. Default: 600000
LLW_RESEARCH_SOURCES No Pages research reads per search (max 10). Default: 3
LLW_ALLOW_PRIVATE_URLS No Let research read pages on loopback, link-local or private addresses (the search_url itself is always allowed). Default: false

Similar servers