Cover image
Try Now
2024-12-21

MCP server to interact with LogSeq via its Local HTTP API - enabling AI assistants like Claude to seamlessly read, write, and manage your LogSeq graph.

3 years

Works with Finder

2

Github Watches

7

Github Forks

48

Github Stars

MCP server for LogSeq

MCP server to interact with LogSeq via its API.

Components

Tools

The server implements multiple tools to interact with LogSeq:

  • list_graphs: Lists all available graphs
  • list_pages: Lists all pages in the current graph
  • get_page_content: Return the content of a single page
  • search: Search for content across all pages
  • create_page: Create a new page
  • update_page: Update content of an existing page
  • delete_page: Delete a page

Example prompts

It's good to first instruct Claude to use LogSeq. Then it will always call the tool.

Example prompts:

  • Get the contents of my latest meeting notes and summarize them
  • Search for all pages where Project X is mentioned and explain the context
  • Create a new page with today's meeting notes
  • Update the project status page with the latest updates

Configuration

LogSeq API Configuration

You can configure the environment with LogSeq API settings in two ways:

  1. Add to server config (preferred)
{
  "mcp-logseq": {
    "command": "uvx",
    "args": [
      "mcp-logseq"
    ],
    "env": {
      "LOGSEQ_API_TOKEN": "<your_api_token_here>",
      "LOGSEQ_API_URL": "http://localhost:12315"
    }
  }
}
  1. Create a .env file in the working directory with the required variables:
LOGSEQ_API_TOKEN=your_token_here
LOGSEQ_API_URL=http://localhost:12315

Development

Building

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with:

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-logseq run mcp-logseq

相关推荐

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • 1Panel-dev
  • 💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • Dhravya
  • Collection of apple-native tools for the model context protocol.

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • adafruit
  • Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.

    Reviews

    2 (1)
    Avatar
    user_05rf24vJ
    2025-04-18

    As an avid user of the mcp ecosystem, I highly recommend checking out the mcp-logseq-server. Developed by ergut, this tool seamlessly integrates Logseq with server capabilities, enhancing productivity and collaboration. Built with robust features and user-friendly interface, it's a game changer for managing notes and projects. For more details, visit the provided GitHub link.