local-delegateSAFE
MCP that delegates mechanical text tasks to a local OpenAI-compatible LLM endpoint to conserve Claude subscription quota.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Delega tareas mecánicas texto→texto a un LLM local para conservar la cuota de tu suscripción de Claude. Un servidor MCP (stdio o daemon HTTP compartido) que es cliente genérico de cualquier endpoint OpenAI-compatible — llama-swap, Ollama, LM Studio, vLLM.
[](https://pypi.org/project/local-delegate-mcp/) [](https://github.com/ZahiriNatZuke/local-delegate/actions/workflows/ci.yml) [](./LICENSE)
[zahirinatzuke.github.io/local-delegate](https://zahirinatzuke.github.io/local-delegate/) — qué hace y por qué, en una página (es/en). Su fuente está en site/.
Demo
Dashboard embebido (datos de ejemplo): estado del backend local (modelos montados, delegación en curso con su progreso por trozos, tools MCP), RAM/VRAM del sistema con consumo por proceso, tokens de contexto conservados, ahorro por herramienta y modelo, dónde corrió el cómputo —esta máquina o un backend remoto— y actividad reciente paginada en tu hora local. Se sirve en `http://127.0.0.1:9393`.
¿Por qué?
Cuando Claude tiene que resumir un log enorme, clasificar, extraer campos o generar boilerplate, gasta cuota de tu suscripción en trabajo mecánico. local-delegate expone esas tareas como tools MCP que corren en un LLM local: pasas path en vez de text y el archivo se lee del lado del servidor, así el contenido grande nunca entra al contexto de Claude. Solo vuelve el resultado
1f9aaf928b75OBSERVED · 2026-10-11Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add local-delegate-mcp --env LOCAL_DELEGATE_API_KEY=${LOCAL_DELEGATE_API_KEY} -- None local-delegate-mcp==0.34.0Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (5 observation(s))
- Network
- declared (7 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (15)
.pre-commit-config.yaml
entrada = json.dumps(_entrada_hook("toolu_../../fuera", "C:/x/s.jsonl")).encode("utf-8")datos["cases"][0]["source_file"] = "../../CHANGELOG.md"
assert sync_wiki.convertir_destino("../../../fuera-del-repo.md") is None| 17 | El observador de clientes solo se probó con stdio | **MEDIDO Y CERRADO** | Cliente MCP propio contra `http://127.0.0.1:9393/mcp`: `local-delegate 0.18.1`, protocolo `2025-11-25`, 11 tools; y **
`{"type": "http", "url": "http://127.0.0.1:9393/mcp"}` — **sin cabeceras**.> Invoke-RestMethod http://127.0.0.1:9393/api/status
| 7 | Daemon | `http://127.0.0.1:9393/api/daemon` | **nadie** |
| REQ-002 los cinco MCP del repo + `local-delegate` | sí | sí | `MCP_DOCKER`, `codegraph`, `git`, `socket-mcp`, `jetbrains`, y `local-delegate` en `http://127.0.0.1:9393/mcp` |
if base64.b64decode(actual.get("content", "")).decode("utf-8") == contenido:descifrado = base64.b64decode(resto, validate=True).decode("utf-8")assert base64.b64decode(url.split(",", 1)[1]) == imagen.sourceescrita = json.loads(base64.b64decode(cuerpo["content"]))
return json.loads(base64.b64decode(cuerpo["content"]))
Gates applied: no_behavioural_pass.
1f9aaf928b75full audit observations/trust-audit/mcp-server/zahirinatzuke__local-delegate.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-11 | 1f9aaf928b75 | SAFE | B | 89 | first audit |
Questions
What is the local-delegate MCP server?
MCP that delegates mechanical text tasks to a local OpenAI-compatible LLM endpoint to conserve Claude subscription quota.
Is local-delegate safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does local-delegate need?
It reads GITHUB_TOKEN, LOCAL_DELEGATE_API_KEY and LOCAL_DELEGATE_WEB_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does local-delegate run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as local-delegate-mcp.
How current is this page?
The grade is for one exact copy of the source (1f9aaf928b75), read on 2026-10-11. The repository is watched and re-audited when it changes.