LogSeq MCP Server

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

Local serverstdio

What is the LogSeq MCP Server?

LogSeq is an MCP project maintained in the ergut/mcp-logseq repository. The maintainer describes its purpose as “Transform your LogSeq knowledge base into an AI-powered workspace! This MCP server enables Claude to seamlessly interact with your LogSeq graphs”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares LOGSEQ_API_TOKEN, LOGSEQ_API_URL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the LogSeq MCP Server

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

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
LOGSEQ_API_TOKENDeclared in the maintainer’s client configuration.Yes
LOGSEQ_API_URLDeclared in the maintainer’s client configuration.Optional