mcp-pkm-logseq

ruliana/mcp-pkm-logseq

3.3

If you are the rightful owner of mcp-pkm-logseq and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A MCP server for interacting with your Logseq Personal Knowledge Management system using custom instructions.

The mcp-pkm-logseq MCP server is designed to facilitate interaction with the Logseq Personal Knowledge Management (PKM) system. It allows users to execute custom instructions to manage and retrieve information from their Logseq database. The server provides a structured way to access personal notes, to-do lists, and other data stored in Logseq, using a set of predefined tools and resources. It is particularly useful for users who want to automate their knowledge management processes or integrate Logseq with other applications. The server requires configuration of environment variables for authentication and connection to the Logseq HTTP API, which must be enabled in the Logseq application. The server can be integrated with various platforms, including Claude Desktop and Claude Code, and supports development and debugging through tools like the MCP Inspector.

Features

  • Custom instructions for interacting with Logseq
  • Retrieval of personal notes and to-do lists
  • Integration with Logseq's HTTP API
  • Support for various platforms including Claude Desktop
  • Development and debugging tools available

Usages

claude desktop and cursor

"mcpServers": {
  "mcp-pkm-logseq": {
    "command": "uvx",
    "args": [
      "mcp-pkm-logseq"
    ],
    "env": {
      "LOGSEQ_API_TOKEN": "your-logseq-api-token",
      "LOGSEQ_URL": "http://localhost:12315"
    }
  }
}

claude code

bash
claude mcp add mcp-pkm-logseq uvx mcp-pkm-logseq

development servers configuration claude desktop

"mcpServers": {
  "mcp-pkm-logseq": {
    "command": "uv",
    "args": [
      "--directory",
      "/<parent-directories>/mcp-pkm-logseq",
      "run",
      "mcp-pkm-logseq"
    ],
    "env": {
      "LOGSEQ_API_TOKEN": "your-logseq-api-token",
      "LOGSEQ_URL": "http://localhost:12315"
    }
  }
}

Tools

  1. get_personal_notes_instructions

    Get instructions on how to use the personal notes tool

  2. get_personal_notes

    Retrieve personal notes from Logseq that are tagged with the specified topics

  3. get_todo_list

    Retrieve the todo list from Logseq