Note-Taking · Knowledge Management

LogSeq logo

LogSeq

dailydaniel/logseq-mcp

Turn your Logseq graph into memory and workspace for AI agents. A Model Context Protocol server for Logseq with safety-scoped writes, an audit trail in your daily journal, and verified queries exposed as tools. Built on FastMCP (the high-level API of the official mcp package).

Install

uvx mcp-server-logseq

Client configuration

{
  "mcpServers": {
    "logseq": {
      "command": "uvx",
      "args": [
        "mcp-server-logseq"
      ],
      "env": {
        "LOGSEQ_API_TOKEN": "<LOGSEQ_API_TOKEN>",
        "LOGSEQ_API_URL": "<LOGSEQ_API_URL>"
      }
    }
  }
}

Environment variables

LOGSEQ_API_TOKENLOGSEQ_API_URLLOGSEQ_MCP_HTTP_TOKEN
GitHub stars
17
Category
Note-Taking, Knowledge Management
License
MIT
Updated
Oct 6, 2026

About LogSeq

Targets the file/Markdown ("OG") version of Logseq — and plain-text files are part of why a graph makes good agent memory: git-syncable, greppable, durable, no lock-in. The newer DB (SQLite) version changed the underlying schema; some methods may behave differently there.

Tools (17)

  • search

    full-text search over block content (query, regex?, limit?, case_sensitive?, exclude_journals?).

  • find_tasks

    task blocks by markers?, tag?, under_tag?

  • list_pages

    page names under a namespace prefix?

  • custom_query

    run a named query from the config (name, inputs?).

  • datascript_query

    run a raw Datalog query (query, inputs?, rules?).

  • get_logseq_guide

    returns the authoritative guide for querying/writing this graph (verified Datalog gotchas: lowercase names, prefix descendants, marker and journal-day types,…

  • read_page

    a page as a normalized block tree (page, depth?).

  • read_block

    a block and its children (uuid, depth?).

  • write_note

    create/append/replace a page under agent_write_prefix (subpath, content?, mode?, properties?).

  • set_page_properties

    set/remove page properties (subpath, properties; a null value removes one).

  • edit_block

    replace one block's content (uuid, old_content, new_content).

  • create_task

    create a task block in the agent namespace (title, agent, project?, marker?, priority?, tags?, plan_page?, blocks_on?, on_page?).

  • set_task_status

    change only a task's marker (uuid, status); gated by [tasks].allow_status_change.

  • list_work_projects

    the closed set of projects a note may be filed under (the direct children of [worklog].namespace, minus exclude).

  • list_agents

    the closed set of names a note may be signed with, as <runtime>/<name>: the pages exactly two levels below the agent registry [worklog].agent_namespace…

  • add_journal_note

    append HH:MM #<agent> <text> to today's journal under a project (text, work, agent, task?), nested under a ((ref)) when a task is given.

  • get_worklog_setup_template

    the worklog section for an agent's instructions file (CLAUDE.md, AGENTS.md): which task to log under, when to move its status, what an entry looks like.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Notion MCP Server (Official) logo

Notion MCP Server (Official)

makenotion/notion-mcp-server

1.5k

For the best experience, use Remote Notion MCP, our official hosted MCP server. This repository is a separate, self-hosted MCP server implementation that is no longer actively maintained or supported. Please use Remote Notion MCP instead.

Note-Taking
MCP Obsidian logo

MCP Obsidian

MarkusPfundstein/mcp-obsidian

750

MCP server to interact with Obsidian via the Local REST API community plugin.

Note-Taking
MCP Notion Server logo

MCP Notion Server

suekou/mcp-notion-server

671

This server targets the Notion API 2026-03-11 and uses the current database/data source model. It exposes MCP tools, prompts, resources, structured tool results, and optional MCP Apps for interactive Notion workflows.

Note-Taking
Obsidian MCP logo

Obsidian MCP

StevenStavrakis/obsidian-mcp

261

A local Model Context Protocol server that lets MCP-compatible assistants safely read and modify explicitly configured Obsidian vaults.

Note-Taking
MCP Apple Notes logo

MCP Apple Notes

RafalWilinski/mcp-apple-notes

187

A Model Context Protocol (MCP) server that enables semantic search and RAG (Retrieval Augmented Generation) over your Apple Notes. This allows AI assistants like Claude to search and reference your Apple Notes during conversations.

Note-Taking
notion_mcp logo

notion_mcp

danhilse/notion_mcp

171

A simple Model Context Protocol (MCP) server that integrates with Notion's API to manage my personal todo list through Claude. This is a basic implementation tailored specifically for my minimalist todo list setup in Notion.

Note-Taking