Logseq MCP Server

Logseq Model Context Protocol Agent

Local serverstdio

What is the Logseq MCP Server?

Logseq Model Context Protocol Agent

What it actually does

A powerful AI assistant that connects Logseq with Claude and other LLMs using the Model Context Protocol (MCP).

Logseq MCP Agent lets AI assistants like Claude directly interact with your Logseq knowledge graph - search your notes, create content, organize information, and manage tasks.

Configuration

  • Logseq with HTTP API enabled - A Logseq API token - Claude Desktop or other MCP-compatible AI assistant

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Logseq MCP Server

{
     "mcpServers": {
       "logseq": {
         "command": "npx",
         "args": [
           "logseq-mcp"
         ],
         "env": {
           "LOGSEQ_TOKEN": "your_logseq_token"
         }
       }
     }
   }

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Logseq with HTTP API enabled - A Logseq API token - Claude Desktop or other MCP-compatible AI assistant
VariableDescriptionRequired
LOGSEQ_TOKENCredential the server authenticates with.Yes
LOGSEQ_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • “Use Logseq to Prerequisites.”
  • “Use Logseq to Debugging.”
  • “Use Logseq to Building.”

Frequently asked questions

Logseq Model Context Protocol Agent Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.