Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mbadali25v0.1.21GPL-2.0-onlyIn 1 marketplace
Local models on your own GPU via Ollama, in two halves: three MCP tools that index a repo or folder into an on-disk vector store, search it, and answer from it inside your current session; and a `localgpu` shell/proxy that launches a separate Claude Code session running entirely on a local chat model, through a proxy translating the Anthropic Messages API into Ollama's chat API. Six commands cover setup, health checks, indexing, search, ask, and an honest account of which crew roles a local 7B can and cannot take over. No hooks and no agents; nothing leaves 127.0.0.1.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Uses the GPU already in your machine as a code search and Q&A sidecar. A local
Ollama instance embeds the repository into an on-disk vector index; three MCP
tools read from it and answer with file:line plus a three-line excerpt. Nothing
here calls a hosted API, and nothing here reviews your code.
It is a retrieval plugin with a chat model attached, not a local replacement
for the model you are talking to. The honest boundary is written down in
/localgpu:crew and repeated below, because the tempting thing to do with a local
model is exactly the thing that breaks a review gate.
It has two halves. The MCP tools put local retrieval inside the session you are
already in. The localgpu command puts a separate session on the local chat
model, through a proxy that translates the Anthropic Messages API into Ollama's
/api/chat. The second half never touches the first, and neither one edits crew's
config.
claude plugin install localgpu@useful-claude-add-ons
Then, once per repository:
/localgpu:setup # venv, models, config, MCP registration
/localgpu:index # first build of the index
localgpu registers no hooks. Nothing starts running when you enable it —
the commands run when you type them, and the MCP server spawns only in
repositories where /localgpu:setup wrote a .mcp.json entry and you approved it
via /mcp.
| Thing | Why |
|---|---|
Ollama on 127.0.0.1:11434 | Serves both models. Install it yourself; it registers a background service |
| ~5 GB of disk for models | nomic-embed-text (~270 MB) plus qwen2.5-coder:7b-instruct-q4_K_M (~4.7 GB) |
| A GPU with ~6 GB free VRAM | Runs on CPU, slowly. See the VRAM section |
| Python 3.10+ | /localgpu:setup builds an isolated venv; nothing installs into your system Python |
Windows, Linux, macOS and WSL. Under WSL, keep the repo on the Linux filesystem —
indexing a /mnt/c path is roughly an order of magnitude slower, and that shows up
as "this repo is big" rather than as a configuration problem.
| Command | Does |
|---|---|
/localgpu:setup | Detects Ollama, pulls the models, builds the venv, writes .localgpu/config.json, registers the MCP server |
/localgpu:doctor | Seven checks across Ollama, models, the venv and the localgpu CLI in it, config provenance, index freshness, MCP registration, VRAM settings |
/localgpu:index | Builds or refreshes the index. --full rebuilds; incremental is the default |
/localgpu:search | Semantic search, file:line plus a three-line excerpt |
/localgpu:ask | Puts a question to the local chat model, grounded in retrieved excerpts |
/localgpu:crew | What crew work a local 7B can and cannot take over — and what this plugin refuses to do about it |
Two more are shell commands rather than slash commands, because they start a process of their own:
| Command | Does |
|---|---|
localgpu shell | A separate Claude Code session on the local chat model |
localgpu proxy | The translating proxy in the foreground, for debugging it or for a non-Claude client |
The bundled localgpu skill is the reference behind all six slash commands and
both shell ones. It fires on its own when a conversation is about Ollama, local
models, or searching this repo by meaning, so the commands are an entry point
rather than the only path in.
Exactly three, registered per repository:
| Tool | Signature |
|---|---|
search_code | search_code(query, k=10, root=None, path_glob=None) |
index_status | index_status() |
index_refresh | index_refresh(root=None) |
search_code returns a location and at most three lines of context, never a
file. That is deliberate and it is the whole economics of the plugin: a location
plus enough text to judge it costs a few hundred tokens, and you then Read only
the range you decided you needed. A tool that returned files would spend more
context than it saved. crew:explorer follows the same rule for the same reason.
Embedding search finds ideas. An exact symbol, a magic string or an error code is
a Grep job and always will be — search_code is for when you do not know what
the code calls the thing you are looking for.
localgpu commandThe other half of the plugin is a console script, installed into
$LOCALGPU_HOME/venv by the bootstrap that /localgpu:setup runs.
| Command | Does |
|---|---|
localgpu shell [args for claude] | Starts the proxy on a loopback port, then launches a separate claude process with ANTHROPIC_BASE_URL pointed at it. Everything after the flags is passed straight through to claude |
localgpu proxy | Runs the same proxy in the foreground and prints the URL. For debugging it, or for pointing something other than Claude Code at the local model |
npx claudepluginhub mbadali25/useful-claude-add-ons --plugin localgpuBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground