Logseq MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOGSEQ_API_URL | No | URL of your Logseq instance | http://127.0.0.1:12315 |
| LOGSEQ_API_TOKEN | Yes | Your Logseq API token generated from Logseq: API → Authorization tokens |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| logseq_insert_blockA | Insert a new block into Logseq. Can create: - Page-level blocks (use is_page_block=true with page name as parent_block) - Nested blocks under existing blocks - Blocks with custom UUIDs for precise reference Supports before/after positioning and property management. |
| logseq_create_pageB | Create a new page in Logseq with optional properties. Features: - Journal page creation with date formatting - Custom page properties (tags, status, etc.) - Format selection (Markdown/Org-mode) - Automatic first block creation Perfect for template-based page creation and knowledge management. |
| logseq_get_current_pageB | Retrieves the currently active page or block in the user's workspace |
| logseq_get_pageC | Retrieve detailed information about a specific page including metadata and content |
| logseq_get_all_pagesC | List all pages in the graph with basic metadata |
| logseq_edit_blockC | Enter editing mode for a specific block |
| logseq_exit_editing_modeC | Exit current editing mode |
| logseq_get_current_page_contentB | Get hierarchical block structure of current page |
| logseq_get_editing_block_contentB | Get content of currently edited block |
| logseq_get_page_contentC | Get block hierarchy for specific page |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| logseq_insert_block | Create a new block in Logseq |
| logseq_create_page | Create a new Logseq page |
| logseq_get_current_page | Get the currently active page or block |
| logseq_get_page | Retrieve information about a specific page |
| logseq_get_all_pages | List all pages in the graph |
| logseq_edit_block | Edit specific block content |
| logseq_exit_editing_mode | Exit block editing mode |
| logseq_get_current_page_content | Get current page's content by each block |
| logseq_get_editing_block_content | Get content of active editing block |
| logseq_get_page_content | Get block page content by each block |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
The tools have clear distinct purposes for core operations like creating pages, editing blocks, and retrieving content, but there is notable overlap between retrieval tools. Specifically, logseq_get_page and logseq_get_page_content both retrieve page details, and logseq_get_current_page_content and logseq_get_editing_block_content focus on current workspace content, which could cause confusion in selection. Descriptions help differentiate, but the boundaries are not perfectly distinct.
All tool names follow a consistent snake_case pattern with a 'logseq_' prefix, using clear verb_noun combinations such as create_page, edit_block, and get_all_pages. This uniformity makes the tools predictable and easy to parse, with no deviations in style or structure across the set.
With 10 tools, the count is well-scoped for a Logseq server, covering essential operations like page creation, editing, and content retrieval. Each tool serves a specific function without redundancy, fitting within the typical 3-15 range for such a domain, and no tools feel unnecessary or missing for basic interactions.
The tool set provides good coverage for core Logseq workflows, including CRUD-like operations for pages and blocks (create, get, edit, insert). However, there are minor gaps, such as no explicit tools for deleting pages or blocks, updating block content beyond editing mode, or managing properties post-creation, which agents might need to work around using existing tools.