graphthulhu
MCP server that gives you full access to a Logseq or Obsidian knowledge graph. 37 tools across 9 categories: navigate, search, analyze, write, decisions, journals, flashcards, whiteboards, and health.
Install
Download the binary for your platform from GitHub Releases and put it on your PATH.
Or: go install github.com/skridlevsky/graphthulhu@latest
Configure
Obsidian
Add to your MCP settings:
{
"mcpServers": {
"graphthulhu": {
"command": "graphthulhu",
"args": ["--backend", "obsidian", "--vault", "/path/to/your/vault"]
}
}
}
No plugins required. Reads .md files directly. Full read-write support.
Logseq
Enable the HTTP API server in Logseq (Settings > Features > HTTP APIs server), start it, and create a token.
{
"mcpServers": {
"graphthulhu": {
"command": "graphthulhu",
"env": {
"LOGSEQ_API_URL": "http://127.0.0.1:12315",
"LOGSEQ_API_TOKEN": "your-token-here"
}
}
}
}
What you can do
- Navigate — get pages with full block trees, traverse the link graph, list pages by namespace/tag/property
- Search — full-text search with context, property queries, tag hierarchy search, raw Datalog (Logseq)
- Analyze — graph overview, find connections between pages, detect knowledge gaps and orphans, discover topic clusters
- Write — create pages, append/upsert blocks with nested children, update/delete/move blocks, link pages bidirectionally, rename pages with link updates, bulk update properties
- Decisions — create decisions with deadlines, check status, resolve or defer with tracking
- Journals — read entries by date range, search within journals
- Flashcards — SRS stats, due cards, create new cards (Logseq)
- Whiteboards — list and inspect spatial canvases (Logseq)
Links
1---
2name: graphthulhu
3description: Knowledge graph MCP server for Logseq and Obsidian. 37 tools for reading, writing, searching, and analyzing your second brain.
4metadata:
5 source: https://skillmd.com/skills/modbender/graphthulhu
6 openclaw:
7 requires:
8 bins:
9 - graphthulhu
10---
11
12# graphthulhu
13
14MCP server that gives you full access to a Logseq or Obsidian knowledge graph. 37 tools across 9 categories: navigate, search, analyze, write, decisions, journals, flashcards, whiteboards, and health.
15
16## Install
17
18Download the binary for your platform from [GitHub Releases](https://github.com/skridlevsky/graphthulhu/releases) and put it on your PATH.
19
20Or: `go install github.com/skridlevsky/graphthulhu@latest`
21
22## Configure
23
24### Obsidian
25
26Add to your MCP settings:
27
28```json
29{
30 "mcpServers": {
31 "graphthulhu": {
32 "command": "graphthulhu",
33 "args": ["--backend", "obsidian", "--vault", "/path/to/your/vault"]
34 }
35 }
36}
37```
38
39No plugins required. Reads `.md` files directly. Full read-write support.
40
41### Logseq
42
43Enable the HTTP API server in Logseq (Settings > Features > HTTP APIs server), start it, and create a token.
44
45```json
46{
47 "mcpServers": {
48 "graphthulhu": {
49 "command": "graphthulhu",
50 "env": {
51 "LOGSEQ_API_URL": "http://127.0.0.1:12315",
52 "LOGSEQ_API_TOKEN": "your-token-here"
53 }
54 }
55 }
56}
57```
58
59## What you can do
60
61- **Navigate** — get pages with full block trees, traverse the link graph, list pages by namespace/tag/property
62- **Search** — full-text search with context, property queries, tag hierarchy search, raw Datalog (Logseq)
63- **Analyze** — graph overview, find connections between pages, detect knowledge gaps and orphans, discover topic clusters
64- **Write** — create pages, append/upsert blocks with nested children, update/delete/move blocks, link pages bidirectionally, rename pages with link updates, bulk update properties
65- **Decisions** — create decisions with deadlines, check status, resolve or defer with tracking
66- **Journals** — read entries by date range, search within journals
67- **Flashcards** — SRS stats, due cards, create new cards (Logseq)
68- **Whiteboards** — list and inspect spatial canvases (Logseq)
69
70## Links
71
72- [GitHub](https://github.com/skridlevsky/graphthulhu)
73- [Full tool reference](https://github.com/skridlevsky/graphthulhu#tools)