logseq-mcp-tools
34
Logseq MCP Tools is a Model Context Protocol server that enhances AI assistants' capability to interact with your Logseq knowledge graph. It offers a variety of tools for retrieving page data, generating journal summaries, and analyzing graph connections to improve knowledge management.
Logseq MCP Tools
A Model Context Protocol (MCP) server that provides AI assistants with structured access to your Logseq knowledge graph.
Features
- Retrieve a list of all pages
- Get content from specific pages
- Generate journal summaries
- Extract and explore connections between pages
Installation
- Install via Smithery:
npx -y @smithery/cli install @joelhooks/logseq-mcp-tools --client claude
- Clone the repository and install dependencies using npm, yarn, or pnpm
- Copy
.env.template
to.env
and configure your Logseq token
Usage
Running the MCP Server
- Start the server using npm or tsx.
Connecting with Claude
- Install Claude Desktop, set configuration, and chat using Logseq data
Available Tools
- getAllPages, getPage, getJournalSummary, createPage, searchPages, getBacklinks, analyzeGraph, findKnowledgeGaps, analyzeJournalPatterns, smartQuery, suggestConnections
Development
- Built using Model Context Protocol TypeScript SDK and Zod
Troubleshooting
- Ensure Logseq is running with HTTP API enabled
- Verify auth token and file paths
- Install system-wide Node.js if using version managers