Model Context Protocol server for Logseq-format markdown knowledge graphs
Markdown Graph MCP has well-structured tool definitions with complete input schemas and descriptions for all 11 tools. Naming follows verb_noun conventions (list_, capture_, get_, read_, write_, delete_, search_, set_). Descriptions are detailed and contextual (avg ~180 chars), explaining WHAT each tool does and WHEN to use it. However, output schemas are entirely undocumented, LLMs cannot predict response structure. Parameter descriptions are thorough but lack formal constraints (enums, ranges, patterns). Error handling guidance is minimal. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. Security considerations (read-only graph checks) are mentioned in descriptions but not enforced via schema. Overall solid foundation with notable gaps in output documentation and formal validation.
Append one or more bullets to a Logseq journal page. Creates the journal file if it doesn't exist. Safe to use while Logseq is open — appends without reading the full file. All captured content is grouped under a single top-level MCP tracking tag block (default: #🦾). Use Logseq task keywords (TODO, DONE, LATER, NOW, DOING) for task items, not Markdown checkboxes. Blocked if the graph is configured read-only.
Soft-delete a Logseq page: moves it to a `.trash/` directory inside the graph rather than permanently removing it, so migrations and cleanups have a built-in undo path. Trashed pages are automatically excluded from every other tool's searches and listings. Blocked if the graph is configured read-only.
Read a Logseq journal page. Returns the full content.
List all configured Logseq graphs with their filesystem paths.
List page titles in a Logseq graph, optionally filtered by namespace prefix.
List the N most recent journal entries with a short preview of each.
Output schemas completely undocumented. LLMs cannot predict response structure, field names, or types for any tool. Forces agents to guess at downstream field mappings.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels documented in descriptions. write_page, delete_page, capture_to_journal, set_property are destructive but lack schema hints.
Parameters lack formal constraints. 'mode' in write_page accepts free-form strings instead of enum ['overwrite', 'create']. 'date' parameters lack ISO 8601 format declaration. 'n' in list_recent_journals has no min/max bounds.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2026-07-28+ | v2 |
Read a Logseq page by title. Use '/' for namespaced pages, e.g. 'AI/Claude' or 'Job Search 2026/Opportunities/Acme'.
Full-text keyword search across all Logseq pages and journal entries. Searches page titles and content body. Omit 'graph' to search all configured graphs at once. Returns matching files with surrounding context lines.
Search Logseq pages by page-level properties. AND logic across filters. Returns a table of matching pages with requested properties. Use 'name' in return_props for the page title, 'file' for the full path.
Set or update a single property on a Logseq page. Adds the property if missing; replaces the value if it already exists. Property is inserted before the first bullet, or appended to the properties block. Blocked if the graph is configured read-only.
Write a Logseq page. Creates the page if it doesn't exist. mode='overwrite' (default) replaces the full content of an existing page — WARNING: destructive. mode='create' fails instead of overwriting if the page already exists, to avoid clobbering content by mistake. Blocked if the graph is configured read-only.
No error handling guidance. Descriptions mention 'Blocked if read-only' but do not specify what error the LLM should expect or how to recover. No recovery hints for common failures (file not found, permission denied, invalid date format).
search_pages filter syntax ('key=value' strings) is underdocumented. No examples of valid filter formats, no guidance on case sensitivity, no explanation of how [[PageRef]] normalization works in practice.