ergut avatar

MCP LogSeq Server

ergut/mcp-logseq

The Mcp Logseq server enables Claude to read, create, and manage pages within LogSeq knowledge bases through the Model Context Protocol, providing tools for intelligent knowledge management, automated content creation, and smart research across stored notes. It supports optional semantic vector search using local Ollama embeddings for meaning-based queries and DB-mode graph support for reading and writing class properties, allowing users to leverage AI capabilities without leaving their LogSeq workflow or exporting data. The server connects to LogSeq's HTTP API using authentication tokens, eliminating the need for manual data transfer between systems.

GitHub stars
267
tools
20
last updated
Jan 29, 2026

Tools

20 tools

Public tool metadata for what this MCP can expose to an agent.

list_pagesBrowse your graph; `sort: "updated"` / `updated_since` find recently modified pages

Browse your graph; `sort: "updated"` / `updated_since` find recently modified pages

No parameter schema in public metadata yet.

get_page_contentRead page content

Read page content

No parameter schema in public metadata yet.

create_pageAdd new pages with structured blocks

Add new pages with structured blocks

No parameter schema in public metadata yet.

update_pageModify pages (append/replace modes)

Modify pages (append/replace modes)

No parameter schema in public metadata yet.

delete_pageRemove pages

Remove pages

No parameter schema in public metadata yet.

delete_blockRemove a block by UUID

Remove a block by UUID

No parameter schema in public metadata yet.

update_blockEdit block content by UUID

Edit block content by UUID

No parameter schema in public metadata yet.

get_blockRead a block by UUID with its properties and children

Read a block by UUID with its properties and children

No parameter schema in public metadata yet.

searchFind content across graph

Find content across graph

No parameter schema in public metadata yet.

queryExecute Logseq DSL queries (raw datalog not supported)

Execute Logseq DSL queries (raw datalog not supported)

No parameter schema in public metadata yet.

find_pages_by_propertySearch pages by property

Search pages by property

No parameter schema in public metadata yet.

get_pages_from_namespaceList pages in a namespace

List pages in a namespace

No parameter schema in public metadata yet.

get_pages_tree_from_namespaceHierarchical namespace view

Hierarchical namespace view

No parameter schema in public metadata yet.

rename_pageRename with reference updates

Rename with reference updates

No parameter schema in public metadata yet.

get_page_backlinksFind pages linking to a page

Find pages linking to a page

No parameter schema in public metadata yet.

insert_nested_blockInsert child/sibling blocks

Insert child/sibling blocks

No parameter schema in public metadata yet.

set_block_propertiesSet DB-mode class properties on a block

Set DB-mode class properties on a block

No parameter schema in public metadata yet.

vector_searchSemantic search by meaning

Semantic search by meaning

No parameter schema in public metadata yet.

sync_vector_dbSync vector DB with graph files

Sync vector DB with graph files

No parameter schema in public metadata yet.

vector_db_statusShow vector DB health and staleness

Show vector DB health and staleness

No parameter schema in public metadata yet.

Sponsors

Readme

MCP LogSeq

MCP server for LogSeq

Connect Claude to your LogSeq knowledge base. Read, create, and manage pages β€” with optional semantic vector search and DB-mode graph support.

✨ What You Can Do

Transform your LogSeq knowledge base into an AI-powered workspace! This MCP server enables Claude to seamlessly interact with your LogSeq graphs.

🎯 Real-World Examples

πŸ“Š Intelligent Knowledge Management

"Analyze all my project notes from the past month and create a status summary"
"Find pages mentioning 'machine learning' and create a study roadmap"
"Search for incomplete tasks across all my pages"

πŸ“ Automated Content Creation

"Create a new page called 'Today's Standup' with my meeting notes"
"Add today's progress update to my existing project timeline page"  
"Create a weekly review page from my recent notes"

View the full README on GitHub

Details

Repository
github.com/ergut/mcp-logseq
Category
Documents & Knowledge

Related Documents & Knowledge MCP servers

View all
1kujenga avatarZotero MCPkujenga/zotero-mcpSearch your Zotero library, retrieve item metadata, and read full text from AI assistants.162stars
2pvliesdonk avatarMarkdown Vault MCPpvliesdonk/markdown-vault-mcpGeneric markdown vault MCP with hybrid search38stars
3epochal-dev avatarOpen Notebookepochal-dev/open-notebook-mcpMCP server that wraps the Open Notebook API30stars
4keshrath avatarAgent Knowledgekeshrath/agent-knowledgeCross-session memory for AI agents - knowledge graph, scoring, semantic search19stars
5oleksandrkucherenko avatarObsidian Vault MCP Serveroleksandrkucherenko/mcp-obsidian-via-restAccess Obsidian vaults via Local REST API - read, search, and interact with notes13stars
6aryanbv avatarPdf Toolkit Mcparyanbv/pdf-toolkit-mcpWrite-capable PDF toolkit MCP: 22 tools to read, create, render, encrypt, merge & fill PDFs.7stars