Loki Mode MCP server
Autonomous spec-to-product coding-agent CLI with an MCP server exposing 39 tools over stdio.
1.1k stars4.8k downloads/wk
Reviews
Write oneNobody has reviewed Loki Mode yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Loki Mode tools (41, 5 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
_env_to_threadwrite actionRun a blocking callable off the event loop.
loki_agent_metricsGet agent metrics including token usage, task completion rates, and timing.
loki_checkpoint_restoreList available checkpoints or restore project state from a specific checkpoint.
loki_code_searchSearch the loki-mode codebase semantically.
loki_code_search_statsGet statistics about the code search index.
loki_complete_taskDeclare that the current PRD / task is complete.
loki_consolidate_memorywrite actionRun memory consolidation to extract patterns from recent episodes.
loki_counter_evidence_templateGenerate a counter-evidence file template for the given iteration.
loki_findingsRead structured code-review findings for a given iteration.
loki_get_co_changesFind files that frequently change together with a given file.
loki_get_doc_coverageGet documentation coverage status for the project.
loki_get_hotspotsGet the most frequently changed files in the repository.
loki_graph_queryAnswer a codebase question from a knowledge graph instead of reading files.
loki_learningsRead recent learnings (newest first) from relevant-learnings.json.
loki_memory_capture_session_summaryv7.7.18 capture wedge: store an episode for the current agent session.
loki_memory_redactRedact memory versions in the managed-agents store whose content matches a regex.
loki_memory_retrieveloki_memory_store_patternStore a new semantic pattern learned during this session.
loki_metrics_efficiencyGet efficiency metrics for the current session.
loki_project_statusGet the current project status including RARV cycle state, agent activity, and task progress.
loki_quality_reportGet quality gate results including blind review scores, council verdicts, and test coverage.
loki_start_projectStart a new Loki Mode project from a PRD.
loki_state_getGet the current Loki Mode state including phase, metrics, and status.
loki_task_queue_addAdd a new task to the Loki Mode task queue.
loki_task_queue_listList all tasks in the Loki Mode task queue.
loki_task_queue_updatewrite actionUpdate a task's status or priority.
loki_v10_runwrite actionStart a Loki 10 run in the background (same engine as `loki <ref>`).
loki_v10_statusRead the state of a Loki 10 run from its events log.
loki_v10_verifywrite actionRun `loki verify` on a receipt (or the newest run of a repo).
loki_verify_fastVerify code deterministically in milliseconds. No model call, no network.
lsp_check_existsCheap existence check for a symbol in the current workspace.
lsp_find_definition_by_nameFind where a named symbol is defined, without needing a file position upfront. Convenience wrapper: runs workspace/symbol then returns the first result's location.
lsp_find_referencesFind references to the symbol at the given file / line / character.
lsp_get_diagnosticsReturn current LSP diagnostics (errors + warnings) for a file.
lsp_go_to_definitionResolve the definition location for the symbol at file / line / character.
lsp_symbol_at_positionReturn the hover / symbol info at the given file / line / character. Uses LSP `textDocument/hover` which returns a `MarkupContent` plus an optional range.
lsp_workspace_symbolsFuzzy-search symbols across the entire workspace.
mem_getFetch full details for one or more memory entries by ID.
mem_searchSearch memory using full-text search (FTS5).
mem_timelineGet chronological context from memory timeline.
Public scan report
scanner v0.1.10 · 2026-10-15 · same rubric, same numbers if you re-run it
- Code scan555 source files scanned15/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (2)
- mediumsubprocess with shell=True
exec.shell-trueautonomy/lib/workspace.py: …etup: s = subprocess.run(setup, shell=True, cwd=dest, capture_output=True, text=Tr…
- mediumeval / new Function used
exec.evalautonomy/run.sh: … # v7.5.8: Strict whitelist before eval (mirrors app-runner.sh # …
How Loki Mode compares
Against every graded E-commerce MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 77/100
- higher than 55% of 2,174 E-commerce servers
- Tools
- 41
- the typical E-commerce server has 6
- Tools that change things
- 12%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1,096
- more than 95% of 1,047 E-commerce servers
- Downloads a week
- 4,835
- more than 95% of 411 E-commerce servers with a package
What its tools let an agent do: 36 read · 5 change
Release history: 2 versions in the registry since 2026-09-14, latest 2026-10-03, typically one every 19 days.
Install Loki Mode in Claude Code, Cursor or VS Code
Runs npx -y loki-mode on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add loki-mode -- npx -y loki-mode
What the publisher says
From the Loki Mode repository's README, as published. We do not edit it. Read it on GitHub
Loki Mode
The spec-driven autonomous builder with verified completion.
The free, source-available autonomous coding agent by Autonomi. Same Loki CLI, SDK, and MCP for everyone; the commercial editions for teams and enterprises are sold under the Autonomi brand (Autonomi Cloud, Autonomi Enterprise).
Hand it a spec. It does not accept "done" on an empty diff or failing tests.
Website | Documentation | Installation | Changelog
Install
bun install -g loki-mode # recommended (npm, Homebrew, Docker below)Other install methods
Upgrade with loki self-update. Long form: Installation Guide.
Claude Code plugin (adds /loki-grill, /loki-spec-status, /loki-verify)
claude plugin marketplace add asklokesh/loki-mode
claude plugin install loki-mode@loki-modeAdds three slash commands and the Loki MCP server (memory, task queue, code search, build management) to Claude Code. It calls the CLI rather than bundling it, so install loki-mode above first. Verify with claude plugin list: a healthy install reports Status: enabled.
Use it
loki quickstart # guided first build: asks a few questions, quotes cost, buildsThat is the whole happy path. It asks for a one-line idea, picks a template, shows the real cost and time estimate before spending anything, then builds. Press Enter through every step and you get a sample Todo app.
One command, no prompts (CI, scripts, containers, any shell without a terminal):
loki quickstart "a todo app with user accounts" --yesBoth halves are required with no terminal: an idea (or a path to a PRD file) and an explicit --yes. Given both, Loki picks the top-ranked template automatically, prints the same honest cost and time estimate, and starts the build without asking anything. Missing either half exits 2 with the needs-a-terminal message and writes nothing, so an ambient LOKIAUTOCONFIRM or a stray argument in CI can never start a paid build on its own. Existing files are never overwritten: if prd.md is present the PRD lands at prd-quickstart.md, then numbered suffixes as needed.
Choose an exact shipped starter when the top-ranked match is not the one you want:
loki quickstart --list-templates
loki quickstart --list-templates --json # schema-v1 automation output
loki quickstart "an internal reporting workspace" --template dashboard --yesShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-09-19restoreC → Bscore 77: eval / new Function used; subprocess with shell=True
- 2026-09-19restoreD → Cscore 58: Whole environment serialized (possible credential exfil); eval / new Function used; subprocess with shell=True
- 2026-09-19restoreF → Dscore 54: Whole environment serialized (possible credential exfil); curl | sh in a script; eval / new Function used
Loki Mode: common questions
- Is Loki Mode MCP server safe?
- Mostly: it is graded B (77/100). Read the Loki Mode safety report
- How do I install Loki Mode?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Loki Mode need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Loki Mode maintained?
- The last commit was 20 days ago (2026-10-15). The latest release is v10.9.1.
- What can I use instead of Loki Mode?
- Servers from other publishers that do the same job: Ecommerce Trends MCP server, PostHog MCP Server and New-Term Radar MCP server.
- How does Loki Mode compare with other E-commerce MCP servers?
- safety score 77/100 (higher than 55% of 2,174 E-commerce servers); tools 41 (the typical E-commerce server has 6); tools that change things 12% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Loki Mode
Same job from other publishers: the closest match first, then the best rated.
Ecommerce Trends MCPProduct and category demand trend volume over time, with growth signals. Free key at trendsmcp.ainot reviewedGrowingA- PostHog MCP ServerOfficial PostHog MCP Server for product analytics, feature flags, experiments, and more.not reviewedEstablishedA
- New-Term RadarNew AI model, product and repo names as they surface, and the search terms behind them, sized.not reviewedEstablishedB
- Idea RealityPre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.not reviewedEstablishedB
- StripeMCP server integrating with Stripe - tools for customers, products, payments, and more.not reviewedEstablishedA