TriliumNext (trilium-mcp) MCP server
io.github.OVDEN13/trilium-mcp·v0.1.5·5 starsRead and write a self-hosted TriliumNext knowledge base over its ETAPI.
5 stars
Reviews
Write oneNobody has reviewed TriliumNext (trilium-mcp) yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
TriliumNext (trilium-mcp) tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 99 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How TriliumNext (trilium-mcp) compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 55/100
- higher than 10% of 48,255 servers
- GitHub stars
- 5
- more than 83% of 28,688 servers
Install TriliumNext (trilium-mcp) in Claude Code, Cursor or VS Code
claude mcp add trilium-mcp -- docker run -i --rm ghcr.io/ovden13/trilium-mcp:0.1.5
What the publisher says
From the TriliumNext (trilium-mcp) repository's README, as published. We do not edit it. Read it on GitHub
trilium-mcp
An MCP server that lets AI agents (Claude Desktop, Claude Code, any MCP-compatible client) read and write a self-hosted TriliumNext knowledge base over its ETAPI.
Single static Go binary. No runtime dependencies. Talks to your local Trilium over HTTP(S) and to the client over stdio.
Why
TriliumNext is a strong personal KB: tree-of-notes with attributes (labels, relations) that double as table columns / board lanes / calendar events. This MCP exposes the right slice of ETAPI so an agent can:
- Capture stuff into your notes (reading lists, decisions, research dumps).
- Maintain structured "tables" by creating notes-as-rows under a parent and tagging them with labels-as-columns.
- Search your existing KB and feed snippets back into a conversation.
It is intentionally minimal: ten tools, ~600 lines of Go, zero clever abstractions.
Tools
Quick start
1. Run TriliumNext
If you don't already have one:
# docker-compose.yml
services:
trilium:
image: triliumnext/notes:latest
ports:
- "8092:8080"
volumes:
- ./data:/home/node/trilium-datadocker compose up -dOpen http://localhost:8092/, finish the setup wizard, then Options → ETAPI → Create new ETAPI token. Copy the token (shown only once).
2. Install trilium-mcp
Pre-built binary (recommended) — grab the right archive from Releases.
From source with Go 1.23+:
go install github.com/OVDEN13/trilium-mcp@latestWith Docker (no Go on host):
git clone https://github.com/OVDEN13/trilium-mcp && cd trilium-mcp
docker build -t trilium-mcp .3. Configure
Copy .env.example to .env next to the binary:
TRILIUM_URL=http://localhost:8092
TRILIUM_TOKEN=your-etapi-token-here
# Optional:
# TRILIUM_HTTP_TIMEOUT_SECONDS=30Or pass the same as real environment variables — the server reads either.
4. Register with your MCP client
Claude Code (CLI):
claude mcp add --scope user trilium /path/to/trilium-mcp \
--env TRILIUM_URL=http://localhost:8092 \
--env TRILIUM_TOKEN=your-tokenClaude Desktop — add to ~/Library/Application Support/Claude/claudedesktopconfig.json (macOS) or the equivalent on your OS:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
TriliumNext (trilium-mcp): common questions
- Is TriliumNext (trilium-mcp) MCP server safe?
- With care: it is graded C, so read the findings first (55/100). Read the TriliumNext (trilium-mcp) safety report
- How do I install TriliumNext (trilium-mcp)?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does TriliumNext (trilium-mcp) need an API key?
- Yes. The registry entry asks for
TRILIUM_TOKEN. - Is TriliumNext (trilium-mcp) maintained?
- The last commit was 137 days ago (2026-06-20). The latest release is v0.1.5.
- How does TriliumNext (trilium-mcp) compare with other MCP servers?
- safety score 55/100 (higher than 10% of 48,255 servers); github stars 5 (more than 83% of 28,688 servers). Full comparison.