mcp-logseq

Let Claude read and manage your Logseq notes.

Local

Install

See the repository for setup

What it does

This MCP server connects an MCP-capable assistant to a running Logseq instance so the assistant can browse and edit graph content through Logseq's HTTP API. It is aimed at people who keep notes in Logseq and want an assistant to work with those notes directly rather than through exported files.

Setup requires Logseq with the HTTP APIs server enabled and an API token generated. The server runs locally through uv and is configured with LOGSEQ_API_TOKEN and an optional LOGSEQ_API_URL, which defaults to localhost:12315. Documented clients are Claude Code, Claude Desktop, Codex CLI and OpenCode; the adapter is reached over STDIO and itself talks to Logseq's HTTP API, and the URL should be given without an /mcp suffix.

Tools cover listing and reading pages, creating, updating, renaming and deleting pages, block-level reads and edits, search, Logseq DSL queries (not raw datalog), property lookups, namespaces and backlinks, plus markdown-to-block parsing. Optional semantic vector search adds three tools when configured with Ollama or an OpenAI-compatible embeddings endpoint; LanceDB stays local, though hosted providers receive note text.

Limitations: Logseq and its API server must stay running, and DB-mode class property support is opt-in for beta DB graphs. Inclusion, exclusion and write namespace settings restrict what is reachable.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
352
Last push
Sep 27, 2026
License
MIT
Archived
No

Other Ollama MCP servers

Compare servers

FAQ

What license does mcp-logseq use?
MIT
Does mcp-logseq run locally or remotely?
It runs locally.
Is mcp-logseq an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/mcp-logseq"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options