MCP Catalogs
Home

mcp-logseq

by ergut·267·Score 51

An MCP server connecting Claude to LogSeq knowledge bases with read/write capabilities and optional vector search.

knowledge-graphproductivityai-llm
34
Forks
6
Open issues
2 mo ago
Last commit
2d ago
Indexed

Overview

The mcp-logseq server enables Claude to interact directly with LogSeq knowledge graphs via its HTTP API. It provides comprehensive tools for reading, creating, updating, and organizing pages within LogSeq, along with advanced features like semantic vector search and DB-mode graph support. The server implements intelligent markdown parsing to convert structured content into LogSeq's native block format, maintaining hierarchy and metadata.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automate knowledge organization by creating summaries from recent notes and project updates
you:Enhance research capabilities with cross-language semantic search across knowledge bases
you:Streamline documentation workflows by generating meeting notes and task pages from existing content
you:How do I set up vector search with this MCP server?
you:What LogSeq features does this server support?

When to choose this

Choose this if you're already using LogSeq and want to integrate AI directly into your knowledge workflow without data export or context switching.

When NOT to choose this

Don't choose this if you need cross-platform support beyond LogSeq, or if you're uncomfortable with running a local HTTP API server with full access to your notes.

Tools this server exposes

12 tools extracted from the README
  • list_pages

    Browse your LogSeq graph pages

  • get_page_content

    Read the content of a specific LogSeq page

  • create_page

    Create a new LogSeq page with structured markdown content

  • update_page

    Modify an existing LogSeq page with append or replace modes

  • delete_page

    Remove a page from the LogSeq graph

  • search

    Find content across the LogSeq graph by keywords

  • query

    Execute LogSeq DSL queries to find specific content

  • find_pages_by_property

    Search pages by their properties (DB-mode only)

  • get_page_backlinks

    Find pages that link to a specific page

  • rename_page

    Rename a page and update all references to it

  • update_block

    Edit block content by its UUID

  • vector_search

    Semantic search by meaning (requires vector setup)

Comparable tools

logseq-api-mcpobsidian-mcpshell-mcp

Installation

Step 1: Enable LogSeq API

  1. **Settings** → **Features** → Check "Enable HTTP APIs server"
  2. Click the **API button (🔌)** in LogSeq → **"Start server"**
  3. **Generate API token**: API panel → "Authorization tokens" → Create new

Step 2: Add to Claude (No Installation Required!)

Claude Desktop

Add to your config file (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "mcp-logseq": {
      "command": "uv",
      "args": ["run", "--with", "mcp-logseq", "mcp-logseq"],
      "env": {
        "LOGSEQ_API_TOKEN": "your_token_here",
        "LOGSEQ_API_URL": "http://localhost:12315"
      }
    }
  }
}

FAQ

How do I set up vector search with this MCP server?
Vector search is optional and requires Ollama (for embeddings) and LanceDB (vector database). See the [VECTOR_SEARCH.md](VECTOR_SEARCH.md) guide for full setup instructions.
What LogSeq features does this server support?
The server supports page management, block operations, property queries, namespaces, backlinks, DB-mode properties, and optional semantic vector search. It also includes smart markdown parsing to maintain hierarchical structure.

Compare mcp-logseq with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.