munin-mcp
v0.2.0
Published
Munin local CLI — `munin` one-command bootstrap, ingest, extract and MCP wiring for the open-core local product. The hosted/managed product and the verticals are separate and closed.
Readme
munin-mcp
The Munin local CLI. Ships the munin command — one-command bootstrap, ingest,
extract, status, and MCP-client wiring for the local product.
Install
npm install -g munin-mcp @muninhq/mcpQuickstart
One guided command provisions your home, helps you pick a model, adds files, wires your AI client, and verifies it — the recommended first run:
munin setupIt defaults to "local store · cloud AI": your files stay on this machine, and only
the passages a question needs go to the provider you choose under your own key
(munin set-key openai is the one-key path — no Ollama needed). Prefer zero egress?
Choose Local (Ollama) in the wizard, or munin init --local. Restart your AI
client, then ask it something about your documents.
Prefer the steps by hand? The wizard just orchestrates these:
munin init # bootstrap ~/.munin (config + local store + tenant)
munin set-key openai # add a cloud key (or `munin use-local` for zero egress)
munin ingest /path/to/your/docs # add a folder of documents
munin extract # build the local knowledge graph (in-process)
munin status # corpus health (no LLM call)munin init, munin status, ingest and extract open a local PGlite store and
run the engine's bundled SQL migrations from the installed package — no repository
checkout and no tsx are needed at runtime. The default configuration written by
munin init is @muninhq/config-personal.
Wire your AI client
The MCP server is the installed munin-mcp bin (from @muninhq/mcp). Add it to your
client's MCP config, pointing MUNIN_HOME at the home munin init created (omit
MUNIN_HOME to use the default ~/.munin). For Claude Desktop —
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"munin": {
"command": "munin-mcp",
"env": { "MUNIN_HOME": "/Users/you/.munin" }
}
}
}Restart the client, then ask it about your documents. If the client cannot find
munin-mcp on its launch PATH, replace "command": "munin-mcp" with the absolute
path that which munin-mcp prints.
Automated wiring.
munin mcp connect --write/munin mcp doctorwrite and check the block above for you. When Munin is installed (global or local), connect resolves the publishedmunin-mcpbin and emits an installed-bin launcher —<node> <node_modules>/@muninhq/mcp/dist/main.js— with nopnpm, no--dir, and no checkout path, so it works for an installed user. (From a dev repository checkout it instead emits apnpm --dir <checkout>/packages/mcplauncher.) The launcher is this-machine-specific, so re-run connect after moving the install or the home.
Run munin --help for the full command list.
Open core
Part of the Munin open-core local product, released under AGPL-3.0-only (see LICENSE and the repository NOTICE). The hosted / managed product, team features, and the vertical configurations (e.g. MAT / HR) are a separate, closed commercial product and are not licensed under the AGPL.
