Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. TriliumNext (trilium Mcp)
T
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:09:18 AM

TriliumNext (trilium Mcp)

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "triliumnext-trilium-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "triliumnext-trilium-mcp"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

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

ToolPurpose
create_noteCreate a note (optionally under a parent, with labels in one shot).
batch_create_notesCreate many notes in one call β€” saves per-call schema overhead during restructuring.
get_noteFetch note metadata; optionally include body content.
get_note_subtreeRecursively fetch a note + descendants up to N levels as a nested tree β€” replaces N+1 get_note calls.
update_notePartial update: include only the fields you want to change; omitted fields stay as-is.
append_contentAppend text to the body with a configurable separator.
delete_noteDelete a note and its subtree.
batch_delete_notesDelete many notes; partial failures don't stop the rest.
move_noteRe-parent a note in two ETAPI calls (vs the old read-recreate-delete dance).
clone_noteAdd the note under an additional parent β€” Trilium-native multi-parent links.
delete_branchRemove one parent-child link without deleting the note (un-clone).
search_notesFull-power Trilium search (#label, ~relation, note.title %= "regex", ancestor scoping, etc.).
add_labelAttach a label (#key=value) β€” acts as a "column" in collection views.
add_relationAttach a relation (~name β†’ noteId) β€” like a foreign key between notes.
remove_attributeRemove a label or relation by its attribute id.
list_attributesList all labels and relations on a note.

Quick start

1. Run TriliumNext

If you don't already have one:

docker-compose.yml
# docker-compose.yml
services:
  trilium:
    image: triliumnext/notes:latest
    ports:
      - "8092:8080"
    volumes:
      - ./data:/home/node/trilium-data
Terminal
docker compose up -d

Open 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+:

bash
go install github.com/OVDEN13/trilium-mcp@latest

With Docker (no Go on host):

bash
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:

env
TRILIUM_URL=http://localhost:8092
TRILIUM_TOKEN=your-etapi-token-here
# Optional:
# TRILIUM_HTTP_TIMEOUT_SECONDS=30

Or pass the same as real environment variables β€” the server reads either.

4. Register with your MCP client

Claude Code (CLI):

Terminal
claude mcp add --scope user trilium /path/to/trilium-mcp \
  --env TRILIUM_URL=http://localhost:8092 \
  --env TRILIUM_TOKEN=your-token

Claude Desktop β€” add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on your OS:

config.json
{
  "mcpServers": {
    "trilium": {
      "command": "/absolute/path/to/trilium-mcp",
      "env": {
        "TRILIUM_URL": "http://localhost:8092",
        "TRILIUM_TOKEN": "your-token"
      }
    }
  }
}

Restart the client. The ten tools should show up as trilium__*.

Usage patterns

"Database" of notes (the killer feature)

Trilium's collection views (Table / Board / Calendar) render any note's children based on shared labels. So a "table" is just a parent note + child notes + a consistent label schema:

Code
Books (parent)
β”œβ”€β”€ "Atomic Habits"   #status=read    #rating=9   #author=Clear
β”œβ”€β”€ "Antifragile"     #status=read    #rating=8   #author=Taleb
└── "Π”Π΅Π½ΡŒΠ³ΠΈ"          #status=reading             #author=Жонсон

An agent populates it like this:

jsonc
// 1. Create the row
create_note({
  parent_note_id: "<id of Books>",
  title: "Atomic Habits",
  labels: { "status": "read", "rating": "9", "author": "Clear" }
})

// 2. Query rows later
search_notes({ query: "#status=read #rating>=8", ancestor_note_id: "<id of Books>" })

Flip the parent's view to Table (or Board by status, or Calendar by a date label) in the Trilium UI and you have a database without ever leaving notes.

Append-only log

jsonc
append_content({ note_id: "<journal id>", content: "Decided to ship v0.2 on Monday." })

append_content is non-destructive β€” handy for daily journals, decision logs, ideation dumps.

Trilium search cheat sheet

  • #tag β€” note has label tag.
  • #status=active β€” label equals.
  • #rating>=8 β€” numeric comparison.
  • ~author.title *= "Clear" β€” follow a relation, match relation target's title.
  • note.title %= "^Re:" β€” regex on title.
  • note.content *= "kubernetes" β€” substring in body.
  • #status=active OR #status=pending β€” boolean.
  • Combine with ancestor_note_id to scope to a subtree.

Full reference: Trilium search docs.

Environment variables

VarDefaultNotes
TRILIUM_URLrequiredBase URL of your Trilium instance, e.g. http://localhost:8092. The /etapi path is added automatically, but a trailing /etapi is tolerated and stripped (so http://localhost:8092/etapi also works). Accepts multiple URLs separated by commas β€” the server tries them in order and falls back to the next one on transport errors (DNS/connection/timeout). HTTP errors like 404 are returned immediately without retry. Example: http://192.168.0.10:8092,https://memo.example.com (fast LAN first, public fallback).
TRILIUM_TOKENrequiredETAPI token from Trilium settings
TRILIUM_HTTP_TIMEOUT_SECONDS30Per-request timeout
TRILIUM_MCP_LOGinfooff / info / debug. Logs are written to stderr (stdout is reserved for the MCP JSON-RPC stream). info shows one line per tool call with name + duration + ok/error. debug also shows the request arguments and a truncated preview of the response.

Building from source

bash
git clone https://github.com/OVDEN13/trilium-mcp
cd trilium-mcp
go build -ldflags="-s -w" -o trilium-mcp .

Cross-compile (e.g. for macOS from Linux):

bash
GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -o trilium-mcp-darwin-arm64 .

Security notes

  • The server reads TRILIUM_TOKEN from env. Treat it like a password β€” anyone with it can read and write your entire KB. Keep .env out of git (it is in .gitignore).
  • The binary speaks only to your configured Trilium URL. It does not phone home, log to disk, or open any listening ports.
  • HTTPS works automatically (the binary ships with system CAs when run from the host; the Docker image includes ca-certificates).

Contributing

PRs welcome. Useful directions:

  • Stream large note bodies instead of buffering.
  • move_note / clone_note tools.
  • Bulk operations (add_label_to_many).
  • ETAPI v2 features as TriliumNext adds them.
  • Tests against an ephemeral TriliumNext container.

For substantive changes, please open an issue first to discuss the shape.

License

MIT.

trilium-mcp is an independent project; it is not endorsed by or affiliated with the TriliumNext project. TriliumNext itself is AGPL-3.0; this MCP server talks to it only over its public ETAPI.

Related MCP Servers

View all in Developer Tools View all alternatives
  • Atlas Mind logoAtlas Mind

    Self-hosted git-native knowledge base with an MCP endpoint your AI reads, writes and rewinds

    πŸ’» Developer Tools0 views
    Compare vs Atlas Mind β†’
  • A
    Ato Mcp

    Australian tax knowledge base: cited retrieval over ATO guidance, the ITAA & GST Acts, and rulings.

    πŸ’» Developer Tools0 views
    Compare vs Ato Mcp β†’
  • I
    Iknow

    Knowledge base MCP for AI agents on iknow.dev. Search, read, and maintain via OAuth.

    πŸ’» Developer Tools0 views
    Compare vs Iknow β†’
  • A
    Ai Netcafe

    Compare LLM cost & latency on one prompt, translate PDF keeping layout, cited research, make PPTX

    πŸ’» Developer Tools0 views
    Compare vs Ai Netcafe β†’

Frequently Asked Questions about TriliumNext (trilium Mcp)

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "triliumnext-trilium-mcp": { "command": "npx", "args": ["-y", "TriliumNext (trilium-mcp)"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTriliumNext (trilium Mcp) AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/triliumnext-trilium-mcp?style=directory)](https://allmcps.com/mcp/triliumnext-trilium-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/triliumnext-trilium-mcp"><img src="https://allmcps.com/api/badge/triliumnext-trilium-mcp?style=directory" alt="TriliumNext (trilium Mcp) on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to TriliumNext (trilium Mcp) β†’Install in Claude DesktopInstall in CursorInstall in VS Code