Logseq MCP Server

Agents need durable memory, and you already maintain one — your graph. The missing piece is access you can trust: an agent should read broadly and

Local serverstdio

What is the Logseq MCP Server?

Agents need durable memory, and you already maintain one — your graph. The missing piece is access you can trust: an agent should read broadly and write usefully

What you get

  • Namespace-scoped writes. — Agents write only under their own prefix
  • An audit trail in your daily journal. — Every successful write appends a
  • Verified queries as tools. — Ship known-good Datalog from config as named

Configuration and credentials

  • A running Logseq with the local HTTP API server enabled (Settings → Features → HTTP APIs server, then start it from the 🔌 menu). - An authorization token created in the HTTP API server settings.

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.

Configuration

  • A running Logseq with the local HTTP API server enabled (Settings → Features → HTTP APIs server, then start it from the 🔌 menu). - An authorization token created in the HTTP API server settings.
VariableDescriptionRequired
LOGSEQ_API_TOKENCredential the server authenticates with.Yes
LOGSEQ_API_URLEndpoint or connection string the server talks to.Yes
LOGSEQ_MCP_HTTP_TOKENCredential the server authenticates with.Yes
LOGSEQ_MCP_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • “Use Logseq MCP to Authentication.”
  • “Use Logseq MCP to Find.”
  • “Use Logseq MCP to Guide.”

Frequently asked questions

Agents need durable memory, and you already maintain one — your graph. The missing piece is access you can trust: an agent should read broadly and write usefully Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.