Skip to content
Claude Code

TriliumNext (trilium-mcp) for Claude Code

io.github.ovden13/trilium-mcp

Read and write a self-hosted TriliumNext knowledge base over its ETAPI.

client:Claude Code transport:stdio runtime:oci

Install TriliumNext (trilium-mcp) in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add trilium-mcp -e TRILIUM_URL=<TRILIUM_URL> -e TRILIUM_TOKEN=<TRILIUM_TOKEN> -e TRILIUM_HTTP_TIMEOUT_SECONDS=<TRILIUM_HTTP_TIMEOUT_SECONDS> -e TRILIUM_MCP_LOG=<TRILIUM_MCP_LOG> -- docker run -i --rm ghcr.io/ovden13/trilium-mcp:0.1.5

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

TriliumNext (trilium-mcp) in other clients