# llm-wiki-compiler

Compile documents into a persistent, cited knowledge wiki for AI agents. CLI, MCP server, and TypeScript SDK.

- **Type:** MCP server
- **Trust:** 85/100 (A), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 1.5.0
- **Author:** Ethan Joffe
- **License:** MIT
- **npm:** llm-wiki-compiler
- **Source:** https://github.com/atomicstrata/llm-wiki-compiler
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

85/100 (A), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 1 day

## Security scan

- **Status:** clean
- **Scanned:** 2026-10-22T07:30:17.138Z
- **Version scanned:** 1.5.0
- **CVEs:** none found by OSV at scan time

## Tools

16 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `ingest_source` — Add a user-requested document to this knowledge base: fetch a trusted URL or copy a trusted local file into sources/. Writes project files. Returns the saved fi
- `compile_wiki` — Update the persistent knowledge wiki after source documents change. Writes wiki pages or review candidates according to project policy. Extract concepts from ne
- `query_wiki` — Get a model-generated answer grounded in this knowledge base. For source evidence to reason over yourself, use get_context_pack instead. Selects relevant pages,
- `search_pages` — Select pages relevant to a question and return their full content. Uses semantic embeddings when available, falling back to LLM-based selection over the wiki in
- `read_page` — Read a single wiki page by slug. Searches concepts/ first, then queries/. Returns the parsed frontmatter and body. No LLM call required.
- `lint_wiki` — Run rule-based quality checks (broken wikilinks, orphans, duplicates, empty pages, broken citations). Returns structured diagnostics. No LLM call.
- `wiki_status`
- `get_context_pack`
- `run_eval` — Run the wiki quality eval harness. fast suite checks health and citation coverage without LLM calls. full suite also LLM-judges a sample of citations (requires 
- `verify_artifact` — Verify a hash-pinned artifact ref against the active profile's declared artifact types. Returns manifest metadata (artifactType, slug, sha256, bytes, contentKin
- `export_okf` — Export the wiki as an Open Knowledge Format (OKF) v0.1 bundle. `out` defaults to dist/exports/okf and must stay inside the project.
- `import_okf` — Import an OKF bundle from a path INSIDE the project as review candidates. Always staging-only — imported knowledge requires human review/approval before it ente
- `list_workflow_actions` — List the workflow actions declared by the active profile (id, label, workflow, operation). Read-only; takes no lock and mutates nothing.
- `describe_workflow_action` — Describe one declared workflow action, including its EFFECTIVE permission per surface = min(profile request, local grant, surface cap). The `mcp` surface is har
- `run_workflow_action` — Execute a declared workflow action. MCP actions are HARD-CAPPED at staged-write: they CANNOT perform trusted writes or satisfy human gates, regardless of what a
- `workflow_run_status` — Report the status of one workflow run (by runId) or of all runs, classified against the active profile (current / historical / needs-adaptation / blocked-by-con

## Install

**Verdict: install** — No blocking findings and no open coverage gaps — safe to install as configured.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"llm-wiki-compiler\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"llm-wiki-compiler\"\n      ]\n    }\n  }\n}"
```

## Blast radius

Extensive to critical — no credential declaration found, from the publisher, the upstream registry, or the README. Known so far: runs commands; runs on your machine.
- Floor 44, ceiling 72 (tier: unknown)
- `unknown` means the floor and ceiling land in different bands — not measured enough to name one. It does not mean low.
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/llm-wiki-compiler
- Install plan: https://forgeregistry.com/api/v1/packages/llm-wiki-compiler/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/llm-wiki-compiler
- HTML page: https://forgeregistry.com/registry/llm-wiki-compiler
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
