Back to Home
joelhooks icon

logseq-mcp-tools

Verified Safe

by joelhooks

Overview

Provides AI assistants structured access to a Logseq knowledge graph for retrieval, summarization, analysis, and modification.

Installation

Run Command
npx tsx index.ts

Environment Variables

  • LOGSEQ_TOKEN
  • LOGSEQ_HOST
  • LOGSEQ_PORT
  • LOGSEQ_API_URL

Security Notes

The server securely handles the Logseq authentication token via environment variables. It primarily interacts with a local Logseq instance, limiting network exposure. Tools that execute DataScript queries (`smartQuery`) use predefined templates to reduce direct injection risks from user input. The main 'risk' is the inherent capability of AI to modify the Logseq graph via tools like `createPage`, `addJournalEntry`, and `addNoteContent`, which requires careful permission management of the AI client itself.

Similar Servers

Stats

Interest Score46
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars55
Forks11
Last Update2025-12-01

Tags

logseqmcpai-assistantknowledge-graphdeveloper-tools