getAllPages
Retrieves a list of all pages in your Logseq graph.
How to use it
getAllPages is exposed by the Logseq MCP Tools MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the getAllPages tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Logseq MCP Tools
npx -y @smithery/cli install @joelhooks/logseq-mcp-tools --client claudeOther tools in Logseq MCP Tools (26)
(Optional) Use advanced analysis features
Performs a comprehensive analysis of your knowledge graph.
Analyzes patterns in your journal entries over time.
(Optional) Initial content for the page
Creates a new page in your Logseq graph.
Natural language date range like "today", "this week", "last month", "this year", etc.
(Optional) Number of days to look back for "recent" content (default: 30)
Analyzes your knowledge graph to identify potential gaps and areas for improvement.
(Optional) Topic or area to focus suggestions around
Finds all pages that reference a specific page.
Generates a summary of journal entries for a specified date range.
Gets the content of a specific page.
(Optional) Analyze mood patterns if present (default: true)
(Optional) Include orphaned pages in analysis (default: true)
(Optional) Include the generated Datalog query in results
(Optional) Analyze topic patterns (default: true)
(Optional) Maximum number of suggestions to return (default: 10)
(Optional) Minimum confidence score for suggestions (0-1, default: 0.6)
(Optional) Minimum references to consider (default: 3)
The name of the page to retrieve
Search query to filter pages by name
Natural language description of what you want to find
Searches for pages by name.
Executes natural language queries using Logseq's DataScript capabilities.
Uses AI to analyze your graph and suggest interesting connections.
(Optional) Time period to analyze (e.g., "last 30 days", "this year")